1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

Add entries to uenv.txt.

Obtained from:	Crochet
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-05-07 18:51:59 +00:00
parent 60bc17f490
commit 5287f5496e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-arm-redux/; revision=282600

View File

@ -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}