caabf1421b
bt/wifi: switch back to sane.fs; fix so WiFi creds are available before NetworkManager starts
2024-10-01 11:21:45 +00:00
30fd53803f
derived-secrets: remove
2024-09-28 14:25:40 +00:00
9bd80447f6
wg-home: port away from derived-secrets
...
and now i can kill derived secrets?
2024-09-28 14:25:40 +00:00
d7c26b736c
remove all users of sane.fs.*.generated (except derived-secrets, that comes later)
...
this will allow me to reduce the scope of sane.fs, and then optimize it to not create a systemd service per each entry
2024-09-28 14:25:40 +00:00
09cd3ec2a5
refactor: hosts/modules/roles/dev-machine: fewer file-level inherits
2024-09-28 09:53:59 +00:00
911e03fcb4
refactor: hosts/modules: fewer file-level inherits
2024-09-28 09:51:17 +00:00
a1c2078166
refactor: hosts/modules/roles: fewer file-level inherits
2024-09-28 09:48:32 +00:00
06629a5921
refactor: roles/client: remove unused module args
2024-09-28 09:46:41 +00:00
d74164c455
moby: seal the initrd modules to just whats needed
2024-09-27 13:49:08 +00:00
4482414839
moby: remove unneeded goodix_ts from initrd
2024-09-27 13:42:06 +00:00
d70415d5fe
moby: remove unneeded gpu_sched from initrd
2024-09-27 13:35:36 +00:00
8ebd612ec6
moby: remove unneeded dw_wdt from initrd
2024-09-27 13:28:06 +00:00
ebb57de4fa
moby: remove unneeded rockchip_dfi from initrd
2024-09-27 13:12:31 +00:00
ccb90463f7
moby: remove unneeded rockchip_thermal from initrd
2024-09-27 13:08:51 +00:00
34153465d4
moby: remove unneeded rockchip_saradc from initrd
2024-09-27 13:02:22 +00:00
28aa84f719
moby: remove unneeded pwm_rockchip from initrd
2024-09-27 12:55:59 +00:00
3b49ec9087
moby: remove fusb302 module from initrd
...
it's not needed for early graphics
2024-09-27 12:50:50 +00:00
f71a28ea89
moby: remove some more modules from the initrd
...
i still get early graphics
2024-09-27 12:45:29 +00:00
86f8f874ac
moby: try to fix the battery devicetree overlay, but i still dont see any /sys fs node for it...
2024-09-27 12:30:49 +00:00
4c3a843b05
moby: remove a few more modules from initrd
...
still get initrd graphics, yay
2024-09-27 12:30:49 +00:00
cdce083050
moby: remove some more modules from the initrd
...
it still boots, to graphics and net, though i didn't test the serial out
2024-09-27 12:12:48 +00:00
557f8f343d
moby: remove some more kernel modules from the initrd
...
i still get early display, and serial output
2024-09-27 11:56:45 +00:00
ef9016c1de
moby: fix the lradc threshold so that volume-down actually triggers
2024-09-27 11:48:12 +00:00
518180fd61
moby: remove a bunch of kernel modules from the initrd
2024-09-27 10:45:15 +00:00
0ee20fb3ad
moby: define a DeviceTree Overlay for the battery
...
it compiles, and /sys/firmware/fdt shows that it was merged, but this seems not enough to actually get a battery readout
2024-09-27 10:44:57 +00:00
9558cbd6b2
moby: reduce the initrd module closure
...
i can probably reduce *much* further; it's nice to keep graphics in the initrd though, which i don't think i had when using just the pmOS modules
2024-09-27 09:15:15 +00:00
dcbce37ded
refactor: hal: place pine64-pinephone-pro into own subdirectory
2024-09-27 08:50:47 +00:00
7b638b5ab8
moby: don't ship a massive initrd; measure the modules i load at boot and ship only those.
...
the massive initrd proved to have problems with e.g. wireless driver failing to load its firmware
2024-09-27 06:18:37 +00:00
e93680c336
WIP: moby: include module blacklists in the initrd
...
i don't know if this fixes things; i was seeing net connectivity issues where the broadcom wlan fails to probe
2024-09-27 03:26:14 +00:00
0546384ccd
moby: ship kernel modules not as builtins but actually as modules, and place *all* of them in the initrd
...
somehow this actually works. even on stock u-boot: the kernel is 30-something MiB, the compressed initrd about 110 MiB decompressed to 250MiB
2024-09-26 10:01:25 +00:00
3b573b8653
moby: remove most kernel config overrides
...
PPP still boots -- but only using my patched u-boot.
stock u-boot will fail to load it, because its slightly greater than
the limit of 63.5 MiB.
2024-09-26 07:40:49 +00:00
0a7606231d
WIP: moby: hack an impure kernel for faster dev cycles
2024-09-26 02:39:21 +00:00
af66e6e6c6
moby: enable nixpkgs kernel options
...
it requires a lot of additional options before it actually boots: not
sure which ones here are critical.
2024-09-25 13:31:22 +00:00
17d96a8ca1
moby: ship a mainline kernel for the pinephone pro
...
not perfect, but it does boot
2024-09-23 04:30:03 +00:00
2379068b85
hal: add pine64-pinephone-pro hardware support
2024-09-23 04:30:03 +00:00
ff9a86041b
hal: split aarch64 cross fixes into own file
2024-09-23 04:30:03 +00:00
b53581eef3
refactor: hal: rename pine64 -> pine64-pinephone
...
it turns out i'll likely need a pinephonepro HAL as well
2024-09-23 02:06:33 +00:00
2e78e9aa0c
rsync-net: remove unused sanebox
dependency
2024-09-21 23:41:21 +00:00
717af4e5ff
moby: clean up kernel config
2024-09-19 08:26:45 +00:00
3c660df817
moby: ship axp20x_adc as a kernel module, in initrd, instead of as a builtin
...
works: display
works: rear camera (megapixels-next)
works: torch / LED
works: speaker
works: headphones
untested: battery/charging
2024-09-19 08:26:45 +00:00
7b72046bee
moby: don't blacklist mainline gc2145
...
this doesn't enable the front camera in any app, but it doesn't break anything either
2024-09-19 08:26:45 +00:00
2c932ed926
moby: stop overriding the armbian kernel
...
that'll be useful as a form of documentation in the future, but for now it's just hassle
2024-09-16 21:23:39 +00:00
4560bb9dda
WIP: moby: also blacklist gc2145, for flexibility in running mainline kernel
...
i think mainline camera *still* doesn't work though, even with this
2024-09-16 21:22:37 +00:00
e23429eebe
moby: build w/o full config -- just pmos + nixpkgs
...
this *should* make iteration (of reducing kernel patches) a little quicker
this is the eventual goal, though in the meantime it may be quicker iteration to build with *only* pmos config and no full config
2024-09-16 08:21:17 +00:00
c8543e9326
moby: blacklist fewer camera-adjacent kernel modules
2024-09-16 02:42:08 +00:00
4fda2e67a2
crappy: bypass efibootmgr cross compilation error
2024-09-14 22:36:37 +00:00
54dfb04b81
moby: kernel: enable full config
...
camera works so long as i blacklist some new modules
2024-09-14 21:18:11 +00:00
a773513189
pkgsCCache: init (if only to prevent me from wasting time with ccache again: its really not that great)
2024-09-14 21:18:11 +00:00
8b3e413cae
moby: dont patch CMA at all; just accept the defaults
...
it seems like things don't actually need this
2024-09-13 07:19:17 +00:00
441269fb2f
moby: enable modem-power
2024-09-13 00:04:15 +00:00