1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-05 02:11:00 +00:00

Revert "sdcard_image: align partitions with flash pages"

This has 2 problems:

1) | Warning: partition 1 does not end at a cylinder boundary
   |
   | sfdisk: I don't like these partitions - nothing changed.

2) CCCCCCCCC on the beaglebone, the ROM code doesn't accept it after fixing 1) with --force

This reverts commit ed09701ebe.
This commit is contained in:
Koen Kooi
2011-11-01 07:17:17 +01:00
parent 75f844fb5d
commit ff69dee7b8
+3 -3
View File
@@ -46,9 +46,9 @@ IMAGE_CMD_sdimg () {
SIZE=$(/sbin/fdisk -l ${LOOPDEV} | grep Disk | grep bytes | awk '{print $5}')
CYLINDERS=$(echo $SIZE/255/63/512 | bc)
{
echo 128,130944,0x0C,*
echo 131072,,,-
} | /sbin/sfdisk -D -uS -H 255 -S 63 -C ${CYLINDERS} ${LOOPDEV}
echo ,9,0x0C,*
echo ,,,-
} | /sbin/sfdisk -D -H 255 -S 63 -C ${CYLINDERS} ${LOOPDEV}
# Prepare loop devices for boot and filesystem partitions
BOOT_OFFSET=32256