<div dir="ltr">Hi Simon,<div><br></div><div>I am posting below my understanding of the u-boot code flow for bringing up a board until giving up the control to Linux -</div><div><div><br></div><div>U-boot:</div><div>_start </div><div>early_board_init_ret </div><div>board_init_f </div><div>relocate_code </div><div>board_init_r </div><div>timer_init </div><div>serial_init</div><div>main_loop </div><div><br></div><div>Now u-boot is up and running and is in u-boot prompt and ready to accept commands. Assume that kernel image is loaded into RAM and issued bootm command.</div><div><br></div><div>do_bootm </div><div>bootm_start </div><div>bootm_load_os </div><div>do_bootm_linux</div><div>boot_linux_kernel</div><div><br></div><div>Control is given to linux.</div><div><br></div></div><div><br></div><div>Let me know if I you agree with it? Now where can I bring in UEFI here? </div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Regards,<div>Saket Sinha</div></div></div></div>
<br><div class="gmail_quote">On Fri, Mar 6, 2015 at 12:20 AM, Simon Glass <span dir="ltr"><<a href="mailto:sjg@chromium.org" target="_blank">sjg@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Saket,<br>
<span class=""><br>
On 3 March 2015 at 19:45, Saket Sinha <<a href="mailto:saket.sinha89@gmail.com">saket.sinha89@gmail.com</a>> wrote:<br>
> Hi Simon,<br>
><br>
>           I guess now is the time for me to get started and dive deeper into<br>
> the project.<br>
><br>
> I am  familiar with U-Boot usage at the command level as well as compilation<br>
> and deployment.<br>
><br>
> I have tried to hack through u-boot in various ways in the past which<br>
> include<br>
><br>
> 1. Modifications in U-Boot’s initialization process, so that a custom<br>
> board’s specific hardware is set up early enough<br>
> 2. Adding support to specific hardware, by virtue of adding or modifying<br>
> low-level drivers<br>
> 3. Expanding the command interface to support a needed functionality,<br>
> possibly as a front-end for new hardware<br>
><br>
><br>
> I guess I have the minimal experience to get started with this project.<br>
> Kindly guide me as to how to go ahead with reference to this project.<br>
<br>
</span>I've figured out the problem with my IRC so will be on<br>
#minnowboard-gsoc from time to time.<br>
<br>
I'll go through this in more detail and post something next week. In<br>
the meantime it would be worth taking a look at the code for the<br>
'bootm' command in U-Boot. You can start at cmd_bootm.c and work down<br>
from there.<br>
<br>
Regards,<br>
Simon<br>
<br>
[snip]<br>
</blockquote></div><br></div>