[coreboot] Superiotool to devicetree.cb

Crankyadmin root at crankyadmin.net
Tue Sep 29 19:47:26 CEST 2009


Hi,

Below is my output of superiotool. Lets use the floppy as a example.

Found Winbond W83627EHF/EF/EHG/EG (id=0x88, rev=0x63) at 0x2e
Register dump:
idx 20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f
val 88 63 ff 00 80 00 00 ff  50 04 00 00 00 21 00 ff
def 88 MM ff 00 MM 00 MM RR  50 04 00 RR 00 21 00 00
LDN 0x00 (Floppy)
idx 30 60 61 70 74 f0 f1 f2  f4 f5
val 00 00 00 06 02 8e 00 ff  00 00
def 01 03 f0 06 02 8e 00 ff  00 00

How does this turn into this:

devicetree.cb
----->snip<-----
device pnp 2e.0 on #floppy
 io 0x60 = 0x3f0
 irq 0x70 = 6
 drq 0x74 = 2
end
----->snip<-----

BTW the way these to sets of information are unlikely to match, what
I'm trying to collate is how do you get them to match. Any hints would
be appreciated

Regards

Dave

-- 
Dave
-------------
root at crankyadmin.net
cranky at archlinux.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090929/05202553/attachment.html>


More information about the coreboot mailing list