All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] TEXT_BASE question
@ 2004-06-23 21:22 Frank Young
  2004-06-23 21:45 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Young @ 2004-06-23 21:22 UTC (permalink / raw)
  To: u-boot

Hi,

I am trying to install u-boot on my walnut board with PPC405. In file 
board/walnut405/config.mk, TEXT_BASE is defined as FFFE0000. Does that mean 
the u-boot.bin has to start from FFFE0000?

My problem is that on my board the address space from FFF80000 to FFFFFFFF 
is reserved for a special purpose, so I can't put the u-boot.bin at 
FFFE0000. But if I change the TEXT_BASE to another one, for example 
FFF00000, then the u-boot.bin generated by the compiler is FFFFFFFF - 
FFF00000 = 1MB. It means I still can't put the u-boot.bin to FFF00000 
because it will overwrite the reserved address space anyway. I understand 
that u-boot is trying to fill the gap between TEXT_BASE and the end of the 
flash. So my question is:

1. If I use TEXT_BASE = FFFE0000 and simply put the u-boot.bin generated to 
FFF00000, will it mess up the addressing in the u-boot?

2. If the answer for 1 is yes, how can I move up the end of flash to 
FFF80000 so that the u-boot.bin will fill from FFF00000 to FFF80000 instead 
of from FFF00000 to FFFFFFFF?


Thanks,
Frank

_________________________________________________________________
Make the most of your family vacation with tips from the MSN Family Travel 
Guide! http://dollar.msn.com

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [U-Boot-Users] TEXT_BASE question
@ 2007-09-27 22:04 robert lazarski
  2007-09-28  3:08 ` Swarthout Edward L-SWARTHOU
  0 siblings, 1 reply; 5+ messages in thread
From: robert lazarski @ 2007-09-27 22:04 UTC (permalink / raw)
  To: u-boot

Hi all,

I see that many boards use, and that TEXT_BASE is often defined in
config.mk . In my 85xx case, I have:

TEXT_BASE = 0xfff80000

However, some of my registers are using TEXT_BASE + DATA that don't
seem right. In the bdi I get:

ATUM>rd ivor15
ivor15         : 0x00000f00  3840

That seems out of range of my 4K stack before relocation, could that
be a problem or am I simply reading this wrong?

Thanks,
Robert

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-28 12:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-23 21:22 [U-Boot-Users] TEXT_BASE question Frank Young
2004-06-23 21:45 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2007-09-27 22:04 robert lazarski
2007-09-28  3:08 ` Swarthout Edward L-SWARTHOU
2007-09-28 12:46   ` robert lazarski

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.