[coreboot] Superiotool to devicetree.cb

Myles Watson mylesgw at gmail.com
Tue Sep 29 19:51:40 CEST 2009


On Tue, Sep 29, 2009 at 11:47 AM, Crankyadmin <root at crankyadmin.net> wrote:
> 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
idx 60 & 61 (since it is io) the default is 03 f0 = 0x3f0.  In your
output it is set to 0 (val)

>  irq 0x70 = 6
idx 70 val & default = 6 in this case

>  drq 0x74 = 2
idx 74 val & default = 2

Short answer, look at the columns.

HTH,
Myles




More information about the coreboot mailing list