public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] u-boot-0-3-0
@ 2003-06-03 13:48 Prashanth B H
  2003-06-03 14:57 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Prashanth B H @ 2003-06-03 13:48 UTC (permalink / raw)
  To: u-boot

Hai

I am trying to understand the flow of u-boot loader running on FADS
MPC823 PPC core.

Now i am struck up in the function relocate_code (addr_sp, id, addr);
called by the file /lib-ppc/board.c .
The comment says /* NOTREACHED - relocate_code() does not return */
This assembly function resides in /cpu/mpc8xx/start.s 
What is the address value loaded into Link register before the final
instruction BLR in the above function has become a mystry for me ?
Due to which I am not able track where does it jump out from this
function.

If anybody can deciphere this it would be very much appreciable.

Thanks and Regards


Prashanth B.H
Software Engineer
Embedded Systems and Softwares
Larsen and Toubro Limited
KIADB Industrial Estate, Hebbal
Hootagalli, Mysore -571186
Ph : (0821) 402561 EXT: 2710

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

* [U-Boot-Users] u-boot-0-3-0
  2003-06-03 13:48 [U-Boot-Users] u-boot-0-3-0 Prashanth B H
@ 2003-06-03 14:57 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2003-06-03 14:57 UTC (permalink / raw)
  To: u-boot

In message <sedcf483.031@EMAIL> you wrote:
> 
> The comment says /* NOTREACHED - relocate_code() does not return */
> This assembly function resides in /cpu/mpc8xx/start.s 

The comment in start.S also says "Do not return,  instead  branch  to
second part of board initialization, now running from RAM."

> What is the address value loaded into Link register before the final
> instruction BLR in the above function has become a mystry for me ?

Which part of "bl board_init_r" is difficult for you to understand?


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Mistakes are often the stepping stones to utter failure.

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

end of thread, other threads:[~2003-06-03 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-03 13:48 [U-Boot-Users] u-boot-0-3-0 Prashanth B H
2003-06-03 14:57 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox