kumquat-buildroot/board/wandboard/genimage.cfg
Vivien Didelot 7fce2970ad board/wandboard: add a genimage config
This patch adds a genimage config file and a post-image script for the
Wandboard, to generate a medium image "sdcard.img", ready to be booted.
The image contains the layout explained in the board readme.txt file:
U-Boot, its environment, and an Ext2 rootfs partition.

The defconfig has been slightly changed to enable this feature. Also
lighten the readme file since the config file is documented and simpler.

Tested on a Wandboard Solo.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Arnout: change the name of the tmp dir, and remove it before using
it.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-13 20:59:57 +02:00

33 lines
667 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 (Ext2 in this case).
#
# For details about the layout, see:
# http://wiki.wandboard.org/index.php/Boot-process
image sdcard.img {
hdimage {
}
partition u-boot {
in-partition-table = "no"
image = "u-boot.imx"
offset = 1024
}
partition u-boot-env {
in-partition-table = "no"
image = "uboot-env.bin"
offset = 393216
size = 8192
}
partition rootfs {
partition-type = 0x83
image = "rootfs.ext2"
size = 512M
}
}