[U-Boot-Users] U-boot for Mips 4KEC

Thomas Lange thomas at corelatus.se
Wed Nov 3 17:13:47 CET 2004


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
> 





More information about the U-Boot mailing list