This one works before. In such way, we are able to flash rootfs to different NVMe with different size, like 128G, 256G, etc.
However, now the customized rootfs seems to be too large for eMMC, leading to an error while generating system.img.
Full logs after running flash cmd: flashNvmeLog.log (134.3 KB)
At the end of the logs, the tar command report errors while making system.img:
Making system.img...
populating rootfs from /home/wulun/flashingTest/js1100_cstRootfs_v1/rootfs ... Failed. Your APPSIZE might be too small.
Error: Failed to generate images for external device
Cleaning up...
which is happened in flash.sh line 590.
We checked both NVMe on Host PC and NVMe on AGX Orin, both of them have enough space and inode.
How can we avoid this error? If the system.img is for eMMC, can we ignore it via cmd parameters?
Or, can we use another rootfs folder to create this dummy system.img, another folder for the customized rootfs?
Hi,
If the device cannot be flashed/booted, please refer to the page to get uart log from the device: Jetson/General debug - eLinux.org
And get logs of host PC and Jetson device for reference. If you are using custom board, you can compare uart log of developer kit and custom board to get more information.
Also please check FAQs: Jetson AGX Orin FAQ
If possible, we would suggest follow quick start in developer guide to re-flash the system: Quick Start — NVIDIA Jetson Linux Developer Guide 1 documentation
And see if the issue still persists on a clean-flashed system.
Thanks!
Have you confirmed that rootfs not flashed in this case?
I’ve seen following logs there:
[ 2]: l4t_flash_from_kernel: Starting to flash to external device
Active index file is /mnt/external/flash.idx
Number of lines is 61
max_index=60
[ 2]: l4t_flash_from_kernel: Successfully flash the external device
[ 2]: l4t_flash_from_kernel: Flashing success
Please try to create any tmp file on your board and perform the flash process again to check if it has not been flashed.
Or you can try using the following commands to flash the board with 3 steps.
Making system.img...
populating rootfs from /home/wulun/flashingTest/js1100_cstRootfs_v1/rootfs ... Failed. Your APPSIZE might be too small.
This error is from flash.sh.
Do you know what’s the size of your custom system.ima.raw? Or the data size under /home/wulun/flashingTest/js1100_cstRootfs_v1/rootfs?
If it is 100GiB, please use the following command with -S option specified in Step2 instead.
Hi Kevin:
Thanks for the reply.
After adding -S 100GiB, the flashing process can be finished.
However, the device being flashed is not able to boot. We are verifying the root cause and will update once we have further results.