Dear all,
I am setting up a toolchain to directly flash an empty SSD on the Orin Nano via command line using the l4t_initrd_flash.sh
script. Before flashing, I use the l4t_create_default_user.sh
script to set up the username and hostname for each device, which works as expected.
My goal is to replace the sample rootfs in the Linux_for_Tegra
directory with the rootfs of a “golden device” that already has all necessary packages and configurations. Ideally, I would set up this golden device on a Jetson, then copy its rootfs back to the host computer for flashing. For this, I’m following the instructions in NVIDIA’s documentation on Flashing Support — NVIDIA Jetson Linux Developer Guide.
However, I’m encountering a few issues. After running sudo ./tools/kernel_flash/l4t_initrd_flash.sh --initrd jetson-orin-nano-devkit nvme0n1p1
, I am able to connect via SSH using the device’s MAC address, but the root password does not match the one I set. Additionally, I’m unsure why initrd mode is required just to copy the rootfs with dd
—could I skip that step and run dd
directly?
Furthermore, my understanding is that system.img.raw
will be the full size of my SSD (512 GB), but I don’t have a USB drive of that capacity. Is there a simpler way to only copy the rootfs (excluding blank space) and replace the sample rootfs on the host system?
Thank you in advance for any guidance!