How to flash to a customized size emmc (64GB) in TX1

I just replace the onboard emmc from 16gb to 64gb, when I try to use the SDKManager flash the board, only 16gb space is used, the left space is unallocated and in the last of the partitions. I tried modify the ROOTFS size to 54G in tx1.conf file, I could get a 14GB partition and a 40GB unallocated space next to it. but after I use resize2fs and reboot the device. It can’t boot.

Change emmc on SOM is not supported.

I already changed the emmc, and I can boot with only 14gb used. How to use the full space like using a HDD drive.

What I could suggest is to create an environment that kind of does the same.

I suggest creating soft links from the directory of the unused partition.

Format the partition(ext4) and reboot the device. You’ll find the storage likely to be in /media/… .

you can move /usr/local (cuda etc), /opt/nvidia (deepstream etc) to the new location and soft link it back to its original directory. Saved me around 4 to 5 gb.

Can also create a space in your home directory (again via soft links) so that anything that needs space is worked on the larger partition.

Hope this helps.