1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-23 14:55:14 +03:00
Commit graph

9 commits

Author SHA1 Message Date
Henrik Grimler
3663100868
device-raspberry-pi5: set getty (MR 6536)
We can get to a serial shell without setting the getty in the UIs (for
some reason), but when using console=none we need it to be explicitly
set.

[ci:skip-build]: already built successfully in CI

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6536
2025-05-21 21:34:14 +02:00
Henrik Grimler
29b28552a0
device-raspberry-pi5: add more modules to initfs to fix fde (MR 6536)
From my testing the different modules are roughly needed due to:

* Without the aes stuff unlock fails with
  trusted_key: encrypted_key: failed to alloc_cipher (-2)

* Without i2c_brcmstb hdmi fails to come up due to
  missing dependencies:
  platform axi:gpu: deferred probe pending: (reason unknown)

* The sound stuff also seems to be a dependency of the drm hdmi driver

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6536
2025-05-21 21:34:11 +02:00
Henrik Grimler
2fafb5aaf6
device-raspberry-pi5: drop modules from cmdline (MR 6536)
We are already passing a list of modules through the modules-initfs
file.  By dropping modules from cmdline we silence this dmesg warning:

[    0.000000] Unknown kernel command line parameters "modules=loop,squashfs,sd-mod,usb-storage", will be passed to user space.

Out of the listed modules, only squashfs is actually built as a module
by linux-rpi, so most of them do not make sense in any case.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6536
2025-05-21 21:34:08 +02:00
ell1e
22d18cc39b
device-raspberry-pi5: Fix firmware not finding the boot partitions
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6513
2025-05-15 19:52:16 +02:00
Henrik Grimler
d5ba79031a
device-raspberry-pi5: disable dhcpd
Otherwise the ip address 172.42.16.1 is assigned to eth0, preventing
the rpi to get internet access automatically.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6504
[ci:skip-build]: already built successfully in CI
2025-05-14 17:34:06 +02:00
Henrik Grimler
d460ed9b72
device-raspberry-pi5: use ttyAMA10 for second console
When I test the build the serial console is attached to ttyAMA10, not
ttyAMA0:

  107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 16, base_baud = 0) is a PL011 rev3

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6504
2025-05-14 17:34:06 +02:00
Henrik Grimler
ccaf9c9d20
device-raspberry-pi5: remove quiet from cmdline
This enable kernel logs over hdmi and serial, and hence simplifies
debugging.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6504
2025-05-14 17:34:06 +02:00
Clayton Craft
469374de6d
device/*: explicitly depend on openrc if install scripts call rc-update
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476
2025-05-06 10:48:44 +02:00
winbo-yml-exe
776e3a0fff
raspberry-pi5: Initial port (MR 6006) 2025-01-14 18:01:39 -08:00