summaryrefslogtreecommitdiffstats
path: root/classes/sota_raspberrypi.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/sota_raspberrypi.bbclass')
-rw-r--r--classes/sota_raspberrypi.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/sota_raspberrypi.bbclass b/classes/sota_raspberrypi.bbclass
index 744ba22..3935ba8 100644
--- a/classes/sota_raspberrypi.bbclass
+++ b/classes/sota_raspberrypi.bbclass
@@ -39,11 +39,12 @@ def make_dtb_boot_files(d):
39 39
40 return ' '.join([transform(dtb) for dtb in alldtbs.split(' ') if dtb]) 40 return ' '.join([transform(dtb) for dtb in alldtbs.split(' ') if dtb])
41 41
42IMAGE_BOOT_FILES_sota = "bcm2835-bootfiles/* \ 42IMAGE_BOOT_FILES_sota = "${BOOTFILES_DIR_NAME}/* \
43 u-boot.bin;${SDIMG_KERNELIMAGE} \ 43 u-boot.bin;${SDIMG_KERNELIMAGE} \
44 " 44 "
45 45
46# OSTree puts its own boot.scr to bcm2835-bootfiles 46# OSTree puts its own boot.scr in ${BOOTFILES_DIR_NAME} (historically
47# bcm2835-bootfiles, now just bootfiles).
47# rpi4 and recent rpi3 firmwares needs dtb in /boot partition 48# rpi4 and recent rpi3 firmwares needs dtb in /boot partition
48# so that they can be read by the firmware 49# so that they can be read by the firmware
49IMAGE_BOOT_FILES_append_sota = "${@make_dtb_boot_files(d)}" 50IMAGE_BOOT_FILES_append_sota = "${@make_dtb_boot_files(d)}"