summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Galbusera <gizero@gmail.com>2017-06-29 15:56:12 +0200
committerAndrei Gherzan <andrei@gherzan.com>2017-10-20 15:53:35 +0100
commit9bb89a75c0b1b115392920c4ff217161ab19cd53 (patch)
tree5f7666221c190a316381da2aa7a63b27f9ea97d8
parent015999bc02b52eb46715634fe59551acd90fea45 (diff)
downloadmeta-raspberrypi-9bb89a75c0b1b115392920c4ff217161ab19cd53.tar.gz
rpi-base: wic: generate entries for u-boot
This commit allow wic generated images to work when we want u-boot to load the kernel image. Augment IMAGE_BOOT_FILES with the proper entries when KERNEL_IMAGETYPE is "uImage". More specifically add u-boot image and boot.scr to deployed files and give the proper name to the kernel image accordingly. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
-rw-r--r--conf/machine/include/rpi-base.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index 4a0ea2a..71bb071 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -83,7 +83,9 @@ def make_dtb_boot_files(d):
83 83
84IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* \ 84IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* \
85 ${@make_dtb_boot_files(d)} \ 85 ${@make_dtb_boot_files(d)} \
86 ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE} \ 86 ${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', '${KERNEL_IMAGETYPE}', '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \
87 ${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', 'u-boot.bin;${SDIMG_KERNELIMAGE}', '', d)} \
88 ${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', 'boot.scr;boot.scr', '', d)} \
87 " 89 "
88 90
89# The kernel image is installed into the FAT32 boot partition and does not need 91# The kernel image is installed into the FAT32 boot partition and does not need