any good (detailed) howto on the 2.6 kernel boot sequence?

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

 




i'm curious if there's any good docs on the step-by-step 2.6 kernel boot process. i suspect knowing that for the i386 would make it easier for me to set up cross-compiling as well for the PPC and SH3.


as an example, if i follow the source (yup, RTFSing it) for the i386, in the kernel source tree, i can see the beginning of the process:

*  arch/i386/kernel/head.S:
...
call start_kernel

* init/main.c
asmlinkage void __init start_kernel(void)
{
	lock_kernel();
        page_address_init();
        printk(linux_banner);
        setup_arch(&command_line);
        setup_per_cpu_areas();
        smp_prepare_boot_cpu();
        sched_init();
        build_all_zonelists();
        page_alloc_init();
        printk("Kernel command line: %s\n", saved_command_line);
        parse_early_param();
        parse_args("Booting kernel", command_line, __start___param,
                   __stop___param - __start___param,
                   &unknown_bootoption);
	... and on and on ...
etc, etc, etc.

sure, following the source is educational, but it would be handy if someone has written a companion around that to expand on some of the steps.

i do notice that there's the doc file Documentation/i386/boot.txt in the source tree, but it's clearly for the 2.4 kernel so i'm not sure how useful it is.

  hints?  pointers?

rday



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux