[U-Boot-Users] u-boot-0-3-0

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

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
participants (2)
-
Prashanth B H
-
Wolfgang Denk