Sorry, I am junior in Linux!
Perhaps, they are not smart questions!
Because I do not know where to find its answer!!
<0> what is the shortest way to debug kernel?!
It is so slow to add printk, rebuild zImage , download zImage and
try to boot ....
<1> I read some books and documents about the kernel boot
I get the sequence from them.....
BOOTSECT.S,HEAD.S,.....-> start_kernel() in main.c -> mount root,
but I had traced the start_kernel() in main(), I found a function
after the start_kernel().
My questions is that
calling "start_kernel()",and then "init()" (all in main.c)
is definitely sequence?!
(I use ARM-LINUX, maybe not in X86-linux?)
<2> "__init" (in front of functions) has any other meaning?!
such as AUTO-RUN by kernel?!.....
<3> about the "__initcall()"?!
I trace how the "cdu31a_init()" in cdu31a.c start (if cdu31a.o is
cdu31a_init() <- blk_dev_init() <- device_init() <-
but finally end in "__initcall(partition_setup())" in the tail of
what is the meaning?! auto-start?!
or how does it start?!......and so do aha1542_setup() , h8_init()
<4> what kind of driver must be built-in-driver in kernel (not