How controll is passed from uboot to kernel

Peter Teoh htmldeveloper at gmail.com
Tue Feb 19 09:36:25 EST 2013


Reading the uboot source code:

In common/cmd_bootm.c:

int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{

And within this do_bootm_linux() is called:

            do_bootm_linux  (cmdtp, flag, argc, argv,
                             addr, len_ptr, verify);

And inside do_bootm_linux() (platform-specific, for x86 it is
lib_i386/i386_linux.c) is the load_zimage() function being called, which is
effectively loading the kernel image file.

On Sat, Feb 16, 2013 at 12:43 PM, Chetan C.R. <chetancr9 at gmail.com> wrote:

> Hi All,
>
> I need to know how the control is passed from u-boot to kernel in Linux
> operating system
>
>
> Thanks in Advannce
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>


-- 
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130219/658556ef/attachment.html 


More information about the Kernelnewbies mailing list