OE4T / meta-tegra

BSP layer for NVIDIA Jetson platforms, based on L4T
MIT License
384 stars 215 forks source link

tegra-uefi-capsules-36.3.0/bup-payload/signed/flash.idx is not found when building SWUpdate image #1597

Closed Bmkool closed 1 week ago

Bmkool commented 1 week ago

Hello,

I am attempting to build the scarthgap branch for L4T 36.3.0, and followed the README to enable SWUpdate on an AGX Orin devkit.

I have run into this error when building swupdate-image-tegra for the tegra-demo-distro:

The index file /yocto/tegra-demo-distro/build/tmp/work/jetson_agx_orin_devkit-oe4t-linux/tegra-uefi-capsules/36.3.0/tegra-uefi-capsules-36.3.0/bup-payload/signed/flash.idx is not found.
WARNING: /yocto/tegra-demo-distro/build/tmp/work/jetson_agx_orin_devkit-oe4t-linux/tegra-uefi-capsules/36.3.0/temp/run.do_compile.1332239:255 exit 1 from './doflash.sh'
WARNING: Backtrace (BB generated script): 
    OE4T/tegra-demo-distro#1: tegraflash_custom_sign_bup, /yocto/tegra-demo-distro/build/tmp/work/jetson_agx_orin_devkit-oe4t-linux/tegra-uefi-capsules/36.3.0/temp/run.do_compile.1332239, line 255
    OE4T/tegra-demo-distro#2: do_compile, /yocto/tegra-demo-distro/build/tmp/work/jetson_agx_orin_devkit-oe4t-linux/tegra-uefi-capsules/36.3.0/temp/run.do_compile.1332239, line 161
    OE4T/tegra-demo-distro#3: main, /yocto/tegra-demo-distro/build/tmp/work/jetson_agx_orin_devkit-oe4t-linux/tegra-uefi-capsules/36.3.0/temp/run.do_compile.1332239, line 427

Full error log: tegra-uefi-capsules.log.do_compile.txt

Any recommendations?

Thanks.

madisongh commented 1 week ago

This looks like a bug in the tegra-uefi-capsules recipe - missing some dependencies. I'm going to transfer this over to the meta-tegra repo, since that's where the problem is.

madisongh commented 1 week ago

I've fixed this in master and scarthgap, and have updated the scarthgap branch in the demo distro with this change.