[U-Boot] [PATCH 2/2] arm: vf610: Initial load to 1/2MB OC gfxRAM.

Stefan Agner stefan at agner.ch
Thu Dec 4 16:37:47 CET 2014


On 2014-12-03 19:40, Bill Pringlemeir wrote:
> The gfxRAM has no ECC, but it is 512KB in size.  The other
> ECC SRAM comes in two banks of 256K each.  The HAB uses parts of the
> 2nd bank and it seems that loading from the SD card may not exceed
> a bank size (256k-32k boot offset = 224k).  U-boot since v2014.04
> are larger than this and do not boot by default.
> 
> As U-Boot relocates to DDR3 the gfxRAM is probably reliable enough.
> However, an SPL framework would be better.
> 
> Signed-off-by: Bill Pringlemeir <bpringlemeir at nbsps.com>
> ---
>  include/configs/vf610twr.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h
> index 62ffb9e..41ad478 100644
> --- a/include/configs/vf610twr.h
> +++ b/include/configs/vf610twr.h
> @@ -122,7 +122,7 @@
>  #define CONFIG_BOOTDELAY		3
>  
>  #define CONFIG_LOADADDR			0x82000000
> -#define CONFIG_SYS_TEXT_BASE		0x3f008000
> +#define CONFIG_SYS_TEXT_BASE		0x3f408000
>  
>  #define CONFIG_EXTRA_ENV_SETTINGS \
>  	"script=boot.scr\0" \


We use gfxRAM since quite some time and it proved working fine, see:
http://git.toradex.com/cgit/u-boot-toradex.git/tree/include/configs/colibri_vf.h?h=2014.10-toradex-next#n128

Also you can specify the board size limit using CONFIG_BOARD_SIZE_LIMIT.

Acked-by Stefan Agner <stefan at agner.ch>

--
Stefan



More information about the U-Boot mailing list