svn commit: r282600 - projects/release-arm-redux/release/arm

Ian Lepore ian at freebsd.org
Wed May 13 04:39:03 UTC 2015


On Thu, 2015-05-07 at 18:52 +0000, Glen Barber wrote:
> Author: gjb
> Date: Thu May  7 18:51:59 2015
> New Revision: 282600
> URL: https://svnweb.freebsd.org/changeset/base/282600
> 
> Log:
>   Add entries to uenv.txt.
>   
>   Obtained from:	Crochet
>   Sponsored by:	The FreeBSD Foundation
> 
> Modified:
>   projects/release-arm-redux/release/arm/RPI-B.conf
> 
> Modified: projects/release-arm-redux/release/arm/RPI-B.conf
> ==============================================================================
> --- projects/release-arm-redux/release/arm/RPI-B.conf	Thu May  7 18:49:43 2015	(r282599)
> +++ projects/release-arm-redux/release/arm/RPI-B.conf	Thu May  7 18:51:59 2015	(r282600)
> @@ -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}
> 

This doesn't seem right.  The u-boot port for rpi already contains
everything necessary to boot, and the uenv.txt file exists for end users
to add their own customizations.  We should be delivering either an
empty file or no file (the latter yields a harmless warning at boot).

-- Ian





More information about the svn-src-projects mailing list