From: Thomas Lange <thomas@corelatus.se>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] U-boot for Mips 4KEC
Date: Wed, 03 Nov 2004 17:13:47 +0100 [thread overview]
Message-ID: <418903BB.2050703@corelatus.se> (raw)
In-Reply-To: <cmajjb$oie$1@sea.gmane.org>
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
>
prev parent reply other threads:[~2004-11-03 16:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-03 12:40 [U-Boot-Users] U-boot for Mips 4KEC calvin
2004-11-03 14:58 ` Wolfgang Denk
2004-11-03 16:13 ` Thomas Lange [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=418903BB.2050703@corelatus.se \
--to=thomas@corelatus.se \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox