From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Lange Date: Wed, 03 Nov 2004 17:13:47 +0100 Subject: [U-Boot-Users] U-boot for Mips 4KEC In-Reply-To: References: Message-ID: <418903BB.2050703@corelatus.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de If you look at the other MIPS boards, e.g. dbau1x00, you will see that you setup SDRAM with assembler code to create a temporary stack in sdram before executing any c code. (start.S calls memsetup.S) /Thomas calvin wrote: > Hi, > > In the process of porting U-boot for Malta which uses mips 4Kec I > discovered that the stack required for intial C environment can neither > be obtained by some on-chip memory (IMMR in MPC8xx ) nor by using DCACHE > in locked mode. Mips 4KC has the DCache locked mode support but Mips > 4KEC has it only through external pin interface. > > I am looking for a way of not using the C code till code has started > running from RAM. But how do I get the value of gd(global data pointer) > which U-boot expects? README file does not mention anything about mips > registers which are specifially used for this purpose. > > Thanks and Regards, > Pooja > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users >