We’re trying to install Jetpack 5.0.2 on Jetson Xavier NX on SATA ssd. At First we installed it on eMMC and then transfered the rootfs to SATA SSD(our transfer process is mentioned below). However, after changing rootfs, the boot fails and says sda1 not found. We’ve gone through many solutions on google and topics on Nvidia forum but it didn’t work for us. The topic mentioned above and Flash Jetpack 5.0.2 to SATA SSD fits our scenario almost perfectly. We have flashed Jetpack to our Jetson atleast 30 times and gone through countless solutions, its still not working out. We need a urgent solution to this, what should we do ?
#Process of transfer:
Mounted the SSD to /mnt
used link to copy content of os to SSD we also followed Jetsonhacks
@amasud183040 are you using the same SeeedStudio/Leetop Jetson NX device that I mentioned in my post (Flash Jetpack 5.0.2 to SATA SSD) ? Everything I read indicated it was an issue with their use of a USB hub to attach the SATA drive, and there was no solution. I wasted far too much trying to resolve it. I ended up abandoning use of that device, and bought a machine with a different NX carrier board (which had an nvme SSD instead).
We cannot directly share you an answer as your are using a custom board from other vendor.
Jetson NX by default does not have any SATA interface, if there is one on your board, then must be using some converter through pcie or usb.
For your case, better checking with the board vendor first. They may share their board info/schematic to us which you may not have.
If you are not familiar with it, I can send you further instructions.
@kayccc@WayneWWW Just for your reference. It is better if you @ lakshantha.d in the future because now I am the one who is taking in charge of Seeed-based NVIDIA products, and I will reply here in this forum. Thank you.
Hi, if you can build kernel, you modify kernel config to make sata build into kernel, as below:
@@ -378,10 +378,10 @@ CONFIG_SCSI_MPT3SAS=m
CONFIG_ATA_ACPI is not set
,then copy the Image to $l4t/kernel/,then you try to flash,used the way you do in jetpack4.x
@lakshantha.d We tried this process last year with jetpack 4. At first, it took some time to write the files. Later, lots of errors occurred and the setup failed. As @geoff.s mentioned, we had a similar error on other tries. Can you guide tell us through the process you mentioned step by step? We would like to try it again.
Just want to clarify… you could read my post here first to understand how those tools work…
First, flash.sh will not flash any data to external drive. What it can flash are all internal storage. For example, the internal emmc or internal sdcard slot.
If you just run flash.sh and give it nvme or sda1, then your nvme/SSD will still be empty.
To flash nvme or SSD, please use initrd flash tool instead.
Second, for any boot issue. You must share the log from UART serial console.
It is unlikely to precisely know what goes wrong if you cannot provide log.
Third, please check if your SSD or NVMe drive is able to get detected in emmc boot case first. If it cannot be enumerated, then it is not possible you can boot from it.
I found a reliable way to install jetpack 5.0.2 on ssd. I found this after method after some searching.
This installs on both NVME drive and on internal emmc, but makes NVME the default boot drive:
Install to emmc using sdkmanager (or flash.sh) (maybe REDUNDANT?)
1.1. Download l4t BSP and sample rootfs, build it (shown in above)
1.2. You can flash via command line:
1.2.1. sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1
1.3. Or just use sdk_manager
Boot to setup, then to desktop, make sure nvme0n1p1 is available (type “parted” in search bar)
2.1. If not available, delete all partitions in nvme0 using “parted”
Flash jetpack to SSD (***NOTE: flash.sh can’t be used here):
3.1. sudo ./nvsdkmanager_flash.sh --storage nvme0n1p1
3.2. JETSON WILL BOOT TO BLACK SCREEN, this is expected.
Re-flash jetson to EMMC again (use sdkmanager)
4.1. sudo ./flash.sh jetson-xavier-nx-devkit-emmc nvme0n1p1