[oe] kernel booting and params

Gary Thomas gary at mlbassoc.com
Wed Jan 27 13:33:58 UTC 2010


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
------------------------------------------------------------




More information about the Openembedded-devel mailing list