07c1ae90c8
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>
36 lines
567 B
INI
36 lines
567 B
INI
# Image for SD card boot on Atmel SAMA5D4 Xplained boards
|
|
#
|
|
image boot.vfat {
|
|
vfat {
|
|
files = {
|
|
"zImage",
|
|
"at91-sama5d4_xplained.dtb",
|
|
"at91-sama5d4_xplained_hdmi.dtb",
|
|
"at91-sama5d4_xplained_pda4.dtb",
|
|
"at91-sama5d4_xplained_pda7.dtb",
|
|
"at91-sama5d4_xplained_pda7b.dtb",
|
|
"boot.bin",
|
|
"u-boot.bin"
|
|
}
|
|
}
|
|
size = 16M
|
|
}
|
|
|
|
image sdcard.img {
|
|
hdimage {
|
|
}
|
|
|
|
partition boot {
|
|
partition-type = 0xC
|
|
bootable = "true"
|
|
image = "boot.vfat"
|
|
offset = 1M
|
|
}
|
|
|
|
partition rootfs {
|
|
partition-type = 0x83
|
|
image = "rootfs.ext4"
|
|
size = 512M
|
|
}
|
|
}
|