Using the ./dosdcard.sh script from the tegraflash bundle fails to create partitions on an SD card with the following error message
$ sudo ./dosdcard.sh /dev/mmcblk0
<tegraflash signing output>
...
About to make an SDcard image on /dev/mmcblk0. OK? yes
Creating partitions
[01] name=APP start=0 size=63963136 sectors
[02] name=APP_b start=0 size=63963136 sectors
[03] name=UDA (fills to end)
ERR: partitioning failed
Could not create partition 2 from 63965184 to 127928319
Could not change partition 2's type code to 8300!
Unable to set partition 2's name to 'APP_b'!
Error encountered; not saving changes.
I traced through the bash scripts and found the sgdisk command that is failing. Creating the first partition is fine, but creating the second and third partition fails.
Description
Using the
./dosdcard.sh
script from the tegraflash bundle fails to create partitions on an SD card with the following error messageI traced through the bash scripts and found the
sgdisk
command that is failing. Creating the first partition is fine, but creating the second and third partition fails.Details
Reference instructions: https://github.com/OE4T/meta-tegra/wiki/Flashing-the-Jetson-Dev-Kit#writing-an-sdcard meta-tegra branch:
kirkstone-l4t-r32.7.x
SD card: SanDisk Ultra 64GB Micro SDXCAttempted the build and flash from two machines:
Definition of Done (DoD)
Blockers
None