Hello, I am using Jetson Orin Nano Devkit with L4T35.4.1, nvme sotrage. I am trying to flash image with custom rootfs. I know the ‘backup_retore’ tools from JP, that’s not I am trying.
I have made a copy of running Jetson System as a folder (not as a tar), replaced the default rootfs in Linux_for_Tegra directory and tried normal flash with
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -p “-c ./bootloader/t186ref/cfg/flash_t234_qspi.xml” -c ./tools/kernel_flash/flash_l4t_t234_nvme.xml --showlogs --network usb0 jetson-orin-nano-devkit nvme0n1p1
I have added a lot of things. So now the default rootfs size is 7.6 Gb and custom rootfs size is around 11 Gb.
Belos is the end of debug output
[ 222]: l4t_flash_from_kernel: Successfully flash the qspi
[ 222]: l4t_flash_from_kernel: Failed to write to APP
[ 222]: l4t_flash_from_kernel: The device size indicated in the partition layout xml is smaller than the actual size. This utility will try to fix the GPT.
[ 222]: l4t_flash_from_kernel: Error flashing external device
Flash failure
Cleaning up…