summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-12 14:29:15 (GMT)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-12 14:29:15 (GMT)
commitf1bdb63ff4fddc53cdb43ad670dbf6f3401c19ca (patch)
tree57a6742a5d8db43660961f1013f1e652909d4b17
parent6ee74275367d565ee988f92a93e64002e6f529ef (diff)
downloadbuildroot-f1bdb63ff4fddc53cdb43ad670dbf6f3401c19ca.tar.gz
buildroot-f1bdb63ff4fddc53cdb43ad670dbf6f3401c19ca.tar.bz2
board/technologic/ts7680: fix bogus size in genimage.cfg
512B is not a correct size to express "512 bytes", and causes a genimage failure: ERROR: Invalid size suffix 'B' in '512B' To express "512 bytes", using just "512" is sufficient. With this commit, genimage works fine, and we indeed have a 512 bytes unused partition: $ fdisk -l output/images/sdcard.img Disk output/images/sdcard.img: 60 MiB, 62915584 bytes, 122882 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type output/images/sdcard.img1 1 1 1 512B 0 Empty output/images/sdcard.img2 2 524289 524288 256M 83 Linux Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/88314963 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--board/technologic/ts7680/genimage.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/technologic/ts7680/genimage.cfg b/board/technologic/ts7680/genimage.cfg
index b559982..70b1dac 100644
--- a/board/technologic/ts7680/genimage.cfg
+++ b/board/technologic/ts7680/genimage.cfg
@@ -3,7 +3,7 @@ image sdcard.img {
}
partition unused {
- size = 512B
+ size = 512
}
partition rootfs {