* kernel booting and params @ 2010-01-27 13:03 Alex 2010-01-27 13:06 ` Gary Thomas 0 siblings, 1 reply; 4+ messages in thread From: Alex @ 2010-01-27 13:03 UTC (permalink / raw) To: openembedded-devel 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! ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kernel booting and params 2010-01-27 13:03 kernel booting and params Alex @ 2010-01-27 13:06 ` Gary Thomas [not found] ` <4B603B5F.8080009@gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Gary Thomas @ 2010-01-27 13:06 UTC (permalink / raw) To: openembedded-devel; +Cc: Alex On 01/27/2010 06:03 AM, Alex wrote: > 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? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <4B603B5F.8080009@gmail.com>]
* Re: kernel booting and params [not found] ` <4B603B5F.8080009@gmail.com> @ 2010-01-27 13:33 ` Gary Thomas 2010-01-27 13:46 ` Alex 0 siblings, 1 reply; 4+ messages in thread From: Gary Thomas @ 2010-01-27 13:33 UTC (permalink / raw) To: Alex; +Cc: openembedded-devel On 01/27/2010 06:10 AM, Alex wrote: > Gary Thomas wrote: >> On 01/27/2010 06:03 AM, Alex wrote: >>> 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? >>> >>> ... >> >> 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. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kernel booting and params 2010-01-27 13:33 ` Gary Thomas @ 2010-01-27 13:46 ` Alex 0 siblings, 0 replies; 4+ messages in thread From: Alex @ 2010-01-27 13:46 UTC (permalink / raw) To: openembedded-devel Gary Thomas wrote: > On 01/27/2010 06:10 AM, Alex wrote: >> Gary Thomas wrote: >>> On 01/27/2010 06:03 AM, Alex wrote: >>>> 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? >>>> >>>> ... >>> >>> 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 =( > > 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! ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-27 13:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27 13:03 kernel booting and params Alex
2010-01-27 13:06 ` Gary Thomas
[not found] ` <4B603B5F.8080009@gmail.com>
2010-01-27 13:33 ` Gary Thomas
2010-01-27 13:46 ` Alex
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.