aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-07 18:51:59 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-07 18:51:59 +0000
commit5287f5496efc87b1d8e80f0bcebad57f8209ca46 (patch)
tree92f4bb5644e6c20603800502d6402109197425f7
parent60bc17f490fc317afa0d3940d74b8ee48f36e3bb (diff)
downloadsrc-5287f5496efc87b1d8e80f0bcebad57f8209ca46.tar.gz
src-5287f5496efc87b1d8e80f0bcebad57f8209ca46.zip
Add entries to uenv.txt.
Obtained from: Crochet Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-arm-redux/; revision=282600
-rw-r--r--release/arm/RPI-B.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/arm/RPI-B.conf b/release/arm/RPI-B.conf
index 397d174fb883..ab93053fc4d3 100644
--- a/release/arm/RPI-B.conf
+++ b/release/arm/RPI-B.conf
@@ -30,6 +30,10 @@ arm_install_uboot() {
done
cp -p ${CHROOTDIR}/${UFSMOUNT}/boot/ubldr \
${CHROOTDIR}/${FATMOUNT}/ubldr
+ echo 'loadbootscript=fatload mmc 0 0x2000000 ubldr' > \
+ ${CHROOTDIR}/${FATMOUNT}/uenv.txt
+ echo 'bootscript=fdt addr 0x100;bootelf 0x2000000' >> \
+ ${CHROOTDIR}/${FATMOUNT}/uenv.txt
sync
umount_loop ${CHROOTDIR}/${FATMOUNT}
umount_loop ${CHROOTDIR}/${UFSMOUNT}