linux boot sequence

Siva Prasad sprasad at
Thu Jul 17 04:34:54 EST 2008


Please make sure to copy the list as well.

OF - Open firmware. I am not sure which version of Linux kernel you are using, and which boot loader. Lately it is all OF based, however it is supported in the form of device tree blob/structure. For more information read booting-without-of.txt in Documentation/powerpc.

U-Boot updates the detected memory in the dtb you loaded, so that when kernel reads it, correct information is provided.

There is no auto-detect option in kernel. You need to write your own code at the exact location it needs to identify the size of memory. Typically this is passed to the kernel either through DTB or kernel arguments.

Good Luck.

- Siva

-----Original Message-----
From: Rami WEHBI [mailto:rwehbi at] 
Sent: Monday, July 14, 2008 11:47 PM
To: Siva Prasad
Subject: RE: linux boot sequence

 what is the OF dtb ??? And how does the bootloader update it ???

 How can I do to set the autodetect option in the kernel ???

Best Regards,

-----Message d'origine-----
De : Siva Prasad [mailto:sprasad at] 
Envoyé : vendredi 11 juillet 2008 23:01
À : Rami WEHBI
Cc : linuxppc-embedded at
Objet : linux boot sequence

Well!... You can pass the size as part of the OF memory=<>.

Typically your boot loader should detect the amount of memory on the system and update the OF dtb to reflect the available memory.

You may also tweak the kernel yourself to autodetect, instead of reading from the OF. How ever, I would recommend the previous approach.

- Siva

Date: Fri, 11 Jul 2008 08:34:54 +0200
From: "Rami WEHBI" <rwehbi at>
Subject: linux boot sequence
To: <linuxppc-embedded at>
<D3C541E264C021479BFB60B3B790C0FB497014 at etoilenoire.STARWARS.local>
Content-Type: text/plain; charset="iso-8859-1"

Hi all,
    I am using the ppc405 and I would like to know, how does linux on this architect detect the available memory size in details !!!
        is it a parameter passed to linux at startup by the boot loader ??
        is it an automatic detection ?? what are the steps to accomplish this job then ???
Best regards to all,

Rami WEHBI 	
Recherche & D?veloppement 	
T?l :	 +33 2 36 56 86 00	
Fax :	 +33 2 36 56 86 01	


WIRECOM Technologies
135, Rue Jacques Charles
45166 Olivet

More information about the Linuxppc-embedded mailing list