From bf699ac4c6a7833120e285e6426168e1cb512a35 Mon Sep 17 00:00:00 2001 From: Alexandru Costache Date: Mon, 30 Sep 2024 12:51:54 +0000 Subject: [PATCH] images/balena-image-flasher: Install UEFI bootloader in the flasher boot partition The UEFI firmware which comes in Jetpack 6 is at a newer revision and has symlinks support to load the kernel and dtb from the non-flasher rootfs. Thus, with an updated bootloader which looks for the flasher flag in the boot partition, we can provision the internal medium using the existing firmware in the QSPI. Signed-off-by: Alexandru Costache --- .../recipes-core/images/balena-image-flasher.bbappend | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layers/meta-balena-jetson/recipes-core/images/balena-image-flasher.bbappend b/layers/meta-balena-jetson/recipes-core/images/balena-image-flasher.bbappend index 13d55f66..dfa4b8d7 100644 --- a/layers/meta-balena-jetson/recipes-core/images/balena-image-flasher.bbappend +++ b/layers/meta-balena-jetson/recipes-core/images/balena-image-flasher.bbappend @@ -3,3 +3,8 @@ include balena-image.inc IMAGE_INSTALL:remove:jetson-orin-nx-xavier-nx-devkit="l4t-launcher-extlinux" IMAGE_INSTALL:append = "efitools-utils efibootmgr" +BALENA_BOOT_PARTITION_FILES:append = " \ + bootfiles/EFI/BOOT/BOOTAA64.efi:/EFI/BOOT/BOOTAA64.efi \ + extra_uEnv.txt:/extra_uEnv.txt \ +" +