<div>Hello,</div>
<div> </div>
<div>The answer to your question "who calls start_armboot?" is answered by you ASM code below. Hint... take a close look at the regsiter you are loading.</div>
<div> </div>
<div>:-)</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<div>Russell<br><br> </div>
<div><span class="gmail_quote">On 7/14/06, <b class="gmail_sendername">Ram</b> <<a href="mailto:vshrirama@gmail.com">vshrirama@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br> Thanks for your response. I have gone much further and would like to know If<br><br> ldr pc, _start_armboot
<br> _start_armboot:<br> .word start_armboot<br><br><br> Does this really invoke start_armboot?. This is because<br>_start_armboot is what is<br> stored in pc and not start_armboot and there is also a branch
<br>point _start_armboot (underscore start_armboot) Please see above.<br><br> Actually the above declares a variable start_armboot and does not<br>invoke the function<br> start_armboot. If this is true, then who calls start_armboot?
<br><br><br> According to me start_armboot ( ) which is present in<br>lib_arm/board.c never returns until u reset the board and probably<br>should be one of the last functions that needs to be called.<br><br> Correct?.
<br><br><br> Rest agreed, What i have understood is<br> First, reset is called which set the cpu to SVC32 mode and<br>calls cpu_init_crit<br> which inturn calls lowlevel_init to setup memory and board<br>specific register values.
<br><br> Then stack is setup and start_amboot is called.<br><br><br> start_armboot is the point of entry where code is C. ie<br>(Assembly to C) begins from start_armboot.<br><br><br> am i Correct?.
<br><br><br> This is the function which does some remaining initialisation<br>and then starts initialising the for pheripherals.<br><br><br> am i Correct?<br><br><br>I didnt understand the things relating interrupt and thier processing though.
<br><br>Thanks and Regards,<br>sriram<br><br><br>-------------------------------------------------------------------------<br>Using Tomcat but need to do more? Need to support web services, security?<br>Get stuff done quickly with pre-integrated technology to make your job easier
<br>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
</a><br>_______________________________________________<br>U-Boot-Users mailing list<br><a href="mailto:U-Boot-Users@lists.sourceforge.net">U-Boot-Users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/u-boot-users">
https://lists.sourceforge.net/lists/listinfo/u-boot-users</a><br></blockquote></div><br>