kernel booting and params
Hello everyone!
Trying to find information about kernel booting gave me nothing so I decided to write here.
The question is: how does linux kernel know where to get its parameters' string? To be more precise, what actions in general should a linux bootloader do to tell the kernel its params and boot it?
Maybe someone knows where to find an information about it?
Exploring the sources of GRUB seemed hard to me to understand...
Thanks anyway!
Quoted 10 lines · Alex
Hello everyone!
Trying to find information about kernel booting gave me nothing so I decided to write here.
The question is: how does linux kernel know where to get its parameters' string? To be more precise, what actions in general should a linux bootloader do to tell the kernel its params and boot it?
Maybe someone knows where to find an information about it?
Exploring the sources of GRUB seemed hard to me to understand...
This process is different for every architecture (x86, arm, powerpc, ...)
What platform(s) are you trying to understand?
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 9 lines · Alex
Quoted 8 lines · Gary Thomas
Quoted 7 lines · Alex
Hello everyone!
Trying to find information about kernel booting gave me nothing so I decided to write here.
The question is: how does linux kernel know where to get its parameters' string? To be more precise, what actions in general should a linux bootloader do to tell the kernel its params and boot it?
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
...
This process is different for every architecture (x86, arm, powerpc, ...)
What platform(s) are you trying to understand?
It is an arm cpu. The platform is dm6446.
n.b. replies should be on the mailing list so that all benefit.
The information for ARM is passed in memory at a fixed block with pointers and tags describing the various data. The Linux source file '.../arch/arm/include/asm/setup.h' describes how this works.
Look at U-Boot to see how it handles this linkage.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 12 lines · Gary Thomas
Quoted 11 lines · Alex
Quoted 10 lines · Gary Thomas
Quoted 8 lines · Alex
Hello everyone!
Trying to find information about kernel booting gave me nothing so I decided to write here.
The question is: how does linux kernel know where to get its parameters' string? To be more precise, what actions in general should a linux bootloader do to tell the kernel its params and boot it?
...
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
This process is different for every architecture (x86, arm, powerpc, ...)
What platform(s) are you trying to understand?
It is an arm cpu. The platform is dm6446.
n.b. replies should be on the mailing list so that all benefit.
Oh, sorry for that =(
Quoted 6 lines
The information for ARM is passed in memory at a fixed block with pointers and tags describing the various data. The Linux source file '
.../arch/arm/include/asm/setup.h' describes how this works.Look at U-Boot to see how it handles this linkage.
Thanks a lot! I'll look!