Difference between revisions of "Creating A devicetree.cb"

From coreboot
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
== What you will need ==
== What you will need ==


* '''lspci -nvvv''' output
While running GNU/Linux on the vendor BIOS, collect the output from:
 
* '''dmesg'''
* '''lspci -ntvvv'''
* '''cat /proc/ioports'''
 
If you have support for your board in '''serialice''' you may wish to gather its output also.
 
== Reading '''lspci''' output ==
 
The Peripheral Component Interconnect ('''PCI''') is a standerdized local bus for attaching different hardwares to motherboard.
 
The '''lspci''' command reads the bus information and topology, its output format is given by example:
 
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
+------ +----------------------  +--------------------------------------------------------------
^      ^                        ^
|      |                        |
|      |                        Field 3: Name of device attached and its manufactured company name.
|      Field 2: PCI slot name.
Field 1: PCI bus slot number.


== Introduction ==
== Introduction ==
Line 56: Line 76:
[^ \n\t]+
[^ \n\t]+
</source>
</source>
== NOTES ==
See source  util/sconfig/sconfig.* for devicetree compiler..


== Examples ==
== Examples ==

Latest revision as of 13:51, 2 March 2014