kumquat-buildroot/board/technologic/ts4900/post-image.sh
Mathieu Audat 3138ab3fee configs: add defconfig for TS-4900
The TS-4900 uses a custom Linux 4.X from Technologic Systems:
https://github.com/embeddedarm/linux-3.10.17-imx6/tree/imx_4.1.15_1.0.0_ga
Indeed, it is not supported by mainline Linux but this work is ongoing.

This patch is inspired by a previous work for the TS-4800.
A post image script is provided to generate an image that can be
directly written to an SD card. It also adds an fpga wifi module.

Signed-off-by: Mathieu Audat <mathieu.audat@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-18 17:09:59 +02:00

18 lines
420 B
Bash
Executable File

#!/bin/bash
#
# Copyright (C) 2015-2016 Savoir-Faire Linux
# Post image generation script.
BOARD_DIR="$(dirname $0)"
GENIMAGE_CFG=$BOARD_DIR/genimage.cfg
GENIMAGE_TMP=$BUILD_DIR/.genimage_tmp
rm -rf $GENIMAGE_TMP
${HOST_DIR}/usr/bin/genimage \
--config ${GENIMAGE_CFG} \
--rootpath $TARGET_DIR \
--tmppath $GENIMAGE_TMP \
--inputpath $BINARIES_DIR \
--outputpath $BINARIES_DIR