aboutsummaryrefslogtreecommitdiff
path: root/release/tools/arm/crochet-BEAGLEBONE.conf
diff options
context:
space:
mode:
Diffstat (limited to 'release/tools/arm/crochet-BEAGLEBONE.conf')
-rw-r--r--release/tools/arm/crochet-BEAGLEBONE.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/release/tools/arm/crochet-BEAGLEBONE.conf b/release/tools/arm/crochet-BEAGLEBONE.conf
index e72814fbdca7..7a32542ed0f9 100644
--- a/release/tools/arm/crochet-BEAGLEBONE.conf
+++ b/release/tools/arm/crochet-BEAGLEBONE.conf
@@ -27,3 +27,14 @@ FREEBSD_WORLD_EXTRA_ARGS=""
FREEBSD_KERNEL_EXTRA_ARGS=""
FREEBSD_EXTRA_ARGS=""
IMG=${WORKDIR}/FreeBSD-${_REVISION}-${_BRANCH}-${TARGET}-${TARGET_ARCH}-${KERNCONF}.img
+BEAGLEBONE_UBOOT=/tmp/external/u-boot-beaglebone
+
+beaglebone_check_uboot() {
+ mkdir -p "${BEAGLEBONE_UBOOT}"
+ ln -fs /usr/local/share/u-boot/u-boot-beaglebone/MLO \
+ ${BEAGLEBONE_UBOOT}/MLO
+ ln -fs /usr/local/share/u-boot/u-boot-beaglebone/u-boot.img \
+ ${BEAGLEBONE_UBOOT}/bb-uboot.img
+ ln -fs ${BOARDDIR}/files/uEnv.txt \
+ ${BEAGLEBONE_UBOOT}/bb-uenv.txt
+}