kumquat-buildroot/board/technologic/ts4800/post-image.sh
Patrick Keroulas 1cda15f494 configs: add defconfig for TS-4800
The TS-4800 is supported by mainline Linux as of 4.5 and by U-boot
as of v2016-07.

The package requires the custom ts4800-mbrboot routine.

A post-image script is provided to generate an image that can be
directly written to an SD card.

More details on the board here:
  http://wiki.embeddedarm.com/wiki/TS-4800

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Patrick Keroulas <patrick.keroulas@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-20 13:45:09 +02:00

20 lines
436 B
Bash
Executable File

#!/bin/bash
#
# Copyright (C) 2015 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
exit $?