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>
This commit is contained in:
parent
857ac5502d
commit
07c1ae90c8
@ -23,6 +23,7 @@ image sdcard.img {
|
|||||||
partition-type = 0xC
|
partition-type = 0xC
|
||||||
bootable = "true"
|
bootable = "true"
|
||||||
image = "boot.vfat"
|
image = "boot.vfat"
|
||||||
|
offset = 1M
|
||||||
}
|
}
|
||||||
|
|
||||||
partition rootfs {
|
partition rootfs {
|
||||||
|
@ -23,6 +23,7 @@ image sdcard.img {
|
|||||||
partition-type = 0xC
|
partition-type = 0xC
|
||||||
bootable = "true"
|
bootable = "true"
|
||||||
image = "boot.vfat"
|
image = "boot.vfat"
|
||||||
|
offset = 1M
|
||||||
}
|
}
|
||||||
|
|
||||||
partition rootfs {
|
partition rootfs {
|
||||||
|
@ -24,6 +24,7 @@ image sdcard.img {
|
|||||||
partition-type = 0xC
|
partition-type = 0xC
|
||||||
bootable = "true"
|
bootable = "true"
|
||||||
image = "boot.vfat"
|
image = "boot.vfat"
|
||||||
|
offset = 1M
|
||||||
}
|
}
|
||||||
|
|
||||||
partition rootfs {
|
partition rootfs {
|
||||||
|
Loading…
Reference in New Issue
Block a user