[U-Boot] u-boot: OpenRD Ultimate fails to build

Rick Thomas rbthomas at pobox.com
Sun Apr 5 12:50:37 CEST 2015


I have a couple of ShevaPlugs, one OpenRD Base and one OpenRD Ultimate.  If you’ll guide me thru the process, I’ll be glad to help with testing.

The ShevaPlugs are currently idle, while the Base and Ultimate are occupied doing useful work.  So I’d prefer to start with the SheevaPlugs if that’s OK with you.

Rick

On Apr 3, 2015, at 2:46 PM, Vagrant Cascadian <vagrant at debian.org> wrote:

> On 2015-03-25, drEagle wrote:
>> Le 21/03/2015 15:53, Vagrant Cascadian a écrit :
>>> It seems that OpenRD Ultimate with u-boot 2015.04-rc3 and newer no
>>> longer builds from source, both in Debian and with mainline git. It
>>> appears to have overgrown the size limits set for it:
>> 
>> Looks like the NAND partition map had to be changed to give more space for u-boot.
> 
> The following patch gets it to build by moving the env addr and offset
> later. This might cause problems with new or existing u-boot
> installations on openrd if the environment needs to be at a specific
> location. I have no hardware to test, so no way of confirming this
> directly:
> 
> diff --git a/include/configs/openrd.h b/include/configs/openrd.h
> index b6f80af..2f1e174 100644
> --- a/include/configs/openrd.h
> +++ b/include/configs/openrd.h
> @@ -72,12 +72,12 @@
> /*
>  * max 4k env size is enough, but in case of nand
>  * it has to be rounded to sector size
>  */
> #define CONFIG_ENV_SIZE			0x20000	/* 128k */
> -#define CONFIG_ENV_ADDR			0x60000
> -#define CONFIG_ENV_OFFSET		0x60000	/* env starts here */
> +#define CONFIG_ENV_ADDR			0x80000
> +#define CONFIG_ENV_OFFSET		0x80000	/* env starts here */
> /*
>  * Environment is right behind U-Boot in flash. Make sure U-Boot
>  * doesn't grow into the environment area.
>  */
> #define CONFIG_BOARD_SIZE_LIMIT		CONFIG_ENV_OFFSET
> 
> 
> I'll likely remove openrd_ultimate from future uploads to Debian if I
> can't get confirmation about how to fix this properly.
> 
> 
> live well,
>  vagrant



More information about the U-Boot mailing list