Am 29.09.2006 um 08:46 schrieb Raylynn Knight:

> On Thu, 2006-09-28 at 22:07 +0200, Florian Boelstler wrote:
>> Hi Tobias,
>>
>> Tobias Netzel wrote:
>>> I didn't have time yet to look into the sources.
>>
>> Me neither.
>>
>>> I don't even know what a "flat" device tree is. Does it mean that all
>>> nodes are on the same level?
>>
>> AFAIK the "flattened device tree" is a replacement for systems that do
>> not build on Open Firmware.
>> I am also affected about this change at work, though I didn't had a
>> chance to thoroughly investigate it.
>>
>> An initial documentation can be found in <linux
>> source>/Documentation/powerpc/booting-without-of.txt
>>
>>  Florian
>>
> We might want to ask Benjamin Herrenschmidt's opinion on the approach  
> we
> should take.
>  The document states " new 32-bit
> platforms and 32-bit platforms which move into arch/powerpc will be
> required to use these rules".  But the document seems to be addressing
> mostly embedded platforms.  Also, I do believe Ben will have to review
> any code we wish to get into the mainstream kernel tree.
We would have to post to the ppc kernel developer mailing list at  
ozlabs.org then.

I now studied the document about booting without OF.
In order to go the "right" way we would have to change the bootloader  
to provide a device tree for NuBus machines.
That would mean that we won't be able to use the MkLinux bootloader any  
more.
And we would need the possibility to build a bootloader. Daniel  
Gimpelevich is able to build miboot but he isn't sure of BootX yet.

Until now - in the 2.4 kernel - the kernel itself builds the fake  
device tree. This would be easily portable and the MkLinux bootloader  
could be used as usual.

It was also easy to have the kernel build the device tree at first and  
later have the bootloader doing that task once it is able to.
We then won't need to build a flat device tree because the current code  
builds an already unflattened tree.
During my efforts with the 2.6.17 (or has it been 2.6.16?) kernel I got  
till the point where the kernel correctly recognizes NuBus machines and  
where it needs a device tree to go on.

@Daniel: Would you like to make miboot provide a fake device tree for  
NuBus machines? In order to build a device tree you could use DTC  
(Device Tree Compiler) from http://dtc.ozlabs.org . And what about  
BootX?


>
> ----------------------------------------------------------------------- 
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Nubus-pmac-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nubus-pmac-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users

Reply via email to