From e99d9bb6788424ec7711d187985bb93b8b5c1175 Mon Sep 17 00:00:00 2001 From: unitexe Date: Sat, 10 Jan 2026 23:33:48 -0600 Subject: Introduce meta-raspberrypi-extra - Install copies of cmdline, config & uboot script to rootfs; they are normally just installed to the boot partitioin but having a copy on the rootfs makes making changes and updating them easier - The rpi-eeprom package does not support raspberrypi3-64, it has not EEPROM --- .../recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr-rootfs.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-raspberrypi-extra/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr-rootfs.bb (limited to 'meta-raspberrypi-extra/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr-rootfs.bb') diff --git a/meta-raspberrypi-extra/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr-rootfs.bb b/meta-raspberrypi-extra/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr-rootfs.bb new file mode 100644 index 0000000..60b6f37 --- /dev/null +++ b/meta-raspberrypi-extra/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr-rootfs.bb @@ -0,0 +1,16 @@ +SUMMARY = "Install a copy of rpi u-boot boot script to rootfs" +LICENSE = "MIT" + +DEPENDS = "rpi-u-boot-scr" + +inherit allarch + +do_install() { + install -d ${D}${sysconfdir}/rpi + install -m 0644 ${DEPLOY_DIR_IMAGE}/boot.scr ${D}${sysconfdir}/rpi/boot.scr +} + +FILES:${PN} = "${sysconfdir}/rpi/boot.scr" + +# Ensure rpi-u-boot-scr's do_deploy runs before rootfs installation +do_install[depends] += "rpi-u-boot-scr:do_deploy" -- cgit v1.2.3