aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Ludovic Desroches <ludovic.desroches@atmel.com>2016-11-04 11:15:17 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-04 15:13:59 +0100
commit07c1ae90c8890e82e62c22beaa4a72f6e081e96c (patch)
tree25fd698b0c13215346918e0ad935885ff6eb78b7 /board
parent857ac5502dcc60e6d1bc4a509bec1766bce70761 (diff)
downloadbuildroot-07c1ae90c8890e82e62c22beaa4a72f6e081e96c.tar.gz
buildroot-07c1ae90c8890e82e62c22beaa4a72f6e081e96c.tar.bz2
board: atmel: genimage: add 1M offset for FAT partition
With older SoCs and some SD cards, a 1024-bytes offset is needed to allow ROM code to read the content of the FAT partition. As it is usual to get a 1M bytes offset for the first partition, use this value to avoid boot issues. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board')
-rw-r--r--board/atmel/sama5d2_xplained_mmc/genimage.cfg1
-rw-r--r--board/atmel/sama5d3_xplained_mmc/genimage.cfg1
-rw-r--r--board/atmel/sama5d4_xplained_mmc/genimage.cfg1
3 files changed, 3 insertions, 0 deletions
diff --git a/board/atmel/sama5d2_xplained_mmc/genimage.cfg b/board/atmel/sama5d2_xplained_mmc/genimage.cfg
index b0ba22dbb2..d3b7af5b5c 100644
--- a/board/atmel/sama5d2_xplained_mmc/genimage.cfg
+++ b/board/atmel/sama5d2_xplained_mmc/genimage.cfg
@@ -23,6 +23,7 @@ image sdcard.img {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
+ offset = 1M
}
partition rootfs {
diff --git a/board/atmel/sama5d3_xplained_mmc/genimage.cfg b/board/atmel/sama5d3_xplained_mmc/genimage.cfg
index 32df453b01..277ce5f9c9 100644
--- a/board/atmel/sama5d3_xplained_mmc/genimage.cfg
+++ b/board/atmel/sama5d3_xplained_mmc/genimage.cfg
@@ -23,6 +23,7 @@ image sdcard.img {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
+ offset = 1M
}
partition rootfs {
diff --git a/board/atmel/sama5d4_xplained_mmc/genimage.cfg b/board/atmel/sama5d4_xplained_mmc/genimage.cfg
index b23ebe470a..70bb3e4ff0 100644
--- a/board/atmel/sama5d4_xplained_mmc/genimage.cfg
+++ b/board/atmel/sama5d4_xplained_mmc/genimage.cfg
@@ -24,6 +24,7 @@ image sdcard.img {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
+ offset = 1M
}
partition rootfs {