From: Ludovic Desroches Date: Fri, 4 Nov 2016 10:15:17 +0000 (+0100) Subject: board: atmel: genimage: add 1M offset for FAT partition X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07c1ae90c8890e82e62c22beaa4a72f6e081e96c;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- 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 {