mirror of
https://github.com/agherzan/meta-raspberrypi.git
synced 2025-12-06 06:19:11 +00:00
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>
This commit is contained in:
committed by
Andrei Gherzan
parent
fc17cd7419
commit
04a33eadfb
@@ -83,7 +83,9 @@ def make_dtb_boot_files(d):
|
||||
|
||||
IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* \
|
||||
${@make_dtb_boot_files(d)} \
|
||||
${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE} \
|
||||
${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', '${KERNEL_IMAGETYPE}', '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \
|
||||
${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', 'u-boot.bin;${SDIMG_KERNELIMAGE}', '', d)} \
|
||||
${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', 'boot.scr;boot.scr', '', d)} \
|
||||
"
|
||||
|
||||
# The kernel image is installed into the FAT32 boot partition and does not need
|
||||
|
||||
Reference in New Issue
Block a user