diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-01 07:17:17 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-01 07:17:17 +0100 |
commit | ff69dee7b858fbd7d872d1f321e29be1129647be (patch) | |
tree | 977779d77b7fd2aae0b8f8b1c2e3f3b9e3e3d560 /classes | |
parent | 75f844fb5d297b015adc7100432d0b22261ccb5f (diff) | |
download | meta-ti-ff69dee7b858fbd7d872d1f321e29be1129647be.tar.gz |
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 ed09701ebe89d4ce0802cf734aa25c29e94febe8.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/sdcard_image.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass index 9e4a959c..4ebc9986 100644 --- a/classes/sdcard_image.bbclass +++ b/classes/sdcard_image.bbclass | |||
@@ -46,9 +46,9 @@ IMAGE_CMD_sdimg () { | |||
46 | SIZE=$(/sbin/fdisk -l ${LOOPDEV} | grep Disk | grep bytes | awk '{print $5}') | 46 | SIZE=$(/sbin/fdisk -l ${LOOPDEV} | grep Disk | grep bytes | awk '{print $5}') |
47 | CYLINDERS=$(echo $SIZE/255/63/512 | bc) | 47 | CYLINDERS=$(echo $SIZE/255/63/512 | bc) |
48 | { | 48 | { |
49 | echo 128,130944,0x0C,* | 49 | echo ,9,0x0C,* |
50 | echo 131072,,,- | 50 | echo ,,,- |
51 | } | /sbin/sfdisk -D -uS -H 255 -S 63 -C ${CYLINDERS} ${LOOPDEV} | 51 | } | /sbin/sfdisk -D -H 255 -S 63 -C ${CYLINDERS} ${LOOPDEV} |
52 | 52 | ||
53 | # Prepare loop devices for boot and filesystem partitions | 53 | # Prepare loop devices for boot and filesystem partitions |
54 | BOOT_OFFSET=32256 | 54 | BOOT_OFFSET=32256 |