Commit Graph

9091 Commits

Author SHA1 Message Date
3bbec161bf servo: fix clightning service 2024-09-27 15:50:53 +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
faa5742ca3 linux-sane-pinephonepro: remove DRM-related overrides, not necessary for boot/graphics 2024-09-27 11:32:13 +00:00
2f49f0a2cf dtc: fix sandboxing 2024-09-27 10:46:36 +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
d4a9df38b7 WIP: moby: slim down the kernel config so that it fits within the 63.5 MiB u-boot limit 2024-09-27 08:47:01 +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
06b53fbb87 moby: bump bootloader config limit from 8 -> 10 2024-09-27 03:37:47 +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
60c2914c09 linux-megous: expose all the patches as one series 2024-09-26 11:03:03 +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
9aebaba1d6 moby: kernel: optimize for size
u-boot has a 63.5 MiB limitation on the kernel size, it seems, and that's probably all or most of the issues i was hitting with kernel config
2024-09-26 06:53:45 +00:00
4c554e54c7 u-boot-pinephone-pro: tune UART & memory addresses 2024-09-26 05:54:14 +00:00
0a7606231d WIP: moby: hack an impure kernel for faster dev cycles 2024-09-26 02:39:21 +00:00
afe949be05 moby: drop CMA_SIZE_MBYTES kernel override
now that i'm building a size-optimized image, this WORKS
2024-09-26 01:43:24 +00:00
20265a899b moby: optimize kernels for size
this is REQUIRED for future kernel changes i plan: u-boot has limitations on the kernel size it can load
2024-09-26 01:42:35 +00:00
3de9465de9 moby: drop AUXDISPLAY & related kernel overrides
PPP still boots
2024-09-25 16:55:04 +00:00
94f09de863 moby: kernel: remove config options which are already defaults
that is, this should not trigger any rebuilds
2024-09-25 16:55:04 +00:00
8d3877bbb9 moby: kernel: clarify that at least one of the NO_HZ_IDLE-related kernel configs is required for boot
does not boot when these are removed
2024-09-25 16:55:04 +00:00
74a5b8f963 moby: disable NR_CPUS & related kernel overrides
PPP still boots.
2024-09-25 16:55:04 +00:00
9641676da2 moby: try (but fail) to drop some kernel configs
this re-applies the following commits from before autoModules=true, but commented out:
- 9ad0b8f45a127572970d3decf3f0532df3fba021
- de98898c2ebb30c189063626241f19aa792da9d8
2024-09-25 16:55:04 +00:00
585ad13c68 moby: try (and fail) to drop some more kernel configs
this re-applies the following commits from before autoModules=true, commented out:
- 217adc2b47e5de74726c6e3055f1b4421de071fa
- 6b84e9959458948bc33284e64aa0453a2ae949ca
2024-09-25 16:55:04 +00:00
25b9644f4e moby: try (and fail) to reduce kernel config
this reapplies the following commits from before `autoModules=true`, but commented out:
- fa0508521995f4510ee4e08f9d1eb086eb64f707
- 513c4b1aa0e2800ea1d867ec158510bb56fac794
2024-09-25 16:55:04 +00:00
19d15eef8d moby: try (but fail) to remove a few kernel configs, mark them required instead
this is a re-application of the following commits, but against the
autoModules + no-pmos kernel:

- ee4068718bf72e8072d81697eba07cdd9008cc82
- 95be7fc4cb4ca38b2396428999d531c508f2bb95
- 278b6ec804cec470d82ef288f5783f7a0afa748d
- 2737688cae5a735099ab4fc7f77a1cb8f841beef
2024-09-25 16:55:04 +00:00
27358915e9 moby: try (but fail) to disable some kernel configs
this is a re-application of the following commits, but against the
autoModules + no-pmos kernel:

- 387d9df23b1fc7649f2c85182c41c800a0d15313
- 4d42ca2a2b77d677c12800e963d6378499ba9c68
2024-09-25 16:55:04 +00:00
97bce7e39b moby: kernel: drop pmos config
PPP still boots
2024-09-25 16:55:04 +00:00
2e3e950b29 moby: deploy kernel with autoModules = true
this requires re-introducing some kernel config overrides i was using earlier.
hopefully they can be reduced effectively, again.
2024-09-25 16:55:04 +00:00
63c2d83fb0 u-boot-pinephone-pro: add instructions for how to install to SD card 2024-09-25 16:53:33 +00:00
6d0a2d63fc users: make the service manager partly configurable 2024-09-25 15:39:57 +00:00
a2e709b940 u-boot-pinephone-pro: init 2024-09-25 14:54:21 +00:00
264297af7a linux-megous: import all commits relative to 6.11.0
this includes some massive stuff for e.g. the WiFi driver. if the size of that patch causes anyone issues let me know and i'll delete it / work around it
2024-09-25 13:31:22 +00:00
872d662716 linux-megous: orange-pi-6.9-20240721-2345 -> orange-pi-6.11-20240915-2344
this builds, but i did not deploy
2024-09-25 13:31:22 +00:00