Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 May 2015 15:29:07 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   Re: svn commit: r282600 - projects/release-arm-redux/release/arm
Message-ID:  <1431034147.6170.189.camel@freebsd.org>
In-Reply-To: <201505071852.t47Iq0nF097422@svn.freebsd.org>
References:  <201505071852.t47Iq0nF097422@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1431034147.6170.189.camel>