I have a Jetson Nano running Jetpack 4.5.
From
- the Deep Learning Institute course Getting Started with AI on Jetson Nano
- the webinar NVIDIA JETPACK 4.5 OVERVIEW AND FEATURE DEMO
- This thread on this forum
- NVIDIA Jetson Linux Developer Guide
I have followed many steps towards running my Jetson Nano from USB. However I am not there yet.
I had hoped that running Jetpack 4.5 would put the Nano into a state where running from USB is possible and all I need to do is flash a USB stick with the same Jetpack 4.5 image. After trying this, it doesnāt appear to be possible, though I donāt understand why. My understanding now is that I need to follow a long winded procedure: that I have to download a driver package and a root file system, create a partition on a USB to receive this file system, and copy the root file system across. I have done all these steps except the last one:-
COPY THE ROOTFS FROM A DIRECTORY TO THE USB.
Question (but not my problem)
I donāt understand what makes that too different from just flashing a USB memory device with a working image! Whatās the difference?
In addition to the above, there are a few extra steps that I donāt understand their purpose, though I probably donāt need to, as I am happy to just obey.
- apt-get install qemu-user-static
- apply_binaries.sh
- https://developer.nvidia.com/l4t-payload-updater-t210
Some of these seem to be just correcting for elements missing or incorrect in the rootfs image.
My headache now is
Question. How do I create the USB root file system from my ārootfsā directory?
The documentation describes a step with two computers. I am using one.
In the documentation a Host computer talkes to a Target Jetson Nano which is in forced recovery mode over a serial cable to the Nanoās small USB connector ā the one which can also be used for power. At least, that is how I understand things.
I have prepared my ārootfsā directory on my SD card inside my Jetson Nano. (Itās the computer I am using for writing this forum post.)
I feel there should be a very simple procedure for copying the files from SD to USB. However I donāt want to mess things up, as it has taken me a long time to get this far. (My attempts to simply flash the SD card and the USB with Jetpack 4.5 failed miserably with the SD card and USB in a horrible state with 14 partitions requiring manual removal, reformatting, and the SD reflashing with Jetpack4.5, reconfiguring with local keyboard, new swap space adding, etc. I am eager not to have to repeat this.)
So, what is the procedure to move my rootfs directory from the SD in my Nano to the USB memory stick in the back of the same Nano (/dev/sda1) in such a way that I can then remove the SD card, boot from the USB memory and not have to unscrew my Nanoās little aluminium box ever again?
Oh. My worries are that there are a few other little requirements going on somewhere, (i) making sure that something called QSPI has the write contents: ability to boot from USB; maybe a kernel is written to it. (ii) That the steps taken to get the QSPI changed are not run twice - once from SD and then again from USB.
Many thank to anyone taking the trouble to have read this far, whether you know the answer or not!