Other Parts Discussed in Thread: BEAGLEBOARD-X15
Tool/software: TI C/C++ Compiler
Hi,
I am using Processor SDK version 6 on Beagleboard-X15. I am using create-sdcard.sh script to create sdcard. In the script the partitions are created with parted. Cylinder option for the units are passed to the parted in the script. As far as I know cylinder based partitioning is deprecated, this script cannot work in other distributions and the other versions of parted as expected. I have changed the partitioning section for two partition option as below:
Original:
parted -s $DRIVE mklabel msdos parted -s $DRIVE unit cyl mkpart primary fat32 -- 0 9 parted -s $DRIVE set 1 boot on parted -s $DRIVE unit cyl mkpart primary ext2 -- 9 -2
Changed:
parted -s $DRIVE mklabel msdos parted -s $DRIVE unit s mkpart primary fat32 -- 2048 145407 parted -s $DRIVE set 1 boot on parted -s $DRIVE unit s mkpart primary ext2 -- 145408 -2
I have tested on other versions of parted and on the other distros, for now, it works like a charm.
I appreciate if you can make change on the codebase, so others can also use.
Kind regards,
Mustafa