I meet a problem when the Jetson Nano boot up.
When I try to boot up my Jetson Nano, it show below messages and then get stick.
My micro SD card is “SanDisk Extreme microSDXC UHS-I (V30)(A2)128GB” and the power supply is 5V4A.
Any thing I can do for this? Any help is appreciated.
Thanks.
[0000.126] [TegraBoot] (version 00.00.2018.01-l4t-33e7fa82)
[0000.131] Processing in cold boot mode Bootloader 2
[0000.135] A02 Bootrom Patch rev = 1023
[0000.139] Power-up reason: pmc por
[0000.142] No Battery Present
[0000.145] pmic max77620 reset reason
[0000.148] pmic max77620 NVERC : 0x40
[0000.152] RamCode = 0
[0000.154] Platform has DDR4 type RAM
[0000.157] max77620 disabling SD1 Remote Sense
[0000.161] Setting DDR voltage to 1125mv
[0000.165] Serial Number of Pmic Max77663: 0x133de9
[0000.173] Entering ramdump check
[0000.176] Get RamDumpCarveOut = 0x0
[0000.179] RamDumpCarveOut=0x0, RamDumperFlag=0xe59ff3f8
[0000.184] Last reboot was clean, booting normally!
[0000.189] Sdram initialization is successful
[0000.193] SecureOs Carveout Base=0x00000000ff800000 Size=0x00800000
[0000.199] Lp0 Carveout Base=0x00000000ff780000 Size=0x00001000
[0000.205] BpmpFw Carveout Base=0x00000000ff700000 Size=0x00080000
[0000.211] GSC1 Carveout Base=0x00000000ff600000 Size=0x00100000
[0000.217] GSC2 Carveout Base=0x00000000ff500000 Size=0x00100000
[0000.223] GSC4 Carveout Base=0x00000000ff400000 Size=0x00100000
[0000.228] GSC5 Carveout Base=0x00000000ff300000 Size=0x00100000
[0000.234] GSC3 Carveout Base=0x000000017f300000 Size=0x00d00000
[0000.250] RamDump Carveout Base=0x00000000ff280000 Size=0x00080000
[0000.256] Platform-DebugCarveout: 0
[0000.260] Nck Carveout Base=0x00000000ff080000 Size=0x00200000
[0000.266] Non secure mode, and RB not enabled.
[0000.272] Invalid GPT Partition
[0000.287] Using BFS PT to query partitions
[0000.291] failed to load NvTbootTbootCpu from (2:0)
[0000.296] re-load NvTbootTbootCpu from (4:0)
[0000.487] Csd NumOfBlocks=249737216
[0000.497] Invalid GPT Partition
[0000.687] Using BFS PT to query partitions
[0097.011] Bootloader is not valid
[0097.018] Invalid GPT Partition
I used “SD Formatter 4.0” to flash the sdcard and then used “Win32 Disk Imager” to burn the image.
Is it necessary to use sdkmanager to flash the sdcard? Or I can use the tool “SD Formatter 4.0” to instead of “sdkmanager” to flash the sdcard.
May I know how to use sdkmanager to flash the sdcard?
Be sure to supply enough power to the Nano using a short and good USB cable or use the plug. I used a long (and not so good) cable first. I had trouble booting and the Nano destroyed three SD cards before I found that my cable was not good.
I have no knowledge about the way the Nano boots nor the errors shown in your log, but since it complains about an invalid partition your SD card may be broken too.
When I enter a broken SD card into a linux computer and look at the partion table using fdisk and command p the SD card only has a capacity of 12G, about the length of the Nano image written on it. Originally they had a capacity of 16 and 32 Gb.
When the Nano first boots, it’s / partition is expanded to fit the extents of the drive using resize2fs. It is 100% normal that there be a bunch of partitions not fitting the whole drive before the first boot. This happens on Pi as well. It’s a problem unique to flashing an image to a card of arbitrary size. Easy way to fix is simply to expand the last partition on boot so that’s what the distros do.
I try to use sdkmanager to flash the sdcard and install sdk on Ubuntu 18.04.
Many errors occur like below messages when I execute sdkmanager command.
Any comments are appreciated. Thanks.
23:55:27 ERROR : Flash Jetson Nano : lost connection
23:57:38 INFO : Flash Jetson Nano : exit status 255
23:57:38 WARNING : Flash Jetson Nano : command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_FLASH_NANO_WITH_OS_IMAGE_COMP.sh nvidia@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nvidia@192.168.55.1 "~/tmp_NV_L4T_FLASH_NANO_WITH_OS_IMAGE_COMP.sh && rm -f ~/tmp_NV_L4T_FLASH_NANO_WITH_OS_IMAGE_COMP.sh" finished with error, but ignored
23:57:38 INFO : Flash Jetson Nano : exec_command: sleep 20
23:57:59 INFO : Flash Jetson Nano : exec_command: sudo ./flash.sh jetson-nano-qspi-sd mmcblk0p1
23:58:00 INFO : Flash Jetson Nano : ###############################################################################
23:58:00 INFO : Flash Jetson Nano : # L4T BSP Information:
23:58:00 INFO : Flash Jetson Nano : # R32 (release), REVISION: 1.0, GCID: 14531094, BOARD: t210ref, EABI: aarch64,
23:58:00 INFO : Flash Jetson Nano : # DATE: Wed Mar 13 07:46:13 UTC 2019
23:58:00 INFO : Flash Jetson Nano : ###############################################################################
23:58:00 INFO : Flash Jetson Nano : # Target Board Information:
23:58:00 INFO : Flash Jetson Nano : # Name: jetson-nano-qspi-sd, Board Family: t210ref, SoC: Tegra 210,
23:58:00 INFO : Flash Jetson Nano : # OpMode: production, Boot Authentication: ,
23:58:00 INFO : Flash Jetson Nano : ###############################################################################
23:58:00 INFO : Flash Jetson Nano : ./tegraflash.py --chip 0x21 --applet "/home/allen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3448/Linux_for_Tegra/bootloader/nvtboot_recovery.bin" --skipuid --cmd "dump eeprom boardinfo cvm.bin"
23:58:00 ERROR : Flash Jetson Nano : /usr/bin/env:
23:58:00 ERROR : Flash Jetson Nano : ‘python’
23:58:00 ERROR : Flash Jetson Nano : : No such file or directory
23:58:00 ERROR : Flash Jetson Nano :
23:58:00 INFO : Flash Jetson Nano : Reading board information failed.
23:58:00 INFO : Flash Jetson Nano : exit status 1
23:58:00 INFO : Flash Jetson Nano : [ Component Install Finished with Error ]
23:58:00 ERROR : Flash Jetson Nano : NV_L4T_FLASH_NANO_WITH_OS_IMAGE_COMP command sudo ./flash.sh jetson-nano-qspi-sd mmcblk0p1 finished with error
23:58:00 INFO : Flash Jetson Nano :
23:58:00 INFO : Flash Jetson Nano : [ 16.00 KB used. Disk Avail: 50.21 GB ]
23:58:00 INFO : Flash Jetson Nano : [ NV_L4T_FLASH_NANO_WITH_OS_IMAGE_COMP Install took 4m43s ]
23:58:00 INFO : Flash Jetson Nano : command sudo ./flash.sh jetson-nano-qspi-sd mmcblk0p1 finished with error
23:58:00 ERROR : Flash Jetson Nano : command terminated with error
23:58:00 ERROR : install 'Flash Jetson Nano' failure, command < cd '/home/allen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3448' ; '/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter' -a='install' -c='eyJpZCI6Ik5WX0w0VF9GTEFTSF9OQU5PX1dJVEhfT1NfSU1BR0VfQ09NUCIsIm5hbWUiOiJGbGFzaCBKZXRzb24gTmFubyIsImRlc2NyaXB0aW9uIjoiRmxhc2ggSmV0c29uIE5hbm8iLCJjb21wVHlwZSI6ImZsYXNoIiwiaXNWaXNpYmxlIjp0cnVlLCJsaWNlbnNlSWQiOiJOVl9KRVRQQUNLX09TX0VVTEEiLCJpc0RldGVjdGFibGVJbnN0YWxsIjpmYWxzZSwiaXNJbnN0YWxsUGF0aEN1c3RvbWl6YWJsZSI6dHJ1ZSwidGltZW91dFNlY29uZHMiOjM2MDAsInZlcnNpb24iOiIzMi4xIiwib3BlcmF0aW5nU3lzdGVtcyI6WyJ1YnVudHUxNjA0IiwidWJ1bnR1MTgwNCJdLCJpbnN0YWxsU2l6ZU1CIjozMDA1MywiZG93bmxvYWRGaWxlcyI6W10sImluc3RhbGxQYXJhbWV0ZXJzIjp7Imluc3RhbGxEaXIiOiJ7e1RBUkdFVF9ST09UfX0ve3tCVU5ETEVfVElUTEV9fV97e0JPQVJEX0lEfX0vTGludXhfZm9yX1RlZ3JhIiwiaW5zdGFsbENvbW1hbmRzIjpbeyJyZW1vdGVFeGVjQmFzaCI6WyJzdWRvIHJlYm9vdCBmb3JjZWQtcmVjb3ZlcnkiXSwiaWdub3JlRXJyb3IiOnRydWV9LHsiY29tbWVudCI6IndhaXQgZm9yIGRldmljZSB0byBzaHV0ZG93biBhbmQgdG8gZ28gdG8gcmVjb3ZlcnkgbW9kZSIsInVzZXJDb21tYW5kIjoic2xlZXAgMjAifSx7InVzZXJDb21tYW5kIjoic3VkbyAuL2ZsYXNoLnNoIGpldHNvbi1uYW5vLXFzcGktc2Q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hL252aWRpYV9zZGsvSmV0UGFja180LjJfTGludXhfUDM0NDgiLCJpbnN0YWxsUm9vdCI6Ii9ob21lL2FsbGVuL252aWRpYS9udmlkaWFfc2RrIiwiYm9hcmRJRCI6IlAzNDQ4IiwidGFyZ2V0QWNjZXNzSW5mbyI6eyJ1c2VyIjoibnZpZGlhIiwicGFzc3dvcmQiOiJudmlkaWEiLCJob3N0IjoiMTkyLjE2OC41NS4xIiwicG9ydCI6IjIyIn0sImlzRHJ5UnVuIjpmYWxzZX0=' -i='NV_L4T_FLASH_NANO_WITH_OS_IMAGE_COMP' -v='32.1' -l='/home/allen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3448' -L='/home/allen/.nvsdkm/logs/JetPack_4.2_Linux' -p='2039' -t='P3448-0000' -e='undefined' > terminated with error
23:58:01 INFO : install 'Device Mode Host Setup in Target SDK' Skipped
23:58:01 INFO : install 'DateTime Target Setup' Skipped
23:58:01 INFO : install 'CUDA Toolkit for L4T' Skipped
23:58:01 INFO : install 'cuDNN on Target' Skipped
23:58:01 INFO : install 'TensorRT on Target' Skipped
23:58:01 INFO : install 'OpenCV on Target' Skipped
23:58:01 INFO : install 'VisionWorks on Target' Skipped
23:58:01 INFO : install 'Multimedia API' Skipped
23:58:03 INFO : All done!
Below is the usb information. The Jetson Nano can be detected as the first line 0955:7f21.
$ lsusb
Bus 001 Device 003: ID 0955:7f21 NVidia Corp.
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
If you are using a VM, then this will cause failure. There is no official support for using a VM host, but people do get this to work if they manage to bind the USB to the VM. During flash USB will disconnect and reconnect…if the VM loses the USB and does not reacquire it, then this will fail.
Another issue is that the flash software does not necessarily detect that the host has all necessary packages. Python2 is one such package which is needed but not tested for. If you are on your host PC, then try this prior to flash:
In flash.sh, I saw the usage to describe how to use the script “flash.sh”.
As you said, the mmcblk0p1 should be sdcard.
I am confused that what difference between the mmcblk0p1 and mmcblk1p1?
Hello Wayne,
We have the Jetson Nano Production version which has only an eMMC , no SD card onboard.
When we try to flash it with L4T using the command $ sudo ./flash.sh jetson-nano-qspi-sd mmcblk0p1
The log as shown below stops at this point
[ 1.5030 ] Applet is not running on device. Continue with Bootloader
[ 2.2460 ]
[ 2.2504 ] tegradevflash --oem platformdetails storage storage_info.bin
[ 2.2534 ] Cboot version 00.01.0000
[ 2.2599 ] Saved platform info in storage_info.bin[/code][/code]
I’m using the Auvidea JN30B Carrier board
and right now I tried flashing it using this command$ sudo ./flash.sh jetson-nano-emmc mmcblk0p1 but stuck for more than an hour at
Making system.img…
populating rootfs from /media/muhammed/Me/NVIDIA/target/JetPack_4.2.2_Linux_GA_P3448-0020/Linux_for_Tegra/rootfs …