Skip to content

Commit

Permalink
conf/layer: Specify boot partition files
Browse files Browse the repository at this point in the history
and other boot related packages, so that they
are available to the meta-balena-bsp recipes too.

Signed-off-by: Alexandru Costache <alexandru@balena.io>
  • Loading branch information
acostach committed Mar 25, 2021
1 parent f0a8508 commit 5fbdefb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions layers/meta-balena-raspberrypi/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ BBFILE_PRIORITY_balena-raspberrypi = "1337"

LAYERSERIES_COMPAT_balena-raspberrypi = "dunfell"

SDIMG_KERNELIMAGE_raspberrypi ?= "kernel.img"
SDIMG_KERNELIMAGE_raspberrypi2 ?= "kernel7.img"
SDIMG_KERNELIMAGE_raspberrypi3-64 ?= "kernel8.img"

# Customize balenaos-img
BALENA_IMAGE_BOOTLOADER_rpi = "bootfiles"
BALENA_BOOT_PARTITION_FILES_rpi = " \
u-boot.bin:/${SDIMG_KERNELIMAGE} \
boot.scr:/boot.scr \
bootfiles:/ \
"
BALENA_BOOT_PARTITION_FILES_append_revpi-core-3 = " revpi-core-dt-blob-overlay.dtb:/dt-blob.bin"
BALENA_BOOT_PARTITION_FILES_append_revpi-connect = " revpi-connect-dt-blob-overlay.dtb:/dt-blob.bin"

# Add all the overlays available in kernel source code
#
# The files below come from kernel-source/arch/arm/boot/dts/overlays/, but without
Expand Down

0 comments on commit 5fbdefb

Please sign in to comment.