Fwd: Re[2]: [U-Boot-Users] at91rm9200 lowlevel_init.S
Wolfgang Denk
wd at denx.de
Thu Jan 12 17:08:31 CET 2006
In message <368204843.20060112184206 at tst.spb.su> you wrote:
>
> I guess _MTEXT_BASE is a start of code, the location just after vectors.
Why are you guessing - why don't you read the code?
_MTEXT_BASE:
...
.word TEXT_BASE
...
As you can see your guess was wrong. _MTEXT_BASE is a word of memory
which holds the value TEXT_BASE.
> But what's the use of it here?
So that you can load it easily into a register?
> It FAILS! Obviously, u-boot crashes here. Something wrong in code...
What does "it crashes here" mean? Where exactly does it crash, and
why? You single-step this code, don't you?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
But the only way of discovering the limits of the possible is to
venture a little way past them into the impossible.
- _Profiles of the Future_ (1962; rev. 1973)
``Hazards of Prophecy: The Failure of Imagination''
More information about the U-Boot
mailing list