From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Gurevich Date: Mon, 10 Feb 2003 13:15:11 -0800 Subject: [U-Boot-Users] Memory Bank x (nothingness)? In-Reply-To: References: Message-ID: <3E48165F.5030600@paulidav.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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