When using update.sh to create an image for the TK1, the root partition ends up being only 7.1GB, so roughly half of the emmc is not used.
How can we use the full capacity?
fdisk shows:
Disk /dev/mmcblk0: 15.8 GB, 15758000128 bytes
4 heads, 32 sectors/track, 240448 cylinders, total 30777344 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00089c7f
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 40959 16384 c W95 FAT32 (LBA)
/dev/mmcblk0p2 40960 15216639 7587840 83 Linux
The update.sh script contains:
# assumed minimal eMMC size [in sectors of 512]
EMMC_SIZE=$(expr 1024 \* 7450 \* 2)
Should this be updated to EMMC_SIZE=30777344 ?