How controll is passed from uboot to kernel
Hi All, I need to know how the control is passed from u-boot to kernel in Linux operating system Thanks in Advannce
hi chetan: 2013/2/16 Chetan C.R. <chetancr9@gmail.com>
Hi All,
I need to know how the control is passed from u-boot to kernel in Linux operating syste
Per my understanding, uboot will save what kernel needs to registers before jump to the entry point. The contents of the register and which registers are needed is architecture defined. You may check kernel/uboot source for your architecture. HTH,
Hi, On Sat, Feb 16, 2013 at 10:13 AM, Chetan C.R. <chetancr9@gmail.com> wrote:
Hi All,
I need to know how the control is passed from u-boot to kernel in Linux operating system
Refer this link http://www.simtec.co.uk/products/SWLINUX/files/booting_article.html for booting ARM. ---- Regards, --Prabhakar http://www.linkedin.com/pub/prabhakar-lad/19/92b/955
Thanks in Advannce
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
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@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@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards, Peter Teoh
participants (4)
-
Chetan C.R. -
Peter Teoh -
Prabhakar Lad -
vichy