Hi ali hagigat,

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of ali hagigat
Sent: Tuesday, January 04, 2011 1:30 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [coreboot] .cb files

Peter,
Thank you. So devicetree.cb files are written by hand and the
compilation process does not use them? 
They are just some information for the developers?
[She, Kerry] no, during the compilation, sconfig will use it to generate the 
static device tree,
Please see util/sconfig, and build/mainboard/kontron/986lcd-m/static.c after 
your compilation.

About:
file:///root/build/coreboot/coreboot-v4/src/mainboard/kontron/986lcd-m/devicetree.cb:
#device pci 1e.2 off end # AC'97 Audio
It means that AC'97 Audio is on Bus#=1 and Function#=2?
But all the devices of the south bridge, ICH7 are on Bus number 0, as
far as I know.
Why you have not written, Bus number, Function number, Device number,
Register number clearly.
device pci 1d.0 on end, What does it mean, 1d.0?
Regards

On Mon, Jan 3, 2011 at 6:37 PM, Peter Stuge <[email protected]> wrote:
> ali hagigat wrote:
>> How .cb files are created?
>
> As was pointed out already, by hand.
>
>
>> and what they are used for?
>
> Describing fixed parts of a system. What buses there are and what
> devices are on them.
>
> Please suggest how we can improve the syntax of .cb files.
> I want them to be self-documenting enough so that you can understand
> the above from just looking at the files. Can you help?
>
>
> //Peter
>
> --
> coreboot mailing list: [email protected]
> http://www.coreboot.org/mailman/listinfo/coreboot
>

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to