Re: How controll is passed from uboot to kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




--
Regards,
Peter Teoh


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux