diff --git a/raspi_master.yaml b/raspi_master.yaml index 5289525..1efb206 100644 --- a/raspi_master.yaml +++ b/raspi_master.yaml @@ -121,6 +121,9 @@ steps: ln -s /etc/systemd/system/rpi-generate-ssh-host-keys.service "${ROOT?}/etc/systemd/system/multi-user.target.requires/rpi-generate-ssh-host-keys.service" rm -f "${ROOT?}"/etc/ssh/ssh_host_*_key* + # CM4 support: DTB & patched raspi-firmware + cp rootfs/root/* "${ROOT?}/root" + __EXTRA_SHELL_CMDS__ root-fs: / @@ -129,6 +132,12 @@ steps: shell: | install -m 644 -o root -g root __DTB__ /boot/firmware/ + # CM4 support: deploy DTB, and install patched raspi-firmware + - chroot: / + shell: | + install -m 644 -o root -g root /root/bcm2711-rpi-cm4-io.dtb /boot/firmware + dpkg -i /root/raspi-firmware_1.20210805+ds-2_arm64.deb + # Clean up archive cache (likely not useful) and lists (likely outdated) to # reduce image size by several hundred megabytes. - chroot: /