Hi, WayneWWW.
I’m using Jetson AGX Xaiver and trying to boot using SD Card.
I tried to follow the steps in the link.
https://elinux.org/Jetson/L4T/Boot_From_External_Device
However, there are some part that I could not understand clearly.
I commented with bold font below.
please let me know if I’m doing wrong.
1.1 Plugin the card to M.2 slot on XNX and boot up
Here I insert SD card on Jetson Xavier and boot up
1.2 Download packages to XNX and generate rootfs
// download L4T Driver Package (BSP) and Sample Root Filesystem
https://developer.nvidia.com/embedded/linux-tegra
// put the packages in same folder and do
$ sudo tar xpf Tegra186_Linux_R32.4.4_aarch64.tbz2
$ cd Linux_for_Tegra/rootfs/
$ sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R32.4.4_aarch64.tbz2
$ cd ../
$ sudo ./apply_binaries.sh
I followed above on JETSON.
2. Create GPT and partiton using gdisk on the device:
$sudo gdisk /dev/nvme0
"o" -> clear all current partition data
"n" -> create new partition
"1" -> partition number /dev/nvme0n1p1
"40M"first sectors -> Press enter
"Linux filsystem" -> using default type
"c" -> partition's name "PARTLABEL"
"w" -> write to disk and exit.
3 Get partition UUID and copy rootfs to the device:
$ sudo mkfs.ext4 /dev/nvme0n1p1
// get partition UUID for step 4
$ sudo blkid /dev/nvme0n1p1
$ sudo mount /dev/nvme0n1p1 /mnt
// go to rootfs directory
$ cd rootfs/
// copy rootfs
$ sudo tar -cpf - * | ( cd /mnt/ ; sudo tar -xpf - )
$ sudo umount /mnt
I followed above on JETSON. nvme0 and nvme0np1 are switched to mmcblk1 and mmcblk1p1
4. On host Linux PC, copy PARTUUID to bootloader/l4t-rootfs-uuid.txt
Here is says ‘on host linux PC’, then should I actually download ‘L4T Driver Package (BSP) and Sample Root Filesystem’ on host PC but not on Jetson…?
and there was no bootloader/l4t-rootfs-uuid.txt file.
5. Flash the board with rootfs device:
$ sudo ./flash.sh jetson-xavier-nx-devkit-emmc external
in my case sudo ./flash.sh jetson-xavier external
6. Done
failed to flash
**find: ‘/home/test/Jetson/Tegra186_Linux_R32.5.0_aarch64/Linux_for_Tegra/rootfs/lib’: No such file or directory**
**cp: cannot stat '/home/test/Jetson/Tegra186_Linux_R32.5.0_aarch64/Linux_for_Tegra/rootfs/bin/mv': No such file or directory**
**failed command: cp -fv /home/test/Jetson/Tegra186_Linux_R32.5.0_aarch64/Linux_for_Tegra/rootfs/bin/mv /home/test/Jetson/Tegra186_Linux_R32.5.0_aarch64/Linux_for_Tegra/bootloader/ramdisk_tmp//bin/mv**