Module Name: src
Committed By: jmcneill
Date: Mon Sep 29 17:54:13 UTC 2014
Modified Files:
src/distrib/utils/embedded/conf: beagleboard.conf
Log Message:
escape $ in $board so this will boot on beaglebone too
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/distrib/utils/embedded/conf/beagleboard.conf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/embedded/conf/beagleboard.conf
diff -u src/distrib/utils/embedded/conf/beagleboard.conf:1.17 src/distrib/utils/embedded/conf/beagleboard.conf:1.18
--- src/distrib/utils/embedded/conf/beagleboard.conf:1.17 Mon Sep 16 15:23:57 2013
+++ src/distrib/utils/embedded/conf/beagleboard.conf Mon Sep 29 17:54:13 2014
@@ -1,4 +1,4 @@
-# $NetBSD: beagleboard.conf,v 1.17 2013/09/16 15:23:57 ast Exp $
+# $NetBSD: beagleboard.conf,v 1.18 2014/09/29 17:54:13 jmcneill Exp $
# BeagleBoard customization script used by mkimage
#
board=beagleboard
@@ -34,7 +34,7 @@ populate() {
bbone_kernel="$(echo $bboard_kernel | sed 's/BEAGLEBOARD/BEAGLEBONE/g')"
cat > ${mnt}/boot/uEnv.txt << EOF
-loaduimage=if test $board = am335x; then fatload mmc 0 ${bbone_loadaddr} ${bbone_kernelimg}; bootm ${bbone_loadaddr} root=ld0a; else fatload mmc 0 ${bboard_loadaddr} ${bboard_kernelimg}; bootm ${bboard_loadaddr} root=ld0a; fi
+loaduimage=if test \$board = am335x; then fatload mmc 0 ${bbone_loadaddr} ${bbone_kernelimg}; bootm ${bbone_loadaddr} root=ld0a; else fatload mmc 0 ${bboard_loadaddr} ${bboard_kernelimg}; bootm ${bboard_loadaddr} root=ld0a; fi
EOF
if [ ! -f "${bboard_kernel}" ]; then
echo ${PROG}: Missing ${bboard_kernel} 1>&2