mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-03 18:33:48 +08:00
0f8433ab04
This configuration allows out-of-the box Digilent Zybo support. It uses mainline U-boot and Linux kernel. This configuration generates a SD card image named sdcard.img. [Peter: rename genimage.cfg, cleanup post-image script, enable VFP support, use 4.6 kernel headers and add tools needed by genimage] Signed-off-by: Sebastien Van Cauwenberghe <svancau@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
19 lines
475 B
Bash
Executable File
19 lines
475 B
Bash
Executable File
#!/bin/sh
|
|
|
|
BOARD_DIR="$(dirname $0)"
|
|
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
|
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
|
OUTPUT_DIR="${O}/images"
|
|
|
|
rm -rf "${GENIMAGE_TMP}"
|
|
|
|
cp board/digilent/zybo/uEnv.txt ${BINARIES_DIR}
|
|
cp board/digilent/zybo/system.bit ${BINARIES_DIR}
|
|
|
|
genimage \
|
|
--rootpath "${TARGET_DIR}" \
|
|
--tmppath "${GENIMAGE_TMP}" \
|
|
--inputpath "${BINARIES_DIR}" \
|
|
--outputpath "${BINARIES_DIR}" \
|
|
--config "${GENIMAGE_CFG}"
|