I am facing a problem with jetson nano 2GB dev kit, it first started when i flashed the jetson nano and managed to reach the part where I was supposed to login, the password was always incorrect so I decided to flash again and the result was the jetson nano would power for just five seconds before turning off, I tried multiple attempts after that like using different jetpacks on SD Card and even trying to flash with sdk manager on a separate ubuntu 18.04 system, I have tried using L4T flash.sh with different methods, recognizing that the 2gb-dev-kit configuration case flashes both qspi and sd card which was visible in the configuration file, followed the documentation here for t186 keeping in mind that jetson 2GB devkit is t210 and while using the L4T on a ubuntu 20.04, heres the command I used:
./flash.sh jetson-nano-2gb-devkit mmcblk0p1
Heres the terminal output:
###############################################################################
L4T BSP Information:
R32 , REVISION: 7.4
###############################################################################
Target Board Information:
Name: jetson-nano-2gb-devkit, Board Family: t210ref, SoC: Tegra 210,
OpMode: production, Boot Authentication: ,
Disk encryption: disabled ,
###############################################################################
./tegraflash.py --chip 0x21 --applet “/home/chad/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.0022 ] Generating RCM messages
[ 0.0047 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/chad/nano/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[ 0.0057 ] RCM 0 is saved as rcm_0.rcm
[ 0.0063 ] RCM 1 is saved as rcm_1.rcm
[ 0.0063 ] List of rcm files are saved in rcm_list.xml
[ 0.0063 ]
[ 0.0063 ] Signing RCM messages
[ 0.0086 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0095 ] Assuming zero filled SBK key
[ 0.0149 ]
[ 0.0149 ] Copying signature to RCM mesages
[ 0.0175 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0193 ]
[ 0.0194 ] Boot Rom communication
[ 0.0220 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0230 ] RCM version 0X210001
[ 0.1204 ] Boot Rom communication completed
[ 1.1279 ]
[ 1.1280 ] dump EEPROM info
[ 1.1315 ] tegrarcm --oem platformdetails eeprom /home/chad/nano/Linux_for_Tegra/bootloader/cvm.bin
[ 1.1333 ] Applet version 00.01.0000
[ 1.2072 ] Saved platform info in /home/chad/nano/Linux_for_Tegra/bootloader/cvm.bin
[ 1.2852 ]
[ 1.2908 ] tegrarcm --reboot recovery
[ 1.2942 ] Applet version 00.01.0000
[ 1.3678 ]
Board ID(3448) version(200)
copying bctfile(/home/chad/nano/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)… done.
copying bootloader(/home/chad/nano/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying initrd(/home/chad/nano/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
Making Boot image… done.
Existing sosfile(/home/chad/nano/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/chad/nano/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)… done.
copying cpu_bootloader(/home/chad/nano/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying bpffile(/home/chad/nano/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)… done.
copying wb0boot(/home/chad/nano/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)… done.
Existing tosfile(/home/chad/nano/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/chad/nano/Linux_for_Tegra/bootloader/eks.img) reused.
./flash.sh: line 2661: [: : integer expression expected
copying dtbfile(/home/chad/nano/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/chad/nano/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/chad/nano/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/chad/nano/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a02.dtb)… done.
copying cfgfile(/home/chad/nano/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_max-spi_sd_p3448.xml) to flash.xml… done.
copying flasher(/home/chad/nano/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
Existing flashapp(/home/chad/nano/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/chad/nano/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/chad/nano/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, 0.00018123 s, 5.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, 0.000158845 s, 6.3 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, 0.000222733 s, 18.0 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.0199 ] tegrasign --getmode mode.txt --key None
[ 0.0246 ] Assuming zero filled SBK key
[ 0.0421 ]
[ 0.0427 ] Generating RCM messages
[ 0.0865 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0903 ] RCM 0 is saved as rcm_0.rcm
[ 0.1272 ] RCM 1 is saved as rcm_1.rcm
[ 0.1273 ] List of rcm files are saved in rcm_list.xml
[ 0.1273 ]
[ 0.1275 ] Signing RCM messages
[ 0.1333 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.1372 ] Assuming zero filled SBK key
[ 0.1583 ]
[ 0.1584 ] Copying signature to RCM mesages
[ 0.1647 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.1718 ]
[ 0.1720 ] Parsing partition layout
[ 0.1776 ] tegraparser --pt flash.xml.tmp
[ 0.1825 ]
[ 0.1832 ] Using default ramcode: 0
[ 0.1833 ] Disable BPMP dtb trim, using default dtb
[ 0.1833 ]
[ 0.1834 ] Creating list of images to be signed
[ 0.1884 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.3476 ]
[ 0.3477 ] Generating signatures
[ 0.3518 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.3549 ] Assuming zero filled SBK key
[ 0.5397 ]
[ 0.5398 ] Generating br-bct
[ 0.5779 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.6287 ]
[ 0.6289 ] Updating boot device parameters
[ 0.6343 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.6377 ] Warning: No sdram params
[ 0.6506 ]
[ 0.6507 ] Updating bl info
[ 0.6562 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.6993 ]
[ 0.6995 ] Updating secondary storage information into bct
[ 0.7051 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.7306 ]
[ 0.7307 ] Updating Odmdata
[ 0.7361 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000
[ 0.7396 ] Warning: No sdram params
[ 0.7481 ]
[ 0.7485 ] Get Signed section of bct
[ 0.7559 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.7632 ]
[ 0.7633 ] Signing BCT
[ 0.7723 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.7753 ] Assuming zero filled SBK key
[ 0.7763 ]
[ 0.7764 ] Updating BCT with signature
[ 0.7795 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.7867 ]
[ 0.7868 ] Copying signatures
[ 0.7895 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.8960 ]
[ 0.8963 ] Updating BFS information on BCT
[ 0.9027 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.9302 ]
[ 0.9304 ] Boot Rom communication
[ 0.9367 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 0.9412 ] BR_CID: 0x32101001644195c024000000160781c0
[ 0.9685 ] RCM version 0X210001
[ 1.0123 ] Boot Rom communication completed
[ 2.0212 ]
[ 2.0214 ] Sending BCTs
[ 2.0267 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct
[ 2.0301 ] Applet version 00.01.0000
[ 2.1014 ] Sending bct
[ 2.1015 ] […] 100%
[ 2.3254 ]
[ 2.3288 ] tegrahost --chip 0x21 --align cboot.bin
[ 2.3309 ]
[ 2.3345 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[ 2.6343 ]
[ 2.6421 ] tegrasign --key None --list cboot.bin_list.xml
[ 2.6458 ] Assuming zero filled SBK key
[ 2.6854 ]
[ 2.6887 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[ 2.7105 ]
[ 2.7516 ] tegrahost --chip 0x21 --align tegra210-p3448-0000-p3449-0000-a02.dtb
[ 2.7556 ]
[ 2.7614 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0000-p3449-0000-a02.dtb tegra210-p3448-0000-p3449-0000-a02.dtb_blheader
[ 2.7845 ]
[ 2.7898 ] tegrasign --key None --list tegra210-p3448-0000-p3449-0000-a02.dtb_list.xml
[ 2.7922 ] Assuming zero filled SBK key
[ 2.8020 ]
[ 2.8052 ] tegrahost --updatesigheader tegra210-p3448-0000-p3449-0000-a02.dtb_blheader.encrypt tegra210-p3448-0000-p3449-0000-a02.dtb_blheader.hash zerosbk
[ 2.8162 ]
[ 2.8181 ] Sending bootloader and pre-requisite binaries
[ 2.8234 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt 0
[ 2.8268 ] Applet version 00.01.0000
[ 2.8991 ] Sending ebt
[ 2.9000 ] […] 100%
[ 3.0073 ] Sending rp1
[ 3.0115 ] […] 100%
[ 3.0659 ]
[ 3.0713 ] tegrarcm --boot recovery
[ 3.0747 ] Applet version 00.01.0000
[ 3.1465 ]
[ 3.1465 ] Retrieving storage infomation
[ 3.1492 ] tegrarcm --oem platformdetails storage storage_info.bin
[ 3.1503 ] Applet is not running on device. Continue with Bootloader
[ 3.8703 ]
[ 3.9327 ] tegradevflash --oem platformdetails storage storage_info.bin
[ 3.9364 ] Cboot version 00.01.0000
[ 3.9875 ] Saved platform info in storage_info.bin
[ 3.9884 ]
[ 3.9884 ] Flashing the device
[ 3.9909 ] tegradevflash --pt flash.xml.bin --storageinfo storage_info.bin --create
[ 3.9922 ] Cboot version 00.01.0000
[ 4.0388 ] Writing partition GPT with gpt.bin
[ 4.0390 ] […] 100%
[ 4.0453 ] Writing partition PT with crc-flash.xml.bin
[ 18.7287 ] […] 100%
[ 18.7345 ] Writing partition NVC with nvtboot.bin.encrypt
[ 22.6438 ] […] 100%
[ 22.6570 ] Writing partition NVC_R with nvtboot.bin.encrypt
[ 32.6705 ] […] 100%
[ 32.6908 ] Writing partition TBC with nvtboot_cpu.bin.encrypt
[ 42.7115 ] […] 100%
[ 42.7244 ] Writing partition RP1 with kernel_tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt
[ 47.6224 ] […] 100%
[ 47.6386 ] Writing partition EBT with cboot.bin.encrypt
[ 61.5651 ] […] 100%
[ 61.5895 ] Writing partition WB0 with warmboot.bin.encrypt
[ 90.6468 ] […] 100%
[ 90.6573 ] Writing partition BPF with sc7entry-firmware.bin.encrypt
[ 90.9195 ] […] 100%
[ 90.9314 ] Writing partition TOS with tos-mon-only.img.encrypt
[ 91.1934 ] […] 100%
[ 91.2066 ] Writing partition DTB with kernel_tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt
[ 94.6415 ] […] 100%
[ 94.6584 ] Writing partition LNX with boot.img.encrypt
[ 108.5857 ] […] 100%
[ 108.6226 ] Warning: EKS partition magic header mismatch!
[ 148.4198 ] Writing partition EKS with eks.img
[ 148.4204 ] […] 100%
[ 148.4296 ] Writing partition BMP with bmp.blob
[ 148.6923 ] […] 100%
[ 148.7177 ] Writing partition RP4 with rp4.blob
[ 157.7643 ] […] 100%
[ 157.7874 ] Writing partition VER_b with qspi_bootblob_ver.txt
[ 165.6148 ] […] 100%
[ 165.6320 ] Writing partition VER with qspi_bootblob_ver.txt
[ 165.8952 ] […] 100%
[ 165.9051 ] Writing partition APP with system.img
[ 166.1678 ] […] 100%
[ 816.8792 ]
[ 816.8850 ] tegradevflash --write BCT P3448_A00_lpddr4_204Mhz_P987.bct
[ 816.8886 ] Cboot version 00.01.0000
[ 816.9184 ] Writing partition BCT with P3448_A00_lpddr4_204Mhz_P987.bct
[ 816.9196 ] […] 100%
[ 823.5750 ]
[ 823.5751 ] Flashing completed
[ 823.5754 ] Coldbooting the device
[ 823.5806 ] tegradevflash --reboot coldboot
[ 823.5840 ] Cboot version 00.01.0000
[ 823.6142 ]
*** The target t210ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.
I have tried this with L4T 32.7.1 for jetpack 4.6.1, it was also “successful” but again the problem was not fixed, I tried L4T 32.7.1 from a ubuntu 18.04 host system, once I replugged the powerjack with J48 jumpered and recovery pins not jumpered, minicom didn’t find /dev/ttyACM0 and it was the same. I have tried different ways of flash.sh previously and many of them failed but what I saw was that they changed the jetson nano’s bootloader behaviour, instead of lighting LED for 5 seconds, it would only for 1 second, although the “successful” put the behaviour back to its former behaviour. In recovery mode only can I see with lsusb and dmesg -w the jetson nano, I haven’t been able to see COM7 on windows or /dev/ttyACM0 since the jetson nano is only visible in recovery mode. The L4T
Its been almost two weeks since this booting issue, I am interested in knowing the set of commands to follow with L4T 32.7.1 BSP to get the jetson nano 2GB devkit flashed properly and running like it normally does, I believe I am missing the use of another command or doing it in the wrong sequence, or it might (unlikely) require some modification of the configuration file for jetson nano 2gb.