When running initrd-flash for pre-signed builds DTB_FILE does not get replaced with the kernel .dtb in the resulting initrd-flash.xml. Unsigned builds take a different path through initrd-flash in sign_binaries where the tegraXXX-flash-helper.sh script does the replacement via sed. As a result the NVMe does not get properly programmed and uefi will fallback to attempting to boot over the network.
If you have opinions regarding the best place to fix this let me know, otherwise I'll take my best guess and submit a PR. As of right now I'll probably add to this existing sed expression:
Build Info:
tegra-demo-distro, kirkstone branch, MACHINE = "p3768-0000-p3767-0000"
When running
initrd-flash
for pre-signed buildsDTB_FILE
does not get replaced with the kernel .dtb in the resultinginitrd-flash.xml
. Unsigned builds take a different path throughinitrd-flash
insign_binaries
where thetegraXXX-flash-helper.sh
script does the replacement viased
. As a result the NVMe does not get properly programmed and uefi will fallback to attempting to boot over the network.If you have opinions regarding the best place to fix this let me know, otherwise I'll take my best guess and submit a PR. As of right now I'll probably add to this existing
sed
expression:https://github.com/OE4T/meta-tegra/blob/kirkstone/recipes-bsp/tegra-binaries/tegra-helper-scripts/initrd-flash.sh#L403