aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGravatar Vivien Didelot <vivien.didelot@savoirfairelinux.com>2015-07-13 20:50:45 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-13 20:59:57 +0200
commit7fce2970adc47d60be4fc843f510e525f35966bd (patch)
treea0e88e3055a0289f2db08ee11becb89ad1a5c799 /configs
parent07f92eeb108d94a7018740c109093838e67f15ac (diff)
downloadbuildroot-7fce2970adc47d60be4fc843f510e525f35966bd.tar.gz
buildroot-7fce2970adc47d60be4fc843f510e525f35966bd.tar.bz2
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/wandboard_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig
index 0a6ba5072f..5d74fc3157 100644
--- a/configs/wandboard_defconfig
+++ b/configs/wandboard_defconfig
@@ -4,6 +4,8 @@ BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.0.101"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/wandboard/post-image.sh"
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y