How to recover Nano SOM eeprom?

Hi NV_Team,

I modified one byte of the eeprom on SOM, then the Nano can’t bootup and can’t flash it yet. How to recover the eeprom on the Nano SOM? Can you give some help?

twsrv01@twsrv01:~/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_Nano/Linux_for_Tegra$ ./nano.b01flash.all.sh 
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 4.3
###############################################################################
# Target Board Information:
# Name: jetson-nano-emmc, Board Family: t210ref, SoC: Tegra 210, 
# OpMode: production, Boot Authentication: , 
###############################################################################
./tegraflash.py --chip 0x21 --applet "/home/twsrv01/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_Nano/Linux_for_Tegra/bootloader/nvtboot_recovery.bin" --skipuid --cmd "dump eeprom boardinfo cvm.bin" 
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 
[   0.0015 ] Generating RCM messages
[   0.0024 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/twsrv01/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_Nano/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[   0.0031 ] RCM 0 is saved as rcm_0.rcm
[   0.0036 ] RCM 1 is saved as rcm_1.rcm
[   0.0036 ] List of rcm files are saved in rcm_list.xml
[   0.0036 ] 
[   0.0036 ] Signing RCM messages
[   0.0043 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0050 ] Assuming zero filled SBK key
[   0.0096 ] 
[   0.0096 ] Copying signature to RCM mesages
[   0.0104 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[   0.0115 ] 
[   0.0115 ] Boot Rom communication
[   0.0122 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[   0.0128 ] RCM version 0X210001
[   0.0548 ] Boot Rom communication completed
[   1.0619 ] 
[   1.0621 ] dump EEPROM info
[   1.0653 ] tegrarcm --oem platformdetails eeprom /home/twsrv01/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_Nano/Linux_for_Tegra/bootloader/cvm.bin
[   1.0681 ] Applet version 00.01.0000
[   1.0880 ] Saved platform info in /home/twsrv01/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_Nano/Linux_for_Tegra/bootloader/cvm.bin
[   1.1648 ] 
Parsing board information failed.

Before modify the 0x4a  to 0x54
nvidia@nvidia:~$ sudo i2cdump -f -y 2 0x50
No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 01 00 fc 00 78 0d 02 00 04 46 00 00 00 00 00 00    ?.?.x??.?F......
10: 00 00 00 00 36 39 39 2d 31 33 34 34 38 2d 30 30    ....699-13448-00
20: 30 32 2d 34 30 30 20 46 2e 30 00 00 00 00 00 00    02-400 F.0......
30: 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
40: ff ff ff ff c3 43 ea 4b 04 00 31 34 32 33 36 31    ....?C?K?.142361
50: 39 30 38 39 39 38 35 00 00 00 00 00 00 00 00 00    9089985.........
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 4e 56 43 42 1c 00 4d 31 00 00    ......NVCB?.M1..
a0: ff ff ff ff ff ff ff ff ff ff ff ff c3 43 ea 4b    ............?C?K
b0: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ?...............
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f5    ...............?

nvidia@nvidia:~$ sudo i2cset -f -y 2 0x50 0x4a 0x54

Before modify the 0x4a  to 0x54

nvidia@nvidia:~$ sudo i2cdump -f -y 2 0x50
No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 01 00 fc 00 78 0d 02 00 04 46 00 00 00 00 00 00    ?.?.x??.?F......
10: 00 00 00 00 36 39 39 2d 31 33 34 34 38 2d 30 30    ....699-13448-00
20: 30 32 2d 34 30 30 20 46 2e 30 00 00 00 00 00 00    02-400 F.0......
30: 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
40: ff ff ff ff c3 43 ea 4b 04 00 54 34 32 33 36 31    ....?C?K?.T42361
50: 39 30 38 39 39 38 35 00 00 00 00 00 00 00 00 00    9089985.........
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 4e 56 43 42 1c 00 4d 31 00 00    ......NVCB?.M1..
a0: ff ff ff ff ff ff ff ff ff ff ff ff c3 43 ea 4b    ............?C?K
b0: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ?...............
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f5    ...............?

hello Luna2020,

may I know what’s the flash command of this script file,

since there’s failure, Parsing board information failed.,
you may have a try with offline approach to flash the board by assign board info manually.
for example,
$ sudo BOARDID=xxx FAB=xxx BOARDSKU=xxx ./flash.sh jetson-nano-emmc mmcblk0p1

Hi JerryChang,

sudo ./flash.sh -r jetson-nano-emmc mmcblk0p1   ("./nano.b01flash.all.sh ")

My Nano SOM: P3448 (180-13448-DAAA-B01)
What is ‘xxx’ for the “BOARDID=xxx FAB=xxx BOARDSKU=xxx” ?

Hi JerryChang,

Do you mean this in “README_Massflash.txt”

  
                                      BOARDID  BOARDSKU  FAB  BOARDREV
     --------------------------------+--------+---------+----+---------
     jetson-tx1                       2180     0000      400  N/A
     jetson-tx2                       3310     1000      B02  N/A
     jetson-xavier                    2888     0001      400  H.0
     jetson-nano-emmc                 3448     0002      200  N/A
     jetson-xavier-nx-devkit-emmc     3668     0001      100  N/A
     --------------------------------+--------+---------+----+---------

Now using this command to flash is okay, thanks for your information.

sudo BOARDID=3448 FAB=200 BOARDSKU=0002 ./flash.sh jetson-nano-emmc mmcblk0p1

Hi JerryChang,

I use command to flash Nano, but still get failed message, can you help to check this error ?

sudo BOARDID=3448 FAB=200 BOARDSKU=0002 ./flash.sh jetson-nano-emmc mmcblk0p1
twsrv01@twsrv01:~/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra$ sudo BOARDID=3448 FAB=200 BOARDSKU=0002 ./flash.sh jetson-nano-emmc mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.0
###############################################################################
# Target Board Information:
# Name: jetson-nano-emmc, Board Family: t210ref, SoC: Tegra 210, 
# OpMode: production, Boot Authentication: , 
# Disk encryption: disabled ,
###############################################################################
Board ID(3448) version(200) 
copying bctfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)... done.
copying bootloader(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying initrd(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating /home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-a02.dtb to rootfs... done.
Making Boot image... done.
Existing sosfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
copying cpu_bootloader(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying bpffile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done.
Existing badpagefile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-a02.dtb)... done.
Copying nv_boot_control.conf to rootfs
Making system.img... 
	populating rootfs from /home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/rootfs ... done.
	populating /boot/extlinux/extlinux.conf ... done.
	Sync'ing system.img ... done.
	Converting RAW image to Sparse image... done.
system.img built successfully. 
Existing tbcfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-a02.dtb)... done.
copying cfgfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_emmc_p3448.xml) to flash.xml... done.
copying flasher(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl cboot.bin --bct  P3448_A00_lpddr4_204Mhz_P987.cfg --odmdata 0xa4000 --bldtb kernel_tegra210-p3448-0002-p3449-0000-a02.dtb --applet nvtboot_recovery.bin --cmd "flash; reboot"  --cfg flash.xml --chip 0x21   --skipuid --bins "EBT cboot.bin; DTB tegra210-p3448-0002-p3449-0000-a02.dtb" 
saving flash command in /home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/flash_win.bat
*** Flashing target device started. ***
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 
[   0.0029 ] tegrasign --key None --getmode mode.txt
[   0.0036 ] Assuming zero filled SBK key
[   0.0075 ] 
[   0.0076 ] Generating RCM messages
[   0.0092 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[   0.0099 ] RCM 0 is saved as rcm_0.rcm
[   0.0140 ] RCM 1 is saved as rcm_1.rcm
[   0.0140 ] List of rcm files are saved in rcm_list.xml
[   0.0140 ] 
[   0.0140 ] Signing RCM messages
[   0.0151 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0161 ] Assuming zero filled SBK key
[   0.0230 ] 
[   0.0231 ] Copying signature to RCM mesages
[   0.0239 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[   0.0251 ] 
[   0.0252 ] Parsing partition layout
[   0.0277 ] tegraparser --pt flash.xml.tmp
[   0.0308 ] 
[   0.0309 ] Creating list of images to be signed
[   0.0327 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[   0.0477 ] 
[   0.0478 ] Generating signatures
[   0.0487 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.0495 ] Assuming zero filled SBK key
[   0.1506 ] 
[   0.1506 ] Generating br-bct
[   0.1536 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[   0.1543 ] Copying Sdram info from 2 to 3 set
[   0.1601 ] 
[   0.1601 ] Updating boot device parameters
[   0.1608 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[   0.1615 ] Warning: No sdram params
[   0.1617 ] 
[   0.1617 ] Updating bl info
[   0.1626 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.1637 ] 
[   0.1637 ] Updating secondary storage information into bct
[   0.1647 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct
[   0.1658 ] 
[   0.1658 ] Updating Odmdata
[   0.1667 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000
[   0.1676 ] Warning: No sdram params
[   0.1677 ] 
[   0.1677 ] Get Signed section of bct
[   0.1686 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[   0.1696 ] 
[   0.1697 ] Signing BCT
[   0.1713 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[   0.1722 ] Assuming zero filled SBK key
[   0.1727 ] 
[   0.1727 ] Updating BCT with signature
[   0.1736 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[   0.1747 ] 
[   0.1748 ] Copying signatures
[   0.1757 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   0.1836 ] 
[   0.1837 ] Updating BFS information on BCT
[   0.1846 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[   0.1855 ]    BFS:
[   0.1868 ]      0: [PT ] flash.xml.bin (size=4367/131072)
[   0.1874 ]      1: [TBC] nvtboot_cpu.bin.encrypt (size=65760/196608)
[   0.1879 ]      2: [RP1] kernel_tegra210-p3448-0002-p3449-0000-a02.dtb.encrypt (size=244352/1048576)
[   0.1886 ]      3: [EBT] cboot.bin.encrypt (size=485120/655360)
[   0.1889 ]      4: [WB0] warmboot.bin.encrypt (size=3952/131072)
[   0.1893 ]      5: [BPF] sc7entry-firmware.bin.encrypt (size=3376/262144)
[   0.1897 ] BFS0: 131072 @ 2560 SUM 82d143db over 2883584 bytes
[   0.1900 ]    BFS:
[   0.1901 ]      0: [PT-1] flash.xml.bin (size=4367/131072)
[   0.1912 ]      1: [TBC-1] nvtboot_cpu.bin.encrypt (size=65760/196608)
[   0.1916 ]      2: [RP1-1] kernel_tegra210-p3448-0002-p3449-0000-a02.dtb.encrypt (size=244352/1048576)
[   0.1922 ]      3: [EBT-1] cboot.bin.encrypt (size=485120/655360)
[   0.1925 ]      4: [WB0-1] warmboot.bin.encrypt (size=3952/131072)
[   0.1928 ]      5: [BPF-1] sc7entry-firmware.bin.encrypt (size=3376/262144)
[   0.1932 ]      8: [VER_b] emmc_bootblob_ver.txt (size=102/32768)
[   0.1936 ]      9: [VER] emmc_bootblob_ver.txt (size=102/32768)
[   0.1940 ] BFS1: 131072 @ 8704 SUM 82d143db over 2981888 bytes
[   0.1960 ]    KFS:
[   0.2180 ]      0: [DTB] kernel_tegra210-p3448-0002-p3449-0000-a02.dtb.encrypt (size=244352/1048576)
[   0.2187 ]      1: [TOS] tos-mon-only.img.encrypt (size=54208/6291456)
[   0.2189 ]      2: [EKS] eks.img (size=1028/81920)
[   0.2192 ]      3: [LNX] boot.img.encrypt (size=661504/67092480)
[   0.2195 ] KFS0: 1048576 @ 29376546 SUM 5e9a6294 over 8083456 bytes
[   0.2225 ]    KFS:
[   0.2489 ]      0: [DTB-1] kernel_tegra210-p3448-0002-p3449-0000-a02.dtb.encrypt (size=244352/1048576)
[   0.2495 ]      1: [TOS-1] tos-mon-only.img.encrypt (size=54208/6291456)
[   0.2499 ]      2: [EKS-1] eks.img (size=1028/81920)
[   0.2501 ]      3: [LNX-1] boot.img.encrypt (size=661504/67092480)
[   0.2504 ] KFS1: 1048576 @ 29522082 SUM 5e9a6294 over 8083456 bytes
[   0.2529 ] 
[   0.2530 ] Boot Rom communication
[   0.2539 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[   0.2546 ] RCM version 0X210001
[   0.2993 ] Boot Rom communication completed
[   1.3059 ] 
[   1.3059 ] Sending BCTs
[   1.3072 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct
[   1.3082 ] Applet version 00.01.0000
[   1.3243 ] Sending bct
[   1.3244 ] [................................................] 100%
[   1.4093 ] 
[   1.4107 ] tegrahost --chip 0x21 --align cboot.bin
[   1.4123 ] 
[   1.4138 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[   1.4175 ] 
[   1.4192 ] tegrasign --key None --list cboot.bin_list.xml
[   1.4203 ] Assuming zero filled SBK key
[   1.4345 ] 
[   1.4354 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[   1.4367 ] 
[   1.4380 ] tegrahost --chip 0x21 --align tegra210-p3448-0002-p3449-0000-a02.dtb
[   1.4388 ] 
[   1.4396 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0002-p3449-0000-a02.dtb tegra210-p3448-0002-p3449-0000-a02.dtb_blheader
[   1.4409 ] 
[   1.4418 ] tegrasign --key None --list tegra210-p3448-0002-p3449-0000-a02.dtb_list.xml
[   1.4426 ] Assuming zero filled SBK key
[   1.4487 ] 
[   1.4496 ] tegrahost --updatesigheader tegra210-p3448-0002-p3449-0000-a02.dtb_blheader.encrypt tegra210-p3448-0002-p3449-0000-a02.dtb_blheader.hash zerosbk
[   1.4507 ] 
[   1.4510 ] Sending bootloader and pre-requisite binaries
[   1.4517 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-a02.dtb.encrypt 0
[   1.4524 ] Applet version 00.01.0000
[   1.4682 ] Sending ebt
[   1.5322 ] 
Error: Return value 1
Command tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-a02.dtb.encrypt 0
Failed flashing t210ref.

hello Luna2020,

couple of questions,
(1) did you have a customize bootloader DTB binary for flashing the target.
(2) also, had you enable secureBoot on this Nano platform.

Hi JerryChang,

(1) did you have a customize bootloader DTB binary for flashing the target.
PS: using JetPack4.5 default dtb in L4T BSP

(2) also, had you enable secureBoot on this Nano platform.
PS: No secureBoot

Debug UART message

[0007.991] Enabled early print
[0007.994] [L4T TegraBoot] (version 00.00.2018.01-l4t-32cd7ad9)
[0007.999] Processing in recovery mode
[0008.003] A02 Bootrom Patch rev = 1023
[0008.006] Power-up reason: pmc por
[0008.009] Established communication link with host
[0008.989] Odmdata from BCT: 0x00094000
[0008.993] DebugPort= 0x3
[0009.044] EEPROM CRC failed. Calculated crc=0xf0 CRC stored = 0xf5
[0009.050] Reading Board-Type unsuccessful
[0009.054] BoardId read from EEPROM/NCT: 0
[0009.058] Unsupported Platform 0
[0009.061] Downloaded BCT successfully

Hi Jerry,

These two flash command use different dtb files.

tegra210-p3448-0002-p3449-0000-b00.dtb is used
sudo ./flash.sh -r -k DTB jetson-nano-emmc mmcblk0p1
tegra210-p3448-0002-p3449-0000-a02.dtb is used 
sudo BOARDID=3448 FAB=200 BOARDSKU=0002 ./flash.sh jetson-nano-emmc mmcblk0p1

hello Luna2020,

you may assign the board info according to your eeprom.
it should be… $ sudo BOARDID=3448 FAB=400 BOARDSKU=0002 ...

Hi Jerry,

I change to 400, but still get error message, and can’t flash it.

sudo BOARDID=3448 FAB=400 BOARDSKU=0002 ./flash.sh -r jetson-nano-emmc mmcblk0p1
sudo BOARDID=3448 FAB=400 BOARDSKU=0002 ./flash.sh -r jetson-nano-emmc mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 4.3
###############################################################################
# Target Board Information:
# Name: jetson-nano-emmc, Board Family: t210ref, SoC: Tegra 210, 
# OpMode: production, Boot Authentication: , 
###############################################################################
Board ID(3448) version(400) 
copying bctfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg)... done.
copying bootloader(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying initrd(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating /home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb to rootfs... done.
Making Boot image... done.
Existing sosfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
copying cpu_bootloader(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying bpffile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done.
Existing badpagefile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done.
Copying nv_boot_control.conf to rootfs
Reusing existing system.img... 
done.
Existing tbcfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done.
copying cfgfile(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_emmc_p3448.xml) to flash.xml... done.
copying flasher(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl cboot.bin --bct  P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --odmdata 0x94000 --bldtb tegra210-p3448-0002-p3449-0000-b00.dtb --applet nvtboot_recovery.bin --cmd "flash; reboot"  --cfg flash.xml --chip 0x21   --skipuid --bins "EBT cboot.bin; DTB tegra210-p3448-0002-p3449-0000-b00.dtb" 
saving flash command in /home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/twsrv01/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra/bootloader/flash_win.bat
*** Flashing target device started. ***
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 
[   0.0008 ] tegrasign --key None --getmode mode.txt
[   0.0015 ] Assuming zero filled SBK key
[   0.0016 ] 
[   0.0017 ] Generating RCM messages
[   0.0023 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[   0.0030 ] RCM 0 is saved as rcm_0.rcm
[   0.0034 ] RCM 1 is saved as rcm_1.rcm
[   0.0034 ] List of rcm files are saved in rcm_list.xml
[   0.0034 ] 
[   0.0034 ] Signing RCM messages
[   0.0041 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0048 ] Assuming zero filled SBK key
[   0.0094 ] 
[   0.0094 ] Copying signature to RCM mesages
[   0.0103 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[   0.0116 ] 
[   0.0117 ] Parsing partition layout
[   0.0126 ] tegraparser --pt flash.xml.tmp
[   0.0138 ] 
[   0.0139 ] Creating list of images to be signed
[   0.0148 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[   0.0223 ] 
[   0.0223 ] Generating signatures
[   0.0234 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.0242 ] Assuming zero filled SBK key
[   0.1054 ] 
[   0.1054 ] Generating br-bct
[   0.1063 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[   0.1070 ] Copying Sdram info from 0 to 1 set
[   0.1079 ] Copying Sdram info from 1 to 2 set
[   0.1079 ] Copying Sdram info from 2 to 3 set
[   0.1079 ] 
[   0.1079 ] Updating boot device parameters
[   0.1086 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[   0.1093 ] Warning: No sdram params
[   0.1094 ] 
[   0.1094 ] Updating bl info
[   0.1101 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.1112 ] 
[   0.1112 ] Updating secondary storage information into bct
[   0.1119 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[   0.1126 ] 
[   0.1127 ] Updating Odmdata
[   0.1133 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000
[   0.1141 ] Warning: No sdram params
[   0.1143 ] 
[   0.1143 ] Get Signed section of bct
[   0.1151 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[   0.1159 ] 
[   0.1160 ] Signing BCT
[   0.1175 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[   0.1183 ] Assuming zero filled SBK key
[   0.1187 ] 
[   0.1188 ] Updating BCT with signature
[   0.1196 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[   0.1206 ] 
[   0.1206 ] Copying signatures
[   0.1214 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   0.1288 ] 
[   0.1289 ] Updating BFS information on BCT
[   0.1299 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[   0.1309 ]    BFS:
[   0.1326 ]      0: [PT ] flash.xml.bin (size=4339/131072)
[   0.1330 ]      1: [TBC] nvtboot_cpu.bin.encrypt (size=65760/196608)
[   0.1334 ]      2: [RP1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215952/1048576)
[   0.1340 ]      3: [EBT] cboot.bin.encrypt (size=483872/655360)
[   0.1344 ]      4: [WB0] warmboot.bin.encrypt (size=3952/131072)
[   0.1348 ]      5: [BPF] sc7entry-firmware.bin.encrypt (size=3376/262144)
[   0.1351 ] BFS0: 131072 @ 2560 SUM f88c62c8 over 2883584 bytes
[   0.1354 ]    BFS:
[   0.1354 ]      0: [PT-1] flash.xml.bin (size=4339/131072)
[   0.1356 ]      1: [TBC-1] nvtboot_cpu.bin.encrypt (size=65760/196608)
[   0.1359 ]      2: [RP1-1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215952/1048576)
[   0.1363 ]      3: [EBT-1] cboot.bin.encrypt (size=483872/655360)
[   0.1366 ]      4: [WB0-1] warmboot.bin.encrypt (size=3952/131072)
[   0.1368 ]      5: [BPF-1] sc7entry-firmware.bin.encrypt (size=3376/262144)
[   0.1371 ]      8: [VER_b] emmc_bootblob_ver.txt (size=102/32768)
[   0.1374 ]      9: [VER] emmc_bootblob_ver.txt (size=102/32768)
[   0.1376 ] BFS1: 131072 @ 8704 SUM f88c62c8 over 2981888 bytes
[   0.1379 ]    KFS:
[   0.1617 ]      0: [DTB] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215952/1048576)
[   0.1621 ]      1: [TOS] tos-mon-only.img.encrypt (size=54208/6291456)
[   0.1623 ]      2: [EKS] eks.img (size=1028/81920)
[   0.1625 ]      3: [LNX] boot.img.encrypt (size=485376/67092480)
[   0.1628 ] KFS0: 1048576 @ 29376546 SUM f7061d3e over 7907328 bytes
[   0.1663 ]    KFS:
[   0.1909 ]      0: [DTB-1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215952/1048576)
[   0.1914 ]      1: [TOS-1] tos-mon-only.img.encrypt (size=54208/6291456)
[   0.1917 ]      2: [EKS-1] eks.img (size=1028/81920)
[   0.1919 ]      3: [LNX-1] boot.img.encrypt (size=485376/67092480)
[   0.1921 ] KFS1: 1048576 @ 29522082 SUM f7061d3e over 7907328 bytes
[   0.1954 ] 
[   0.1955 ] Boot Rom communication
[   0.1964 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[   0.1972 ] RCM version 0X210001
[   0.2400 ] Boot Rom communication completed
[   1.2474 ] 
[   1.2475 ] Sending BCTs
[   1.2505 ] tegrarcm --download bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[   1.2533 ] Applet version 00.01.0000
[   1.2696 ] Sending bct
[   1.2698 ] [................................................] 100%
[   1.3519 ] 
[   1.3548 ] tegrahost --chip 0x21 --align cboot.bin
[   1.3576 ] 
[   1.3596 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[   1.3648 ] 
[   1.3669 ] tegrasign --key None --list cboot.bin_list.xml
[   1.3681 ] Assuming zero filled SBK key
[   1.3847 ] 
[   1.3856 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[   1.3869 ] 
[   1.3881 ] tegrahost --chip 0x21 --align tegra210-p3448-0002-p3449-0000-b00.dtb
[   1.3888 ] 
[   1.3895 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0002-p3449-0000-b00.dtb tegra210-p3448-0002-p3449-0000-b00.dtb_blheader
[   1.3906 ] 
[   1.3915 ] tegrasign --key None --list tegra210-p3448-0002-p3449-0000-b00.dtb_list.xml
[   1.3922 ] Assuming zero filled SBK key
[   1.3979 ] 
[   1.3989 ] tegrahost --updatesigheader tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.encrypt tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.hash zerosbk
[   1.3999 ] 
[   1.4002 ] Sending bootloader and pre-requisite binaries
[   1.4009 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0
[   1.4018 ] Applet version 00.01.0000
[   1.4210 ] Sending ebt
[   1.4859 ] 
Error: Return value 1
Command tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0
Failed flashing t210ref.
twsrv01@twsrv01:~/nvidia/nvidia_sdk/JetsonNano_4.5_l4t.r32.5/Linux_for_Tegra$ 

Hi Jerry,

I have tried different JepPack(4.3, 4.4, 4.5) version, using the same command to flash this Nano but all failed with the same error message . Can you give some advices about this error message

twsrv01@twsrv01:~/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra$ sudo BOARDID=3448 FAB=400 BOARDSKU=0002 ./flash.sh jetson-nano-emmc mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 4.3
###############################################################################
# Target Board Information:
# Name: jetson-nano-emmc, Board Family: t210ref, SoC: Tegra 210, 
# OpMode: production, Boot Authentication: , 
###############################################################################
Board ID(3448) version(400) 
copying bctfile(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg)... done.
copying bootloader(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying initrd(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating /home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb to rootfs... done.
Making Boot image... done.
Existing sosfile(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
copying cpu_bootloader(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying bpffile(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done.
Existing badpagefile(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done.
Copying nv_boot_control.conf to rootfs
Making system.img... 
	populating rootfs from /home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/rootfs ... done.
	populating /boot/extlinux/extlinux.conf ... done.
	Sync'ing system.img ... done.
	Converting RAW image to Sparse image... done.
system.img built successfully. 
Existing tbcfile(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done.
copying cfgfile(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_emmc_p3448.xml) to flash.xml... done.
copying flasher(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl cboot.bin --bct  P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --odmdata 0x94000 --bldtb tegra210-p3448-0002-p3449-0000-b00.dtb --applet nvtboot_recovery.bin --cmd "flash; reboot"  --cfg flash.xml --chip 0x21   --skipuid --bins "EBT cboot.bin; DTB tegra210-p3448-0002-p3449-0000-b00.dtb" 
saving flash command in /home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/twsrv01/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra/bootloader/flash_win.bat
*** Flashing target device started. ***
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 
[   0.0251 ] tegrasign --key None --getmode mode.txt
[   0.0262 ] Assuming zero filled SBK key
[   0.0821 ] 
[   0.0822 ] Generating RCM messages
[   0.0855 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[   0.0876 ] RCM 0 is saved as rcm_0.rcm
[   0.1002 ] RCM 1 is saved as rcm_1.rcm
[   0.1002 ] List of rcm files are saved in rcm_list.xml
[   0.1002 ] 
[   0.1003 ] Signing RCM messages
[   0.1023 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.1047 ] Assuming zero filled SBK key
[   0.1160 ] 
[   0.1160 ] Copying signature to RCM mesages
[   0.1175 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[   0.1197 ] 
[   0.1197 ] Parsing partition layout
[   0.1364 ] tegraparser --pt flash.xml.tmp
[   0.1399 ] 
[   0.1399 ] Creating list of images to be signed
[   0.1731 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[   0.2880 ] 
[   0.2881 ] Generating signatures
[   0.2907 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.2935 ] Assuming zero filled SBK key
[   0.3798 ] 
[   0.3798 ] Generating br-bct
[   0.4075 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[   0.4086 ] Copying Sdram info from 0 to 1 set
[   0.5578 ] Copying Sdram info from 1 to 2 set
[   0.5579 ] Copying Sdram info from 2 to 3 set
[   0.5579 ] 
[   0.5579 ] Updating boot device parameters
[   0.5609 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[   0.5638 ] Warning: No sdram params
[   0.5643 ] 
[   0.5643 ] Updating bl info
[   0.5671 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.8685 ] 
[   0.8686 ] Updating secondary storage information into bct
[   0.8717 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[   0.8750 ] 
[   0.8751 ] Updating Odmdata
[   0.8779 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000
[   0.8799 ] Warning: No sdram params
[   0.8800 ] 
[   0.8801 ] Get Signed section of bct
[   0.8811 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[   0.8821 ] 
[   0.8822 ] Signing BCT
[   0.8840 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[   0.8849 ] Assuming zero filled SBK key
[   0.8854 ] 
[   0.8855 ] Updating BCT with signature
[   0.8866 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[   0.8878 ] 
[   0.8879 ] Copying signatures
[   0.8888 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   0.8995 ] 
[   0.8996 ] Updating BFS information on BCT
[   0.9007 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[   0.9018 ]    BFS:
[   0.9036 ]      0: [PT ] flash.xml.bin (size=4339/131072)
[   0.9040 ]      1: [TBC] nvtboot_cpu.bin.encrypt (size=65760/196608)
[   0.9045 ]      2: [RP1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215952/1048576)
[   0.9052 ]      3: [EBT] cboot.bin.encrypt (size=483872/655360)
[   0.9057 ]      4: [WB0] warmboot.bin.encrypt (size=3952/131072)
[   0.9061 ]      5: [BPF] sc7entry-firmware.bin.encrypt (size=3376/262144)
[   0.9066 ] BFS0: 131072 @ 2560 SUM 367e6687 over 2883584 bytes
[   0.9071 ]    BFS:
[   0.9072 ]      0: [PT-1] flash.xml.bin (size=4339/131072)
[   0.9076 ]      1: [TBC-1] nvtboot_cpu.bin.encrypt (size=65760/196608)
[   0.9081 ]      2: [RP1-1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215952/1048576)
[   0.9088 ]      3: [EBT-1] cboot.bin.encrypt (size=483872/655360)
[   0.9093 ]      4: [WB0-1] warmboot.bin.encrypt (size=3952/131072)
[   0.9098 ]      5: [BPF-1] sc7entry-firmware.bin.encrypt (size=3376/262144)
[   0.9103 ]      8: [VER_b] emmc_bootblob_ver.txt (size=102/32768)
[   0.9255 ]      9: [VER] emmc_bootblob_ver.txt (size=102/32768)
[   0.9260 ] BFS1: 131072 @ 8704 SUM 367e6687 over 2981888 bytes
[   0.9264 ]    KFS:
[   0.9570 ]      0: [DTB] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215952/1048576)
[   0.9574 ]      1: [TOS] tos-mon-only.img.encrypt (size=54208/6291456)
[   0.9578 ]      2: [EKS] eks.img (size=1028/81920)
[   0.9801 ]      3: [LNX] boot.img.encrypt (size=485376/67092480)
[   0.9805 ] KFS0: 1048576 @ 29376546 SUM f7061d3e over 7907328 bytes
[   0.9858 ]    KFS:
[   1.0142 ]      0: [DTB-1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215952/1048576)
[   1.0146 ]      1: [TOS-1] tos-mon-only.img.encrypt (size=54208/6291456)
[   1.0149 ]      2: [EKS-1] eks.img (size=1028/81920)
[   1.0150 ]      3: [LNX-1] boot.img.encrypt (size=485376/67092480)
[   1.0153 ] KFS1: 1048576 @ 29522082 SUM f7061d3e over 7907328 bytes
[   1.0183 ] 
[   1.0183 ] Boot Rom communication
[   1.0191 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[   1.0198 ] RCM version 0X210001
[   1.0643 ] Boot Rom communication completed
[   2.0773 ] 
[   2.0774 ] Sending BCTs
[   2.0804 ] tegrarcm --download bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[   2.0831 ] Applet version 00.01.0000
[   2.1022 ] Sending bct
[   2.1025 ] [................................................] 100%
[   2.1851 ] 
[   2.1880 ] tegrahost --chip 0x21 --align cboot.bin
[   2.1909 ] 
[   2.1938 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[   2.1991 ] 
[   2.2010 ] tegrasign --key None --list cboot.bin_list.xml
[   2.2023 ] Assuming zero filled SBK key
[   2.2182 ] 
[   2.2192 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[   2.2204 ] 
[   2.2216 ] tegrahost --chip 0x21 --align tegra210-p3448-0002-p3449-0000-b00.dtb
[   2.2223 ] 
[   2.2230 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0002-p3449-0000-b00.dtb tegra210-p3448-0002-p3449-0000-b00.dtb_blheader
[   2.2242 ] 
[   2.2250 ] tegrasign --key None --list tegra210-p3448-0002-p3449-0000-b00.dtb_list.xml
[   2.2257 ] Assuming zero filled SBK key
[   2.2309 ] 
[   2.2318 ] tegrahost --updatesigheader tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.encrypt tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.hash zerosbk
[   2.2329 ] 
[   2.2333 ] Sending bootloader and pre-requisite binaries
[   2.2340 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0
[   2.2348 ] Applet version 00.01.0000
[   2.2493 ] Sending ebt
[   2.3277 ] 
Error: Return value 1
Command tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0
Failed flashing t210ref.
twsrv01@twsrv01:~/sda/home/dennis/nvidia/JetPack_4.4_Linux_JETSON_NANO/Linux_for_Tegra$ 

hello Luna2020,

for your reference,
here’re normal steps for sending bootloader and pre-requisite binaries,

[  13.2804 ] Sending bootloader and pre-requisite binaries
[  13.2815 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt 0
[  13.2825 ] Applet version 00.01.0000
[  13.4577 ] Sending ebt
[  13.4579 ] [................................................] 100%
[  13.5652 ] Sending rp1
[  13.5703 ] [................................................] 100%

let’s check your modification,
according to Jetson Module EEPROM Layout. may I know what’s the configuration you’d done?
thanks

Hi Jerry,

I just try to modify one byte (address 0x4a from 0x31 to 0x54 ) of the EEPROM, but forget to modify the CRC [byte 256].

Here is the EEPROM values before and after modify 0x4a byte data.

nvidia@nvidia:~$ sudo i2cdump -f -y 2 0x50
No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 01 00 fc 00 78 0d 02 00 04 46 00 00 00 00 00 00    ?.?.x??.?F......
10: 00 00 00 00 36 39 39 2d 31 33 34 34 38 2d 30 30    ....699-13448-00
20: 30 32 2d 34 30 30 20 46 2e 30 00 00 00 00 00 00    02-400 F.0......
30: 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
40: ff ff ff ff c3 43 ea 4b 04 00 31 34 32 33 36 31    ....?C?K?.142361
50: 39 30 38 39 39 38 35 00 00 00 00 00 00 00 00 00    9089985.........
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 4e 56 43 42 1c 00 4d 31 00 00    ......NVCB?.M1..
a0: ff ff ff ff ff ff ff ff ff ff ff ff c3 43 ea 4b    ............?C?K
b0: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ?...............
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f5    ...............?

nvidia@nvidia:~$ sudo i2cset -f -y 2 0x50 0x4a 0x54

nvidia@nvidia:~$ sudo i2cdump -f -y 2 0x50
No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 01 00 fc 00 78 0d 02 00 04 46 00 00 00 00 00 00    ?.?.x??.?F......
10: 00 00 00 00 36 39 39 2d 31 33 34 34 38 2d 30 30    ....699-13448-00
20: 30 32 2d 34 30 30 20 46 2e 30 00 00 00 00 00 00    02-400 F.0......
30: 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
40: ff ff ff ff c3 43 ea 4b 04 00 54 34 32 33 36 31    ....?C?K?.T42361
50: 39 30 38 39 39 38 35 00 00 00 00 00 00 00 00 00    9089985.........
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 4e 56 43 42 1c 00 4d 31 00 00    ......NVCB?.M1..
a0: ff ff ff ff ff ff ff ff ff ff ff ff c3 43 ea 4b    ............?C?K
b0: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ?...............
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f5    ...............?

hello Luna2020,

please revise that if you’re seen CRC error reported from UART logs.
thanks

Hi Jerry,

How to revise it ? Take eeprom down from Nano SOM and use some tool to revise it? Now this nano cann’t bootup and can’t be flashed.

thanks

Hi,

Please check this thread.

1 Like

Hi WayneWWW,

Thanks so much for your solution, I sovled this issue.

1 Like