* [U-Boot-Users] u-boot TEXT_BASE relocatable
@ 2007-12-04 1:49 Jayant Chauhan
2007-12-04 7:27 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Jayant Chauhan @ 2007-12-04 1:49 UTC (permalink / raw)
To: u-boot
Hey fellas,
I am in a fix...and am a newbie...
I have my u-boot for ARM926Ejs...
And there are two DDR banks. The problem is I want to be able to run u-boot
from both the banks...
Reason? I need to do DDR testing (so need to change the offset values at
times in the control registers of the DDR)...
So if u-boot runs from Bank A, I can test Bank B, but as soon as I try and
change control register of Bank A...my system crashes or resets...
So I want to somehow use offsets to be used by the linker...
Is that possible? And can nething be done to TEXT_BASE value in CONFIG.MK
file to do this ?
thanks alot in advance guys
Sincerely
Jayant
--
View this message in context: http://www.nabble.com/u-boot-TEXT_BASE-relocatable-tf4940664.html#a14143068
Sent from the Uboot - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071203/1c97105c/attachment.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] u-boot TEXT_BASE relocatable
2007-12-04 1:49 [U-Boot-Users] u-boot TEXT_BASE relocatable Jayant Chauhan
@ 2007-12-04 7:27 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2007-12-04 7:27 UTC (permalink / raw)
To: u-boot
In message <14143068.post@talk.nabble.com> you wrote:
>
> I have my u-boot for ARM926Ejs...
> And there are two DDR banks. The problem is I want to be able to run u-boot
> from both the banks...
Oops? U-Boot will (if configured properly) map all banks of RAM as a
single contiguous memory area and use it all.
> Reason? I need to do DDR testing (so need to change the offset values at
> times in the control registers of the DDR)...
> So if u-boot runs from Bank A, I can test Bank B, but as soon as I try and
> change control register of Bank A...my system crashes or resets...
Sounds as if you don't present us all information. Normally, i. e.
when booting from NOR flash, U-Boot does the RAM testing while still
running from flash, i. e. before relocation.
You sound as if U-Boot was not booting from flash memory, but from
some sort of storage device like NAND or data flash. In this case it
is the responsibility of the bootstrap loader which sets up RAM to
test it before using it.
> ------=_Part_54830_4138933.1196732954043
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
And NEVER post HTML here.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"There's only one kind of woman ..." "Or man, for that matter. You
either believe in yourself or you don't."
-- Kirk and Harry Mudd, "Mudd's Women", stardate 1330.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-04 7:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-04 1:49 [U-Boot-Users] u-boot TEXT_BASE relocatable Jayant Chauhan
2007-12-04 7:27 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.