Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded/conf Properly escape the $ when tryin...
details: https://anonhg.NetBSD.org/src/rev/ba3d72f7598a
branches: trunk
changeset: 809489:ba3d72f7598a
user: martin <martin%NetBSD.org@localhost>
date: Wed Jul 15 11:29:16 2015 +0000
description:
Properly escape the $ when trying to pass the u-boot env var $kernel.
>From Rin Okuyama.
diffstat:
distrib/utils/embedded/conf/armv7.conf | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 294b7157b226 -r ba3d72f7598a distrib/utils/embedded/conf/armv7.conf
--- a/distrib/utils/embedded/conf/armv7.conf Wed Jul 15 11:27:13 2015 +0000
+++ b/distrib/utils/embedded/conf/armv7.conf Wed Jul 15 11:29:16 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: armv7.conf,v 1.5 2015/07/08 10:57:46 skrll Exp $
+# $NetBSD: armv7.conf,v 1.6 2015/07/15 11:29:16 martin Exp $
# ARMv7 customization script used by mkimage
#
board=armv7
@@ -45,7 +45,7 @@
populate_awin() {
cat >> "${mnt}/boot/uEnv.txt" << EOF
bootargs=root=ld0a console=${console}
-uenvcmd=mmc dev 0; mmc rescan; if test \$fdtfile = sun7i-a20-cubieboard2.dtb; then setenv kernel netbsd-CUBIEBOARD2.ub; elif test \$fdtfile = sun7i-a20-cubietruck.dtb; then setenv kernel
netbsd-CUBIETRUCK.ub; elif test \$fdtfile = sun6i-a31-hummingbird.dtb; then setenv kernel netbsd-HUMMINGBIRD_A31.ub; elif test \$fdtfile = sun7i-a20-bananapi.dtb; then setenv kernel netbsd-BPI.ub;
fi; fatload mmc 0:1 82000000 ${kernel}; bootm 82000000
+uenvcmd=mmc dev 0; mmc rescan; if test \$fdtfile = sun7i-a20-cubieboard2.dtb; then setenv kernel netbsd-CUBIEBOARD2.ub; elif test \$fdtfile = sun7i-a20-cubietruck.dtb; then setenv kernel
netbsd-CUBIETRUCK.ub; elif test \$fdtfile = sun6i-a31-hummingbird.dtb; then setenv kernel netbsd-HUMMINGBIRD_A31.ub; elif test \$fdtfile = sun7i-a20-bananapi.dtb; then setenv kernel netbsd-BPI.ub;
fi; fatload mmc 0:1 82000000 \$kernel; bootm 82000000
EOF
}
Home |
Main Index |
Thread Index |
Old Index