Hi,
I’m using L4T 21.7 for Tegra K1. Our hardware has 32GB eMMC and I have a problem with “mkgpt” tool. If I flash the device using default jetson-tk1.conf, all the images can be correctly uploaded to the device. Also u-boot starts up correctly, but fails to read partition table:
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
In the document “Tegra Linux Driver Package - PLATFORM ADAPTATION AND BRING-UP GUIDE”, there are instructions on calculating the correct BOOTPARTSIZE and EMMCSIZE from the output of the flasher. Our device outputs following:
Region=1 SD Erase start 512B-sector=0,512B-sector-num=64512
Region=2 SD Erase start 512B-sector=0,512B-sector-num=64512
Region=0 SD Erase start 512B-sector=0,512B-sector-num=62160896
This leads to following values:
BOOTPARTSIZE=66060288
EMMCSIZE=31892439040
However 66060288 is too large value for the “mkgpt” tool, it fails with this message:
Error: Invalid bootpart size(66060288)
From my testing, it looks like largest supported value for “-b” argument of “mkgpt” is 33554432. So the question is, how can I create a gpt partition for eMMC with larger than 32MB boot sectors?
Best Regards,
Sami Nurmenniemi