I have a jetson nano 4gb developer kit A01 which was working fine when I first purchased it. But it lay unused for quite sometime and I thought of reviving it and when I tried to boot it with the original image it wouldn’t boot. The green power light would turn on and turn off. As I did not have a UART cable, I went through multiple blogs and posts trying to figure out the issue. While researching, I stumbled upon the SDKM and figured would give it a try. Everytime I try flashing it (through the SDKM or through the flash.sh command) the flash fails. Different Error messages as well every time.
Attached are the UART logs as well as the flash logs. The command I ran to flash the board is sudo ./flash.sh jetson-nano-qspi-sd mmcblk0p1
The jetpack version being used is 4.6.4; Ubuntu (Native OS not VM) version 18.04.6LTS;
Please help.
Flash Logs:
sudo ./flash.sh jetson-nano-qspi-sd mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 7.4
###############################################################################
# Target Board Information:
# Name: jetson-nano-qspi-sd, Board Family: t210ref, SoC: Tegra 210,
# OpMode: production, Boot Authentication: ,
# Disk encryption: disabled ,
###############################################################################
./tegraflash.py --chip 0x21 --applet "/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/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.0014 ] Generating RCM messages
[ 0.0034 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[ 0.0042 ] RCM 0 is saved as rcm_0.rcm
[ 0.0046 ] RCM 1 is saved as rcm_1.rcm
[ 0.0046 ] List of rcm files are saved in rcm_list.xml
[ 0.0046 ]
[ 0.0047 ] Signing RCM messages
[ 0.0065 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0070 ] Assuming zero filled SBK key
[ 0.0108 ]
[ 0.0108 ] Copying signature to RCM mesages
[ 0.0125 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0133 ]
[ 0.0133 ] Boot Rom communication
[ 0.0150 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0155 ] RCM version 0X210001
[ 0.0600 ] Boot Rom communication completed
[ 1.0684 ]
[ 1.0686 ] dump EEPROM info
[ 1.0727 ] tegrarcm --oem platformdetails eeprom /home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[ 1.0752 ] Applet version 00.01.0000
[ 1.0781 ] Saved platform info in /home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[ 1.1558 ]
[ 1.1579 ] tegrarcm --reboot recovery
[ 1.1584 ] Applet version 00.01.0000
[ 1.1606 ]
Board ID(3448) version(200)
copying bctfile(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)... done.
copying bootloader(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying initrd(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
Making Boot image... done.
Existing sosfile(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
copying cpu_bootloader(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying bpffile(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done.
copying wb0boot(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/eks.img) reused.
./flash.sh: line 2661: [: : integer expression expected
copying dtbfile(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a02.dtb)... done.
Copying nv_boot_control.conf to rootfs
populating kernel to rootfs... done.
populating initrd to rootfs... done.
populating kernel_tegra210-p3448-0000-p3449-0000-a02.dtb to rootfs... done.
Making system.img...
populating rootfs from /home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/rootfs ... 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/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a02.dtb)... done.
copying cfgfile(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_max-spi_sd_p3448.xml) to flash.xml... done.
copying flasher(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/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-0000-p3449-0000-a02.dtb --applet nvtboot_recovery.bin --cmd "flash; reboot" --cfg flash.xml --chip 0x21 --bins "EBT cboot.bin; DTB tegra210-p3448-0000-p3449-0000-a02.dtb"
saving flash command in /home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/sbvino/nvidia/nvidia_sdk/JetPack_4.6.4_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/flash_win.bat
assign_value: crc-flash.xml.bin 1 65520 1
printf '\x1' | dd of=crc-flash.xml.bin bs=1 seek=65520 count=1 conv=notrunc
1+0 records in
1+0 records out
1 byte copied, 1.9794e-05 s, 50.5 kB/s
assign_value: crc-flash.xml.bin 0 65521 1
printf '\x0' | dd of=crc-flash.xml.bin bs=1 seek=65521 count=1 conv=notrunc
1+0 records in
1+0 records out
1 byte copied, 1.4883e-05 s, 67.2 kB/s
assign_string: crc-flash.xml.bin PTHD 65528 4
echo PTHD | dd of=crc-flash.xml.bin bs=1 seek=65528 count=4 conv=notrunc
4+0 records in
4+0 records out
4 bytes copied, 1.6694e-05 s, 240 kB/s
*** 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.0019 ] tegrasign --getmode mode.txt --key None
[ 0.0026 ] Assuming zero filled SBK key
[ 0.0027 ]
[ 0.0028 ] Generating RCM messages
[ 0.0047 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0054 ] RCM 0 is saved as rcm_0.rcm
[ 0.0057 ] RCM 1 is saved as rcm_1.rcm
[ 0.0057 ] List of rcm files are saved in rcm_list.xml
[ 0.0058 ]
[ 0.0058 ] Signing RCM messages
[ 0.0076 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0080 ] Assuming zero filled SBK key
[ 0.0118 ]
[ 0.0118 ] Copying signature to RCM mesages
[ 0.0136 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0144 ]
[ 0.0144 ] Parsing partition layout
[ 0.0162 ] tegraparser --pt flash.xml.tmp
[ 0.0171 ]
[ 0.0172 ] Using default ramcode: 0
[ 0.0173 ] Disable BPMP dtb trim, using default dtb
[ 0.0173 ]
[ 0.0173 ] Creating list of images to be signed
[ 0.0190 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.0217 ]
[ 0.0217 ] Generating signatures
[ 0.0235 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.0239 ] Assuming zero filled SBK key
[ 0.0638 ]
[ 0.0638 ] Generating br-bct
[ 0.0657 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.0691 ]
[ 0.0691 ] Updating boot device parameters
[ 0.0710 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.0717 ] Warning: No sdram params
[ 0.0718 ]
[ 0.0718 ] Updating bl info
[ 0.0737 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.0748 ]
[ 0.0748 ] Updating secondary storage information into bct
[ 0.0764 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.0770 ]
[ 0.0770 ] Updating Odmdata
[ 0.0788 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000
[ 0.0795 ] Warning: No sdram params
[ 0.0796 ]
[ 0.0796 ] Get Signed section of bct
[ 0.0816 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.0824 ]
[ 0.0825 ] Signing BCT
[ 0.0858 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.0863 ] Assuming zero filled SBK key
[ 0.0866 ]
[ 0.0866 ] Updating BCT with signature
[ 0.0882 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.0888 ]
[ 0.0889 ] Copying signatures
[ 0.0908 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.0989 ]
[ 0.0990 ] Updating BFS information on BCT
[ 0.1021 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.1040 ]
[ 0.1040 ] Boot Rom communication
[ 0.1070 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 0.1088 ] BR_CID: 0x32101001644495810c00000017040180
[ 0.1100 ] RCM version 0X210001
[ 0.1103 ] Boot Rom communication completed
[ 1.1185 ]
[ 1.1186 ] Sending BCTs
[ 1.1222 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct
[ 1.1242 ] Applet version 00.01.0000
[ 1.1267 ] Sending bct
[ 1.1269 ] [................................................] 100%
[ 1.3505 ]
[ 1.3541 ] tegrahost --chip 0x21 --align cboot.bin
[ 1.3560 ]
[ 1.3593 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[ 1.3643 ]
[ 1.3681 ] tegrasign --key None --list cboot.bin_list.xml
[ 1.3699 ] Assuming zero filled SBK key
[ 1.3829 ]
[ 1.3849 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[ 1.3861 ]
[ 1.3885 ] tegrahost --chip 0x21 --align tegra210-p3448-0000-p3449-0000-a02.dtb
[ 1.3892 ]
[ 1.3911 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0000-p3449-0000-a02.dtb tegra210-p3448-0000-p3449-0000-a02.dtb_blheader
[ 1.3924 ]
[ 1.3943 ] tegrasign --key None --list tegra210-p3448-0000-p3449-0000-a02.dtb_list.xml
[ 1.3950 ] Assuming zero filled SBK key
[ 1.3996 ]
[ 1.4015 ] tegrahost --updatesigheader tegra210-p3448-0000-p3449-0000-a02.dtb_blheader.encrypt tegra210-p3448-0000-p3449-0000-a02.dtb_blheader.hash zerosbk
[ 1.4022 ]
[ 1.4025 ] Sending bootloader and pre-requisite binaries
[ 1.4041 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt 0
[ 1.4046 ] Applet version 00.01.0000
[ 1.4064 ] Sending ebt
[ 1.4065 ] [................................................] 100%
[ 1.5107 ] Sending rp1
[ 1.5147 ] [................................................] 100%
[ 1.5687 ]
[ 1.5713 ] tegrarcm --boot recovery
[ 1.5726 ] Applet version 00.01.0000
[ 1.5755 ]
[ 1.5755 ] Retrieving storage infomation
[ 1.5772 ] tegrarcm --oem platformdetails storage storage_info.bin
[ 1.5776 ] Applet is not running on device. Continue with Bootloader
[ 1.5794 ]
[ 1.5811 ] tegradevflash --oem platformdetails storage storage_info.bin
[ 1.5815 ] Cboot is not running on device.
[ 1.5816 ]
Error: Return value 4
Command tegradevflash --oem platformdetails storage storage_info.bin
Failed flashing t210ref.
UART Logs:
k���AC�Cq�UQ����c{��'Hoދ�⋀�e��Z�EŐ|�<v'���Ȱ��)
[0023.467] Processing in recovery mode
[0023.471] A02 Bootrom Patch rev = 1023
[0023.474] Power-up reason: software reset
[0023.478] Established communication link with host
[0024.440] Odmdata from BCT: 0x000a4000
[0024.444] DebugPort= 0x3
[0024.446] SkipQspiOnly= 0x0
[0024.498] BoardId read from EEPROM/NCT: 3448
[0024.502] BoardID = 3448, SKU = 0x0
[0024.530] NvTbootInit_Porg: Setting GPIO_A6 for HDMI ...
[0024.535] max77620 setting MBLPD bit
[0024.538] No Battery Present
[0024.541] RamCode = 0
[0024.543] Platform has DDR4 type RAM
[0024.547] max77620 disabling SD1 Remote Sense
[0024.551] Setting DDR voltage to 1125mv
[0024.555] Serial Number of Pmic Max77663: 0x1d15e7
[0024.562] Entering ramdump check
[0024.565] Get RamDumpCarveOut = 0x0
[0024.569] RamDumpCarveOut=0x0, RamDumperFlag=0xe59ff3f8
[0024.574] Last reboot was clean, booting normally!
[0024.579] Sdram initialization is successful
[0024.583] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0024.589] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000
[0024.595] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000
[0024.601] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000
[0024.606] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000
[0024.612] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0024.618] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000
[0024.624] GSC3 Carveout Base=0x000000017f300000 Size=0x00d00000
[0024.640] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000
[0024.646] Platform-DebugCarveout: 0
[0024.650] Downloaded BCT successfully
[0024.812] Downloaded Bootloader successfully
[0024.866] Downloaded rp1 successfully
[0024.876] MAX77620_GPIO5 configured
[0024.879] CPU power rail is up
[0024.882] CPU clock enabled
[0024.886] Performing RAM repair
[0024.889] Updating A64 Warmreset Address to 0x92c002e9
[0024.895] Enable APE clock/reset
[0024.898] Error in NvTbootGetTOSBinaryLength: 0x11 !
[0024.903] Loading Secure OS image failed.
[0024.906] Set NvDecSticky Bits
[0024.910] GSC2 address ff53fffc value c0edbbcc
[0024.916] GSC MC Settings done
[0024.920] Next binary entry address: 0x92c00258
[0024.925] BoardId: 3448
[0024.927] Overriding pmu board id with proc board id
[0024.932] Display board id is not available
[0024.937] Starting CPU & Halting co-processor
[0025.546]
[0025.547] Debug Init done
[0025.550] Marked DTB cacheable
[0025.553] Bootloader DTB loaded at 0x83000400
[0025.557] DeviceTr�