Controlling APP size partition JetPack 5.1.2

Hi all,

I am trying to flash JetPack 5.1.2 via sdkmanager onto my Jetson Xavier AGX Devkit. No matter what I do the root partition is always only 30 GB. I have installed a 1TB SSD so I would like to use all of it.

When flashing previous jetsons like the Xavier NX there was always an option to control the app size on first boot. However after setting up a user on that interface it goes straight to finalizing system installation.

I have tried editing p2972-0000.conf.common as described in Root File System — Jetson Linux Developer Guide documentation :

ROOTFSSIZE=200GiB;

but the device fails to flash when using sudo ./nvsdkmanager_flash.sh --storage nvme0n1p1:

[   1.3543 ] Generating coldboot mb1-bct
[   1.3565 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/quintin/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/bootloader/70887/tmphzswnlyl1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[   1.3572 ] MB1-BCT version: 0x1

[   1.3573 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg 
[   1.3574 ] Added Platform Config 0 data with size :- 3168

[   1.3584 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini.cfg 
[   1.3585 ] Added Platform Config 1 data with size :- 19640

[   1.3651 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg 
[   1.3653 ] Added Platform Config 2 data with size :- 24

[   1.3654 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg 
[   1.3656 ] File read failed
[   1.3657 ] File read failed
[   1.3657 ] Added Platform Config 4 data with size :- 348

[   1.3658 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg 
[   1.3660 ] Added Platform Config 3 data with size :- 92
[   1.3662 ] 
[   1.3662 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg 
[   1.3662 ] Added Platform Config 5 data with size :- 68
[   1.3662 ] 
[   1.3662 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg 
[   1.3663 ] Added Platform Config 7 data with size :- 392
[   1.3663 ] 
[   1.3663 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg 
[   1.3663 ] Added Platform Config 8 data with size :- 12
[   1.3663 ] 
[   1.3663 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg 
[   1.3663 ] Added Platform Config 9 data with size :- 32
[   1.3663 ] 
[   1.3663 ] Updating mb1-bct with firmware information
[   1.3687 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   1.3695 ] Start sector for mts-mce_b, expected >= 235150376, actual 0
Error: Return value 4
Command tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
Error: /home/quintin/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/bootloader/signed/flash.idx is not found
Error: failed to relocate images to /home/quintin/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/tools/kernel_flash/images
Cleaning up...

Any ideas?

Hi,

please either check this post:

Or flash manually like:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_external.xml  --showlogs --network usb0 jetson-agx-xavier-devkit internal
1 Like

Hi Dave,

Replacing the .xml filename did not work but thankfully the second command you posted worked like a charm. After booting in I was able to select the proper size I wanted.

Thank you for the quick response.

Hey!
I am also trying to reflash my Jetson Agx Xavier device to use the NVMe drive(installed SSD) as the rootfs.

Now I saw you also did thing and worked.

So, can you give me a brief steps how to do it?

Thank you~