Re: FDT for Microblaze and PPC405
Michal Simek
Monstr at seznam.cz
Wed Sep 12 17:34:33 EST 2007
Hi David and Grant
>> > For example emaclite driver needs information about turning on/off ping pong
buffer...
>> >
>> > I would like to make this properly.
>>
>> FDT design is just as much art as it is science. It takes taste and
>> judgement to desgin a nice set of bindings. Your best option is to
>> draft something and post it to the linuxppc-embedded mailing list for
>> review.
>
>Yes, this is the preferred procedure, for now.
OK. Science is good for me because I am looking for theme for dissertation thesis
and FPGA based FDT can be good choice.
>> > And second question is on early console logs and timers setting. I read
>about aliases in FDT. I think that aliases can cover this setting.
>> > For example my design contain 4 serial line and I would like to know which
>serial line is set on early console.
>>
>> You use the chosen node for this. In the chosen node, you add a
>> property called "linux,stdout-path" which holds the path to your
>> console. You can look at examples under arch/powerpc/boot/dts/*
>Yes. Currently we don't use /aliases in the flat device tree. This
>is possibly a mistake, and something I'm thinking about changing.
>But, for now, linux,stdout-path in /chosen is the way to do this.
OK. I will make the first draft and send it to list for review but it will be
only part of patch rely on with ppc405 because we don't have microblaze kernel code.
Michal Simek
More information about the Linuxppc-dev
mailing list