Commit graph

11 commits

Author SHA1 Message Date
Henrik Grimler
51bf16cf8a
device-raspberry-pi5: use new var deviceinfo_generate_cmdline_txt
It lets us move the variables in cmdline.txt to
deviceinfo_kernel_cmdline. We can thereafter drop the cmdline.txt file
entirely.

By setting deviceinfo_generate_cmdline_txt we tell boot-deploy to
generate /boot/cmdline.txt from deviceinfo_kernel_cmdline. boot-deploy
can then also add information about partition UUIDs to the cmdline,
which helps postmarketos-initramfs find the correct partitions.

Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3716

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6630
[ci:skip-build]: already built successfully in CI
2025-07-02 21:08:35 +02:00
Henrik Grimler
9550de18ec
device-*: drop deprecated deviceinfo_mesa_driver var
It was used by osk-sdl, which has now been dropped.  See
https://wiki.postmarketos.org/wiki/Deviceinfo_reference#Obsolete_options.

[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6635
[ci:skip-build]: already built successfully in CI
2025-06-11 22:55:02 +02:00
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