Xavier nx nvme boot process

Dear community i have a problem woth xavier nx dev it while booting its not working

  1. i have tried with the bootFromExternalStorage i got this error

santosh@NAVPC17:~/bootFromExternalStorage$ ./flash_jetson_external_storage.sh
System has not been booted with systemd as init system (PID 1). Can’t operate.
Failed to connect to bus: Host is down
/home/santosh/bootFromExternalStorage/R35.2.1/Linux_for_Tegra
Checking Jetson …
jetson-xavier-nx-devkit-emmc
Make sure the SD card and the force recovery jumper are removed. Continue (Y/n)? y
System has not been booted with systemd as init system (PID 1). Can’t operate.
Failed to connect to bus: Host is down
Flashing to nvme0n1p1
nvme0n1p1
user entered nvme0n1p1
*** Checking ONLINE mode … OK.
*** Checking target board connection … 0 connections found.
*** Error: No Jetson device found.
*** ERROR: Parsing board did failed
2. i have installed wsl ubuntu 18.04 sdk manager their also the error occured
the error was selecting the nvme but it does not detecting the target device

can any one help me i this to boot the board with the nvme

while am flashing the emmc with ./flash

[ 4.6689 ] Copying signatures
[ 4.6708 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 4.9196 ] Boot Rom communication
[ 4.9215 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[ 4.9221 ] BootRom is not running
[ 5.9582 ] tegrarcm_v2 --isapplet
[ 5.9595 ] USB communication failed.Check if device is in recovery
[ 5.9625 ] tegrarcm_v2 --ismb2
[ 5.9634 ] USB communication failed.Check if device is in recovery
[ 5.9829 ] tegradevflash_v2 --iscpubl
[ 5.9840 ] Cannot Open USB
[ 6.9940 ] tegrarcm_v2 --isapplet
[ 6.9957 ] USB communication failed.Check if device is in recovery
[ 7.0000 ] tegrarcm_v2 --ismb2
[ 7.0016 ] USB communication failed.Check if device is in recovery
[ 7.0055 ] tegradevflash_v2 --iscpubl
[ 7.0071 ] Cannot Open USB
[ 8.0125 ] tegrarcm_v2 --isapplet
[ 8.0142 ] USB communication failed.Check if device is in recovery
[ 8.0186 ] tegrarcm_v2 --ismb2
[ 8.0201 ] USB communication failed.Check if device is in recovery
[ 8.0241 ] tegradevflash_v2 --iscpubl
[ 8.0258 ] Cannot Open USB
[ 9.0313 ] tegrarcm_v2 --isapplet
[ 9.0329 ] USB communication failed.Check if device is in recovery
[ 9.0367 ] tegrarcm_v2 --ismb2
[ 9.0381 ] USB communication failed.Check if device is in recovery
[ 9.0418 ] tegradevflash_v2 --iscpubl
[ 9.0434 ] Cannot Open USB
[ 10.0491 ] tegrarcm_v2 --isapplet
[ 10.0506 ] USB communication failed.Check if device is in recovery
[ 10.0543 ] tegrarcm_v2 --ismb2
[ 10.0557 ] USB communication failed.Check if device is in recovery
[ 10.0597 ] tegradevflash_v2 --iscpubl
[ 10.0616 ] Cannot Open USB
[ 11.0690 ] tegrarcm_v2 --isapplet
[ 11.0708 ] USB communication failed.Check if device is in recovery
[ 11.0750 ] tegrarcm_v2 --ismb2
[ 11.0772 ] USB communication failed.Check if device is in recovery
[ 11.0795 ] tegradevflash_v2 --iscpubl
[ 11.0804 ] Cannot Open USB
[ 12.0856 ] tegrarcm_v2 --isapplet
[ 12.0875 ] USB communication failed.Check if device is in recovery
[ 12.0920 ] tegrarcm_v2 --ismb2
[ 12.0939 ] USB communication failed.Check if device is in recovery
[ 12.0981 ] tegradevflash_v2 --iscpubl
[ 12.0991 ] Cannot Open USB
[ 13.1023 ] tegrarcm_v2 --isapplet
[ 13.1030 ] USB communication failed.Check if device is in recovery
[ 13.1051 ] tegrarcm_v2 --ismb2
[ 13.1058 ] USB communication failed.Check if device is in recovery
[ 13.1078 ] tegradevflash_v2 --iscpubl
[ 13.1084 ] Cannot Open USB
[ 14.1116 ] tegrarcm_v2 --isapplet
[ 14.1123 ] USB communication failed.Check if device is in recovery
[ 14.1145 ] tegrarcm_v2 --ismb2
[ 14.1153 ] USB communication failed.Check if device is in recovery
[ 14.1175 ] tegradevflash_v2 --iscpubl
[ 14.1180 ] Cannot Open USB
[ 15.1231 ] tegrarcm_v2 --isapplet
[ 217.4112 ] tegrarcm_v2 --ismb2
[ 217.4197 ] tegradevflash_v2 --iscpubl
[ 217.4212 ] CPU Bootloader is not running on device.
[ 218.4569 ] tegrarcm_v2 --isapplet
[ 218.4586 ] USB communication failed.Check if device is in recovery
[ 218.4629 ] tegrarcm_v2 --ismb2
[ 218.4649 ] USB communication failed.Check if device is in recovery
[ 218.4691 ] tegradevflash_v2 --iscpubl
[ 218.4710 ] Cannot Open USB
[ 219.4766 ] tegrarcm_v2 --isapplet
[ 219.4784 ] USB communication failed.Check if device is in recovery
[ 219.4823 ] tegrarcm_v2 --ismb2
[ 219.4840 ] USB communication failed.Check if device is in recovery
[ 219.4879 ] tegradevflash_v2 --iscpubl
[ 219.4897 ] Cannot Open USB
[ 220.4953 ] tegrarcm_v2 --isapplet
[ 220.4970 ] USB communication failed.Check if device is in recovery
[ 220.5007 ] tegrarcm_v2 --ismb2
[ 220.5022 ] USB communication failed.Check if device is in recovery
[ 220.5066 ] tegradevflash_v2 --iscpubl
[ 220.5083 ] Cannot Open USB
[ 221.5136 ] tegrarcm_v2 --isapplet
[ 221.5155 ] USB communication failed.Check if device is in recovery
[ 221.5194 ] tegrarcm_v2 --ismb2
[ 221.5209 ] USB communication failed.Check if device is in recovery
[ 221.5252 ] tegradevflash_v2 --iscpubl
[ 221.5270 ] Cannot Open USB
[ 222.5313 ] tegrarcm_v2 --isapplet
[ 222.5322 ] USB communication failed.Check if device is in recovery
[ 222.5347 ] tegrarcm_v2 --ismb2
[ 222.5357 ] USB communication failed.Check if device is in recovery
[ 222.5385 ] tegradevflash_v2 --iscpubl
[ 222.5394 ] Cannot Open USB
[ 223.5445 ] tegrarcm_v2 --isapplet
[ 223.5462 ] USB communication failed.Check if device is in recovery
[ 223.5505 ] tegrarcm_v2 --ismb2
[ 223.5521 ] USB communication failed.Check if device is in recovery
[ 223.5557 ] tegradevflash_v2 --iscpubl
[ 223.5572 ] Cannot Open USB
[ 224.5628 ] tegrarcm_v2 --isapplet
[ 224.5645 ] USB communication failed.Check if device is in recovery
[ 224.5686 ] tegrarcm_v2 --ismb2
[ 224.5701 ] USB communication failed.Check if device is in recovery
[ 224.5738 ] tegradevflash_v2 --iscpubl
[ 224.5753 ] Cannot Open USB

getting the error like this any one can help me please ?

Hi masantosh4306,

Are you using the devkit from NVIDIA or custom board?

Where do you get this script (flash_jetson_external_storage.sh)?
I can’t find it in our source.

It seems someone giving you this script (not from us), our devkit would not have eMMC and SD slot at the same time.

Please use standalone Ubuntu 18.04 as your host PC for SDK manager. Something like VM/docker/WSL2 are not suggested due to unstable connection with the board.

yeah the xavier nx module is from nvidia and the development board from the waveshare

i am new to this can get the initiall steps to setup and do flash and boot the xavier nx 16 gb

So, it is a custom board from Waveshare.
Do you get the customized BSP package from them?

Please remove any external storage first and make sure you could boot up with internal eMMC.
If you can not boot up, then please use flash script in the customized BSP package to flash the board.
You could refer to the usage of flash script here.

1 Like

no i did not get the customized bsp package from them . do i need it ?

Yes, that is necessary.

The BSP package from Jetson Linux R35.2.1 or SDK Manager are both for the devkit.
There’s should be some differences between the carrier board of the devkit and custom board. The BSP package should be customized by the board manufacturer according to the board desgin.

1 Like

ok i will get the bsp package and i will try .
on other way i will try with sdk manager also.

sudo ./flash.sh jetson-Xavier-nx-devkit internal
I have used this command and also i removed the nvme SSD from the board .
but i am getting the error like this
[ 2.7782 ] tegrahost_v2 --chip 0x19 --align mem_rcm_aligned.bct
[ 2.7810 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk
[ 2.7818 ] adding BCH for mem_rcm_aligned.bct
[ 2.9860 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 2.9863 ] Assuming zero filled SBK key
[ 2.9881 ] Warning: pub_key.key is not found
[ 2.7894 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk
[ 2.7915 ] Copying signatures
[ 2.7936 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 3.0360 ] Boot Rom communication
[ 3.0380 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[ 3.0388 ] BootRom is not running
[ 4.0441 ] tegrarcm_v2 --isapplet
[ 4.0458 ] USB communication failed.Check if device is in recovery
[ 4.0497 ] tegrarcm_v2 --ismb2
[ 4.0512 ] USB communication failed.Check if device is in recovery
[ 4.0668 ] tegradevflash_v2 --iscpubl
[ 4.0683 ] Cannot Open USB

This is a wrong command. Please use the following flash command instead.

$ sudo ./flash.sh jetson-xavier-nx-devkit mmcblk0p1

I still have to remind you again that official BSP package may not work with your custom board.

i am using ubuntu 18.04 and sdk mnaager i am getting error like this can u help me out

Please remove external NVMe drive first and flash into internal eMMC to make sure it can boot up successfully.

flash into internal eMMC is done sucessfully . the how can i flash the ssd now
is thier any steps available

That’s great!

What’s the physical size of your NVMe SSD?

it was 240gb wd green tm sata ssd m.2 2280

i was connected to that board but its not showing in the disk manager or in the command lsusb

can u help

Is it a nvme drive or a SATA drive…?

Xavier NX does not really have a “SATA” interface anymore. If your custom board has it, then it must be some interface else. Not really SATA to jetson…

i think my custom board have it but when i connected to the board it was not detecting not showing any thing is thier any other to slove it

Since this is custom board, I can only ask you to contact the board vendor to see if they have any specific BSP for it…

It is hard for us to check with some end users like you. For example, you don’t even know this SATA is based on PCIe or USB on their board.

yeah when i am conected the pendrive it is detecting ony the ssd in m.2 key was no detecting
i have tryied all the methods
is their any way to detect m.2 key is working or not