Xavier NX with nvme flashing problems 5.1.1 to 5.1.2

I have tried everthing over the last week to be able to flash 5.1.2 on my jetson NX

NOW NVIDIA HAS RENDERED SDK MANAGER USELESS FOR FLASHING
XAVIER NX WITH NVME.

I have been pointed to this by my previous post re this subject.

MY REPLY IS -------------------------
There is no directory nvidia/nvidia_sdk /Linux_for_Tegra on my host machine only nvidia/nvidia_sdk/

It should read “~/nvidia/nvidia_sdk/Jetpack_5.1.2_Linux_JETSON_NX_TARGETS/Linux_for_tegra/”
This is because there 2 versions of JETSON-NX (5.1.1 & 5.1.2) TARGETS
and 2 versions of AGX_ORIN (5.1.1 & 5.1.2) TARGETS
and also Jetpack_5.1.1_Linux and Jetpack_5.1.2_linux directories

I have also tried editing
etc/apt/sources.list.d/nvidia-l4t-apt-source.list
ITS NEVER WORKED.

I HAVE BEEN INVOLVED IN THE COMPUTER INDUSTRY FOR THE LAST 50 YEARS AND NEVER HAD SO MANY DIFFICULTIES JUST TO UPGRADE

PLEASE HELP WITH THE CORRECT ANSWER

Calm down, dude.
Capital letters make it hard to read the post.

Just for your information, Xavier NX needs the SD card to be flashed and inserted for it to boot up normally.
You may run this command inside Linux_for_Tegra to flash both bootloader on QSPI and SD card and rootfs on NVMe SSD:

sudo ADDITIONAL_DTB_OVERLAY="BootOrderNvme.dtbo" ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_external.xml --showlogs --network usb0 jetson-xavier-nx-devkit nvme0n1p1

Thanks for yor reply
Sorry about the capitals but it is just frustration not getting any explainantion to why jetpack 5.1.1 works and 5.1.2 does not when upgrading.

I am at a loss to understand why I need a sd card for
xavier NX to proceed to upgrade to 5.1.2 as it has not been necessary for previous version of Jetpack ie 5.1.1 which is now installed and working fine.
What is the point ot the grub bootloader where you stipulate what perhipheral you want to boot from ?
Why does sdk manager ask what pheripheral you want to flash too?

Before I try the command you have given me , I have inserted a sd card which comes up just as another device (I have just taken the sd card from a jetson nano I think it has jetpack 4.6 installed on it)
so 5.1.1 is not looking at the sd card.
Sorry to be a pain but I would be gratfull if you could answer the above questions, and given the above senario how do I proceed to upgrade to 5.1.2.
Thanks in anticipation
PRRH

Hi,

The reason is that for Xavier NX, parts of bootloader stuff is stored on SD cards, instead of entirely on the QSPI memory. I’m not sure how you flash the device before, but I’m 100% sure the system will fail to boot up with the following message when the SD card is not present, and it’s the same for both L4T 35.3.1 and L4T 35.4.1.

�����main enter                                                                                                                                                     ,WH�0�r�]J>@M��U5
SPE VERSION #: R01.00.18 Created: Jan 29 2021 @ 14:18:27
HW Function test
Start Scheduler.
in late init
��
  [0000.918] I> Welcome to MB2(TBoot-BPMP) (version: default.t194-mobile-74494172)
[0000.918] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
[0000.919] I> Default Heap @ [0xd486400 - 0xd48a400]
[0000.920] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
[0000.925] W> device prod register failed
[0000.929] I> gpio framework initialized
[0000.933] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio' driver
[0000.940] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio-aon' driver
[0000.948] I> sdcard_params [0, 55, 0, 50] in mb1_bct
[0000.953] I> Boot_device: QSPI_FLASH instance: 0
[0000.957] I> qspi flash-0 params source = boot args
[0000.963] I> QSPI-0l initialized successfully
[0000.966] I> sdcard-0 params source = mb1 bct
[0000.970] I> Found sdcard
[0000.983] W> Error opening sdcard-0
[0000.984] E> Failed to initialize device 6-0
[0000.984] I> ������������������������: execution failed
[0000.986] I> ������������������������: execution failed
[0000.992] E> Top caller module: NONE, error module: NONE, reason: 0x02, aux_info: 0x00
[0001.000] I> Reset to recovery mode
[0001.02

So please just insert the SD card and run the command I just gave you to flash the device with 35.4.1.

I flashed the xavier nx manually to nvme using sdk manager with system reset cable on 9 & 10.
When the system is flashed the xavier nx start up procedure
goes through language etc etc and then asked the size of your file system
which in my case is 490 odd gb and then continues on.
When trying to flash 5.1.2 the same way the file system question does not come up when the xavier nx starts up .
So I’m also 100% sure that prior to 5.1.2 and after 5.0.0 I have not needed the sd Card.
Is there any file on my system or logs I can show you that might show some light on this anomaly
Cheers

So what exactly is your issue now?
The size of the APP partition will automatically get enlarged to the maximum value upon boot even if OEM config is not run.

I don’t have an issue
I have reset and flashed 5.1.1 yesterday and I am a little reluctant to upgrade to 5.1.2 as I have and had a working system. But as I have a agx orin 64gb I will now give your command a go.
Watch This SPace

sudo: ./tools/kernel_flash/l4t_initrd_flash.sh: command not found

What do you have under Linux_for_Tegra?

Sorry Im lost where am I supposed to run this command.

Under the Linux_for_Tegra you got here.
Or manually download it here:

Setup the BSP prior to flashing:
https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/IN/QuickStart.html

DaveYYY
YOU WILL BE PLEASED TO KNOW I HAVE A FRESH INSTALL OF JETPACK 5.1.2 ON XAVIER NX WITH SD CARD !!!
sorry
You will be pleased to know I have a fresh install of Jetpack 5.1.2 on xavier nx with a sd card.!!!
Thank you for your help.
My next question for the next upgrade I do not want to wipe out the NVME of my work. How can I succesfully upgrade ?
Cheers

Normally this should work with JetPack components installed:
https://docs.nvidia.com/jetson/jetpack/install-jetpack/index.html#upgrade-jetpack

I had severe issues with the UEFI BIOS being stuck in an upgrade process every time the Jetson Xavier NX would boot after I used the debian update instructions (so using sudo apt dist-upgrade to get 5.1.2 on my 5.1.1 NX).

I also ran into the APP partition not getting sized right by SDK manager while installing the 5.1.2 version of JetPack with it.

I did manage in the end to get it to install JetPack 5.1.2 with the use of the full capacity of my SSD through SDK Manager, by modifying one of the scripts. The entire saga (with instructions) can be found here:

Since this does wipe the contents of the SSD, I would advise you to backup any important data from your SSD before attempting my solution!

Thanks for the information I glad I’m not the only one

I also was runniing jetson nx without sd card with nvme and was told is was impossible but it seemed to work before 5.1.2!!!

To solve the problem if I did the following everthing would work ok
I put SD card in xavier nx
put xavier NX in reset mode

the following directory is on my pc.

“~/nvidia/nvidia_sdk/Jetpack_5.1.2_Linux_JETSON_NX_TARGETS/Linux_for_tegra/”

having got to the directory I run the following command

sudo ADDITIONAL_DTB_OVERLAY=“BootOrderNvme.dtbo” ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_external.xml --showlogs --network usb0 jetson-xavier-nx-devkit nvme0n1p1

and if by magic the xavier nx flashed ok (only the os)
I then went back to sdkmanager and updated all the other iterms exept for the flash.

Lets hope next time editing the following file
etc/apt/sources.list.d/nvidia-l4t-apt-source.list
and upgrading will work.

cheers

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.