Hello everyone,
Today I wanted to start my Jetson nano devkit 4gb with sd card as usual but nothing happened at all. It had been working flawlessly for weeks. Apart from the green power LED lighting up, nothing happens.
I have already read some forum posts and tried a lot of things. Including the following:
new SD card with fresh Jetpack flash
Replaced power supply
Micro USB cable replaced
Replaced HDMI cable
However, I wasn’t expecting much from this, as the setup was already working without any problems. I also did the following:
Installed Ubuntu 18.04 and the SDK Manager on a laptop
set the FC REC pin on the Jetson to GND
SDK Manager recognizes the Jetson but cannot flash it
the Jetson can be found with lsusb in terminal
a CRC8 error occurs
I also tried to flash it manually but I couldn’t get it to work
I have been working on this problem for days and hope you can help me.
Here is my SDKM-Log:
18:28:15 INFO: Flash Jetson Nano - flash: --- Reading board information succeeded.
18:28:15 INFO: Flash Jetson Nano - flash: Parsing baseboard EEPROM:
18:28:15 ERROR: Flash Jetson Nano - flash: --- Parsing board ID (ERROR: calculated CRC8 0xcf != stored CRC8 0x40) succeeded.
18:28:15 ERROR: Flash Jetson Nano - flash: --- Parsing board version (ERROR: calculated CRC8 0xcf != stored CRC8 0x40) succeeded.
18:28:15 ERROR: Flash Jetson Nano - flash: --- Parsing board SKU (ERROR: calculated CRC8 0xcf != stored CRC8 0x40) succeeded.
18:28:15 ERROR: Flash Jetson Nano - flash: --- Parsing board REV (ERROR: calculated CRC8 0xcf != stored CRC8 0x40) succeeded.
18:28:15 INFO: Flash Jetson Nano - flash: Parsing module EEPROM:
18:28:15 ERROR: Flash Jetson Nano - flash: --- Parsing board ID (ERROR: calculated CRC8 0xcf != stored CRC8 0x40) succeeded.
18:28:15 ERROR: Flash Jetson Nano - flash: --- Parsing board version (ERROR: calculated CRC8 0xcf != stored CRC8 0x40) succeeded.
18:28:15 ERROR: Flash Jetson Nano - flash: --- Parsing board SKU (ERROR: calculated CRC8 0xcf != stored CRC8 0x40) succeeded.
18:28:15 ERROR: Flash Jetson Nano - flash: --- Parsing board REV (ERROR: calculated CRC8 0xcf != stored CRC8 0x40) succeeded.
18:28:15 ERROR: Flash Jetson Nano - flash: Error: Target board not found.
18:28:15 ERROR: Flash Jetson Nano - flash: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_NANO_WITH_OS_IMAGE_COMP.sh; [error]: Error: Target board not found.
18:28:15 INFO: Flash Jetson Nano - flash: [ Component Install Finished with Error ]
18:28:15 INFO: Flash Jetson Nano - flash: [host] [ Disk Avail on Partition : 0.00 B ]
18:28:15 INFO: Flash Jetson Nano - flash: [ NV_L4T_FLASH_NANO_WITH_OS_IMAGE_COMP Install took 7s ]
18:28:15 ERROR: Flash Jetson Nano - flash: command terminated with error***
18:28:15 SUMMARY: Flash Jetson Nano - flash: First Error: Installation failed.**
18:28:15 SUMMARY: NVIDIA Container Runtime with Docker integration (Beta) - target: Depends on failed component
18:28:15 SUMMARY: Multimedia API - target: Depends on failed component
18:28:15 SUMMARY: TensorRT on Target - target: Depends on failed component
18:28:15 SUMMARY: VisionWorks on Target - target: Depends on failed component
18:28:15 SUMMARY: VPI on Target - target: Depends on failed component
18:28:15 SUMMARY: CUDA Toolkit for L4T - target: Depends on failed component
18:28:15 SUMMARY: cuDNN on Target - target: Depends on failed component
18:28:15 SUMMARY: OpenCV on Target - target: Depends on failed component
18:28:15 SUMMARY: Nsight Systems CLI - target: Depends on failed component
18:28:15 SUMMARY: DateTime Target Setup - target: Depends on failed component
Do it like:
sudo BOARID=xxx BOARDSKU=yyy FAB=zzz ./flash.sh jetson-nano-devkit internal
to skip the EEPROM check.
You should find values of these BOARDID stuff in the flashing log.
Then after it boots up successfully, do this to fix the checksum error:
Hi,
If you are still able to log into the Ubuntu system, dump the EEPROM content with
sudo i2cdump -f -y 0 0x50
Re-calculate the last (255) CRC bit, and overwrite it with
sudo i2cset -f -y 0 0x50 0xff <new_value>
If you cannot login, then manually add board info to the flashing command to bypass EEPROM reading
BOARDID=3668 BOARDSKU=0000 FAB=100
Check the detailed information in Linux_for_Tegra/tools/kernel_flash/README_initrd_flash.txt.
hello,
I can’t find the board id and sku anywhere in the log, not even using the search function. What does the line containing this information look like? Is there any other way to find out?
Are there any special steps I need to take before I can use the flash command you mentioned?
Dump the entire log from SDKM, please.
Can you try with BOARDID=3448 BOARDSKU=0000 FAB=402
?
I followed these steps first:
Failed flash - Depends on failed component - #5 by DaveYYY
Then I typed in:
sudo BOARDID=3448 BOARDSKU=0000 FAB=402 ./flash.sh jetson-nano-devkit internal
It failed…this is the output:
# L4T BSP Information:
# R32 , REVISION: 7.4
###############################################################################
# Target Board Information:
# Name: jetson-nano-devkit, Board Family: t210ref, SoC: Tegra 210,
# OpMode: production, Boot Authentication: ,
# Disk encryption: disabled ,
###############################################################################
Board ID(3448) version(402)
Generated UUID cc91556c-1168-4a84-b194-3861cce941ab for mounting root APP partition.
copying bctfile(/home/justin/Downloads/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)... done.
copying bootloader(/home/justin/Downloads/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying initrd(/home/justin/Downloads/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
Making Boot image... done.
Existing sosfile(/home/justin/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/justin/Downloads/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
copying cpu_bootloader(/home/justin/Downloads/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying bpffile(/home/justin/Downloads/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done.
copying wb0boot(/home/justin/Downloads/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/justin/Downloads/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/justin/Downloads/Linux_for_Tegra/bootloader/eks.img) reused.
./flash.sh: Zeile 2661: [: : Ganzzahliger Ausdruck erwartet.
copying dtbfile(/home/justin/Downloads/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.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-b00.dtb to rootfs... done.
Making system.img...
populating rootfs from /home/justin/Downloads/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/justin/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/justin/Downloads/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)... done.
copying cfgfile(/home/justin/Downloads/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_max-spi_sd_p3448.xml) to flash.xml... done.
copying flasher(/home/justin/Downloads/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/justin/Downloads/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-b00.dtb --applet nvtboot_recovery.bin --cmd "flash; reboot" --cfg flash.xml --chip 0x21 --skipuid --bins "EBT cboot.bin; DTB tegra210-p3448-0000-p3449-0000-b00.dtb"
saving flash command in /home/justin/Downloads/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/justin/Downloads/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 Datensätze ein
1+0 Datensätze aus
1 Byte kopiert, 3,5693e-05 s, 28,0 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 Datensätze ein
1+0 Datensätze aus
1 Byte kopiert, 2,1706e-05 s, 46,1 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 Datensätze ein
4+0 Datensätze aus
4 Bytes kopiert, 2,6108e-05 s, 153 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.0014 ] tegrasign --getmode mode.txt --key None
[ 0.0021 ] Assuming zero filled SBK key
[ 0.0037 ]
[ 0.0038 ] Generating RCM messages
[ 0.0052 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0058 ] RCM 0 is saved as rcm_0.rcm
[ 0.0074 ] RCM 1 is saved as rcm_1.rcm
[ 0.0075 ] List of rcm files are saved in rcm_list.xml
[ 0.0075 ]
[ 0.0076 ] Signing RCM messages
[ 0.0093 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0099 ] Assuming zero filled SBK key
[ 0.0144 ]
[ 0.0145 ] Copying signature to RCM mesages
[ 0.0164 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0174 ]
[ 0.0175 ] Parsing partition layout
[ 0.0194 ] tegraparser --pt flash.xml.tmp
[ 0.0202 ]
[ 0.0203 ] Using default ramcode: 0
[ 0.0203 ] Disable BPMP dtb trim, using default dtb
[ 0.0203 ]
[ 0.0204 ] Creating list of images to be signed
[ 0.0222 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.0265 ]
[ 0.0265 ] Generating signatures
[ 0.0285 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.0294 ] Assuming zero filled SBK key
[ 0.0769 ]
[ 0.0770 ] Generating br-bct
[ 0.0786 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.0844 ]
[ 0.0845 ] Updating boot device parameters
[ 0.0864 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.0870 ] Warning: No sdram params
[ 0.0871 ]
[ 0.0872 ] Updating bl info
[ 0.0893 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.0905 ]
[ 0.0905 ] Updating secondary storage information into bct
[ 0.0924 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.0933 ]
[ 0.0934 ] Updating Odmdata
[ 0.0956 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000
[ 0.0962 ] Warning: No sdram params
[ 0.0963 ]
[ 0.0963 ] Get Signed section of bct
[ 0.0983 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.0990 ]
[ 0.0990 ] Signing BCT
[ 0.1027 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.1033 ] Assuming zero filled SBK key
[ 0.1037 ]
[ 0.1037 ] Updating BCT with signature
[ 0.1056 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.1063 ]
[ 0.1063 ] Copying signatures
[ 0.1082 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.1114 ]
[ 0.1114 ] Updating BFS information on BCT
[ 0.1133 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.1141 ]
[ 0.1141 ] Boot Rom communication
[ 0.1160 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.1166 ] RCM version 0X210001
[ 0.1625 ] Boot Rom communication completed
[ 1.1717 ]
[ 1.1718 ] Sending BCTs
[ 1.1760 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct
[ 1.1785 ] Applet version 00.01.0000
[ 1.1969 ] Sending bct
[ 1.1973 ] [................................................] 100%
[ 1.2825 ]
[ 1.2867 ] tegrahost --chip 0x21 --align cboot.bin
[ 1.2891 ]
[ 1.2931 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[ 1.2995 ]
[ 1.3039 ] tegrasign --key None --list cboot.bin_list.xml
[ 1.3060 ] Assuming zero filled SBK key
[ 1.3399 ]
[ 1.3431 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[ 1.3450 ]
[ 1.3481 ] tegrahost --chip 0x21 --align tegra210-p3448-0000-p3449-0000-b00.dtb
[ 1.3492 ]
[ 1.3514 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0000-p3449-0000-b00.dtb tegra210-p3448-0000-p3449-0000-b00.dtb_blheader
[ 1.3533 ]
[ 1.3558 ] tegrasign --key None --list tegra210-p3448-0000-p3449-0000-b00.dtb_list.xml
[ 1.3567 ] Assuming zero filled SBK key
[ 1.3651 ]
[ 1.3676 ] tegrahost --updatesigheader tegra210-p3448-0000-p3449-0000-b00.dtb_blheader.encrypt tegra210-p3448-0000-p3449-0000-b00.dtb_blheader.hash zerosbk
[ 1.3690 ]
[ 1.3695 ] Sending bootloader and pre-requisite binaries
[ 1.3716 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt 0
[ 1.3726 ] Applet version 00.01.0000
[ 1.3914 ] Sending ebt
[ 1.4603 ]
Error: Return value 1
Command tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt 0
Failed flashing t210ref.```
Dump this log during flashing:
The UART on the NVIDIA Jetson Nano Developer Kit GPIO Header is simple to use, but there is a trick you should know before starting.
Est. reading time: 4 minutes
Hi,
Sorry that there are some other tricks required for Jetson Nano in this case.
Please refer to this post:
Please also try this post. This one is actually same as your problem.
The difference is you are using sdcard module while he is using emmc. You should append below line in “p3448-0000.conf.common” and flash:
BCFFILE=“bootloader/${target_board}/cfg/board_config_p3448.xml”;
Also, make sure board_config_p3448.xml has the correct info of your board.
1 Like
I am overwhelmed…it worked!
For all those who have the same problem, here is my solution (I used an Ubuntu 18.04 PC):
Driver Package (BSP)
Simple Root Filesystem
$ tar xf ${L4T_RELEASE_PACKAGE}
$ sudo tar xpf ${SAMPLE_FS_PACKAGE} -C Linux_for_Tegra/rootfs/
$ cd Linux_for_Tegra/
$ sudo ./apply_binaries.sh
$ sudo ./tools/l4t_flash_prerequisites.sh
the Jetson should be in recovery mode (connect FC REC to GND)
now do the following:
Add lines BCFFILE="bootloader/${target_board}/cfg/board_config_p3448.xml"
to file p3448-0000.conf.common
Add lines BOARDID=“3448”;
and FAB=“000”;
to file p3449-0000+p3448-0000-qspi-sd.conf
Ran flash script: sudo ./flash.sh jetson-nano-devkit mmcblk0p1
for me, the flashing was successful at this point
Special thanks to DaveYYY!
system
Closed
June 4, 2024, 5:05am
14
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.