From: Stefan Agner Date: Thu, 04 Dec 2014 16:37:47 +0100 Subject: [U-Boot] [PATCH 2/2] arm: vf610: Initial load to 1/2MB OC gfxRAM. In-Reply-To: <1417632059-11240-3-git-send-email-bpringlemeir@nbsps.com> References: <1417632059-11240-1-git-send-email-bpringlemeir@nbsps.com> <1417632059-11240-3-git-send-email-bpringlemeir@nbsps.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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