Build the massflash blob tarball failed

Hi Jerry,

It is my odmfuse command before.

sudo BOARDID=3668 BOARDSKU=0001 FAB=100 BOARDREV=H.0 ./odmfuse.sh --noburn -i 0x19 --auth PKC -p -k …/rsa_priv.pem jetson-xavier-nx-devkit-emmc

after I remove the “–noburn” option , it works fine , and I flash my board sucessfully.

thanks again.

Hi Jerry and jakelin.
I have the same problem. How I can generate clear (no security) massflash blob?

Im use JetPack-4.5.1 / l4t-r32.5.1, xavier-nx-devkit-emmc
ONLINE command:
sudo ./nvmassflashgen.sh jetson-xavier-nx-devkit-emmc mmcblk0p1
error message
[ 10.1950 ] Packing sdram param for instance[14]
[ 10.1950 ] Packing sdram param for instance[15]
[ 10.1950 ]
[ 10.1951 ] Using default ramcode 0
[ 10.1951 ] Generating BPMP dtb for ramcode - 0
Error: Could not find dtc
Keep temporary directory /home/revo/xavierNX_l4t3251/Linux_for_Tegra/bootloader/8925
Error: Signing binaries failed.

hi all,

if you’re having below error, it means your host does not have Device-Tree-Compiler.

please look into your nvmassflashgen.sh script file,
by adding below two lines to export kernel as preferred PATH.
for example,

+ KERNEL_DIR="${LDK_DIR}";
+ export PATH="${KERNEL_DIR}:${PATH}";    # preference on our DTC

Added these two lines to the end into my nvmassflashgen.sh script file.
The same error.
[ 10.1951 ] Using default ramcode 0
[ 10.1951 ] Generating BPMP dtb for ramcode - 0
Error: Could not find dtc
Keep temporary directory /home/revo/xavierNX_l4t3251/Linux_for_Tegra/bootloader/8925
Error: Signing binaries failed.

hello hotspear89,

are you working with JetPack-4.5.1 release?
I’ve just verified with the offline approach, by generating Massflash image on the host machine.
for example,

$ sudo BOARDID=3668 BOARDSKU=0001 FAB=100 FUSELEVEL=fuselevel_production ./nvmassflashgen.sh jetson-xavier-nx-devkit-emmc mmcblk0p1

...
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.1
###############################################################################
Board ID(3668) version(100) sku(0001) revision()
..

[  20.2398 ] Using default ramcode 0
[  20.2398 ] Generating BPMP dtb for ramcode - 0
[  20.3093 ] Old BPMP dtb size - 223168 bytes
[  20.3093 ] New BPMP dtb size - 168338 bytes
[  20.3094 ]
[  20.3107 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[  20.3115 ]
[  20.3124 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_rcm.bct zerosbk
[  20.3132 ] adding BCH for mem_rcm.bct
...
copying nvmflash.sh ... succeeded.
copying nvaflash.sh ... succeeded.
copying emmc_bootblob_ver.txt ... succeeded.
copying qspi_bootblob_ver.txt ... succeeded.
number of images in blob are 11
...
********************************************************************************
*** Mass Flashing tarball mfi_jetson-xavier-nx-devkit-emmc.tbz2 is ready.
********************************************************************************

BTW,
could you please also checks that. those two lines to export kernel as preferred PATH should be default included in the line(44-45) of nvmassflashgen.sh.
thanks