R36.3: l4t_initrd_flash let APP be maximum storage size

Hi,

When I flashed R36.3 to NVMe directly through cmd $sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/generic/cfg/flash_t234_qspi.xml” --showlogs --network usb0 jetson-agx-orin-devkit internal
I saw the APP (rootfs /dev/nvme0n1p1) partition size is automatically extended to maximum space(If I used 128G NVMe, it will be around 117G), when system boot first time(after flash from host PC).
I also use same cmd concept on Jetpack 5.1.2, and do flash; I saw the /dev/nvme0n1p1 partition keeps 55G as default.

Is it possible to let /dev/name0n1p1 keep default partition size after flash on R36.3?

Add info: I used tool “l4t_create_default_user.sh” to set username and PW, so OEM configuration steps will be skipped.

Please feel free to let me know if I miss any step. Thanks a lot!

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!

Method to do that from another forum answer

or

Search on this Nvidia Developer Guide page for -S
and it seems you can add -S 55GiB
to your command line above and that may do what you want too.

Hi V_Tn,

Please use flash_l4t_t234_nvme.xml instead of flash_l4t_external.xml as partition layout for NVMe SSD.

You can specify allocation_attribute for APP partition from 0x808 to 0x8 to prevent it extend to the maximun during flash.