Hi nVIDIA,
I try to use flash_l4t_external.xml with --no-flash flag to packing images.
The log show “XPath set is empty”, and it cause an empty parameter --bl with ./tegraflash.py
Using bpmp-dtb concatenated with odmdata in blob for t23x
XPath set is empty
./tegraflash.py --bl --bct br_bct_BR.bct --bldtb tegra234-p3768-0000+p3767-0000-nv.dtb --applet rcm_2_encrypt.rcm --applet_softfuse rcm_1_encrypt.rcm --cmd "secureflash;reboot" --cfg secureflash.xml --chip 0x23 --mb1_bct mb1_bct_MB1_sigheader.bct.encrypt --mem_bct mem_rcm_sigheader.bct.encrypt --mb1_cold_boot_bct mb1_cold_boot_bct_MB1_sigheader.bct.encrypt --mb1_bin mb1_t234_prod_aligned_sigheader.bin.encrypt --psc_bl1_bin psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --mem_bct_cold_boot mem_coldboot_sigheader.bct.encrypt --bins "psc_fw pscfw_t234_prod_sigheader.bin.encrypt; mts_mce mce_flash_o10_cr_prod_sigheader.bin.encrypt; tsec_fw tsec_t234_sigheader.bin.encrypt; mb2_applet applet_t234_sigheader.bin.encrypt; mb2_bootloader mb2_t234_with_mb2_bct_MB2_sigheader.bin.encrypt; xusb_fw xusb_t234_prod_sigheader.bin.encrypt; pva_fw nvpva_020_sigheader.fw.encrypt; dce_fw display-t234-dce_sigheader.bin.encrypt; nvdec nvdec_t234_prod_sigheader.fw.encrypt; bpmp_fw bpmp_t234-TE980M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt; rce_fw camera-rtcpu-t234-rce_sigheader.img.encrypt; ape_fw adsp-fw_sigheader.bin.encrypt; spe_fw spe_t234_sigheader.bin.encrypt; tos tos-optee_t234_sigheader.img.encrypt; eks eks_t234_sigheader.img.encrypt"
saving flash command in flashcmd.txt
*** no-flash flag enabled. Exiting now... ***
User can run above saved command in factory environment without
providing pkc and sbk keys to flash a device
Example:
$ cd bootloader
$ sudo bash ./flashcmd.txt
complete log: log.txt (238.2 KB)
In the end, it use uefi_jetson_with_dtb_aligned_blob_w_bin_sigheader.bin.encrypt in parameter --bl not uefi_jetson_with_dtb_sigheader.bin.encrypt
My device (Orin NX + our carrier board) cannot enter RCM when I use flash_l4t_external.xml with --flash-only.
This issue occur with L4T 36.4, but L4T 36.3 is fine.
The value of --bl always be uefi_jetson_with_dtb_sigheader.bin.encrypt when I used L4T 36.3
I found the root cause in Linux_for_Tegra/bootloader/odmsign.func, diff from 36.3 to 36.4
if [ "${CHIPID}" = "0x23" ]; then
+ get_value_from_PT_table "A_cpu-bootloader" "filename" ${securecfgfile} flashername
+
# handle differently with and without SBK key
if [ "${sbk_keyfile}" != "" ]; then
- get_value_from_PT_table "A_cpu-bootloader" "filename" ${securecfgfile} flashername
-
# Special handling for --mb1_bin
extsig tmp_mb1bin ${mb1filename} '_aligned_sigheader_encrypt' 'signed'
# Special handling for --psc_bl1_bin
Is this an issue?