In JetPack 5, the NVMe rootfs partition size can be set within the OEM configuration menu on first boot. In JetPack 6, by default, this is no longer an option. This article provides the modification necessary to set the NVME rootfs partition size on first boot in the OEM configuration menu with JetPack 6.X.
Procedure
Modification must be made prior to flashing. The process is as follows:
- Set up Linux_for_Tegra as normal for flashing, including running the CTI-L4T/install.sh script
$ cd Linux_for_Tegra$ vim tools/kernel_flash/flash_l4t_external.xml- Modify the following line under <partition name="APP" id="1" type="data">:
- <allocation_attribute> 0x808 </allocation_attribute>
+ <allocation_attribute> 0x8 </allocation_attribute>$ ./cti-flash.sh
On initial boot, the OEM configuration menu should now prompt you to specify partition size.
You can confirm the set value by running $ lsblk.