bootFromExternalStorage icon indicating copy to clipboard operation
bootFromExternalStorage copied to clipboard

[BUG]Xavier NX not flashable.

Open iPsych opened this issue 2 years ago • 3 comments

Describe the issue Xavier NX with EMMC which 1)can successfully go to Force-Recovery Mode 2)Flash using nvidia SDK Manager works fine. 3)I could migrate to NVME using https://github.com/jetsonhacks/rootOnNVMe (Which no problem, since I will let EMMC as is... unlike SDcard, it's no problem.

Which version of Ubuntu on the Host machine Ubuntu version: 18.04 LTS

What version of L4T/JetPack L4T/JetPack version: Jetpack 5 Which Jetson Jetson: Xavier NX

So, my question is Xavier NX with EMMC is not flashable using this tool? I am using it now with your awesome rootOnNVMe tool. Just curious & for confirmation.

iPsych avatar Mar 07 '23 17:03 iPsych

I don't understand the question. What error message did you receive when using this code?

jetsonhacks avatar Mar 07 '23 19:03 jetsonhacks

After following the instructions and after flash_jetson_external_storage.sh the jetson isn’t booting up. the process was successful at the end of the burn.

Ubuntu version on the Host machine: 18.04 LTS

Jetson: Xavier NX Board - Seeed Studio 203

Remarks I am able to flash the jetson using the SDK manager and migrate to NVME using the rootOnNVME repo

gilcohn-spearuav avatar Mar 28 '23 07:03 gilcohn-spearuav

I may be able to add some additional context here since I just tried (unsuccessfully) to flash an Recomputer R2021, which uses the Xavier NX dev kit with eMMC. Here is the stdout I get when running the flash_jetson_external_storage.sh script with defaults:

***************************************
*                                     *
*  Step 3: Start the flashing process *
*                                     *
***************************************
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for device to expose ssh ......RTNETLINK answers: File exists
RTNETLINK answers: File exists
Waiting for device to expose ssh ...Run command: flash on fc00:1:1:0::2
SSH ready
4194304
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /mnt/internal/flash.idx
Number of lines is 42
max_index=41
[ 3]: l4t_flash_from_kernel: Successfully create gpt for emmc
[ 3]: l4t_flash_from_kernel: Starting to create gpt for external device
Active index file is /mnt/external/flash.idx
Number of lines is 17
max_index=16
writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed-<reserved>-0, e2b095542bc1a8779f8f001aa4b82cd915478b76
Error: Could not stat device /dev/nvme0n1 - No such file or directory.
Flash failure
Cleaning up...

Note: I have installed an external storage device that was previously recognized at /dev/nvme0n1 with the pre-installed 4.6.1 Jetpack and an upgrade flashed using the steps from the vendor. I think I will use the NVidia flash instructions and then just use the rootOnNVME repo referenced above.

jwdinius avatar Apr 15 '23 21:04 jwdinius