[U-Boot-Users] Memory Bank x (nothingness)?
Vladimir Gurevich
vag at paulidav.org
Mon Feb 10 22:15:11 CET 2003
Hi Jerry,
I also have Walnut-based board, but found that it is much easier to
use OCM instead.
Here is a relevant piece of my config file:
/* use on chip memory ( OCM ) for temperary stack until sdram is tested */
#define CFG_TEMP_STACK_OCM 1
/* On Chip Memory location */
#define CFG_OCM_DATA_ADDR 0x50000000
#define CFG_OCM_DATA_SIZE 0x1000
#define CFG_INIT_RAM_ADDR CFG_OCM_DATA_ADDR
#define CFG_INIT_RAM_END CFG_OCM_DATA_SIZE
Happy hacking,
Vladimir
Jerry Walden wrote:
> Greetings -
>
> I have a custom PPC405GPr board, and I am trying to bring u-boot up on it.
>
> /*-----------------------------------------------------------------------
> */
> /* Setup temporary stack in DCACHE or OCM if needed for SDRAM SPD. */
> /*-----------------------------------------------------------------------
> */
> /*-----------------------------------------------------------------------
> */
> /* Memory Bank x (nothingness) initialization 1GB+64MEG */
> /* used as temporary stack pointer for stage0 */
> /*-----------------------------------------------------------------------
> */
> li r4,PBxAP
> mtdcr ebccfga,r4
> lis r4,0x0380
> ori r4,r4,0x0480
> mtdcr ebccfgd,r4
>
> The Walnut config has CFG_INIT_DCACHE_INIT_CS = 4
>
> In our custom board do not have anything attached to bank 4 -
>
> Does DCACHE for the processors cache or programmers private use?
> How can I (or how should I) re-write/add/subtract the above code to
> accomplish
> what it is trying to do (which is not clear to me).
>
> Thanks
>
> Jerry Walden
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
More information about the U-Boot
mailing list