mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
Pass an offset of 1MB for the start of the rootfs.
Otherwise we get rootfs corruption when the bootloader is manually
written to the SD card.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit 82c1445fc4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
649 B
INI
33 lines
649 B
INI
# Minimal SD card image for the Wandboard
|
|
#
|
|
# The SD card must have at least 1 MB free at the beginning.
|
|
# U-Boot and its environment are dumped as is.
|
|
# A single root filesystem partition is required (Ext4 in this case).
|
|
#
|
|
# For details about the layout, see:
|
|
# http://wiki.wandboard.org/index.php/Boot-process
|
|
|
|
image sdcard.img {
|
|
hdimage {
|
|
}
|
|
|
|
partition spl {
|
|
in-partition-table = "no"
|
|
image = "SPL"
|
|
offset = 1024
|
|
}
|
|
|
|
partition u-boot {
|
|
in-partition-table = "no"
|
|
image = "u-boot.img"
|
|
offset = 70656
|
|
}
|
|
|
|
partition rootfs {
|
|
partition-type = 0x83
|
|
image = "rootfs.ext4"
|
|
offset = 1M
|
|
size = 512M
|
|
}
|
|
}
|