[coreboot] Dump GPIO I/O Registers

joe at smittys.pointclark.net joe at smittys.pointclark.net
Thu Feb 21 08:39:26 CET 2008


Sweet:-)
With Stefan's great tool I think I found my ethernet enable GPIO!!
I run it with the original bios (ethernet enabled) and then with the  
original bios (ethernet disabled). The only difference is in the 0x0C  
register looks like GPIO 23 is drivin to high (asserted), enabling the  
LAN Controller. This would have taken me forever to trace it manually  
without any schematics. For fun I ran it with the coreboot and yup the  
0x0C register looks just like the original bios with ethernet  
disabled. There are alot of other differences with the coreboot one,  
should I be worried about those (one of them could have to do with my  
flashrom issues??)?

Anyways, the question now is how can I assert GPIO 23 before the pci  
bus scan so coreboot will recognize my ethernet device?? Anyone??

Thanks - Joe

original bios ethernet enabled
[root at localhost dumpgpio]# ich_gpio
Intel Southbridge: 8086:24c0
GPIOBASE = 0x0500

gpiobase+0x0000: 0x1a003180
gpiobase+0x0004: 0x0900ffff
gpiobase+0x0008: 0x00000000
gpiobase+0x000c: 0x1bbf0000
gpiobase+0x0010: 0x00000000
gpiobase+0x0014: 0x00000000
gpiobase+0x0018: 0x00040000
gpiobase+0x001c: 0x00000000
gpiobase+0x0020: 0x00000000
gpiobase+0x0024: 0x00000000
gpiobase+0x0028: 0x00000000
gpiobase+0x002c: 0x00003000
gpiobase+0x0030: 0x00000fff
gpiobase+0x0034: 0x00000e00
gpiobase+0x0038: 0x00000fff
gpiobase+0x003c: 0x00000000

original bios ethernet disabled
[root at localhost ~]# ich_gpio
Intel Southbridge: 8086:24c0
GPIOBASE = 0x0500

gpiobase+0x0000: 0x1a003180
gpiobase+0x0004: 0x0900ffff
gpiobase+0x0008: 0x00000000
gpiobase+0x000c: 0x1b3f0000
gpiobase+0x0010: 0x00000000
gpiobase+0x0014: 0x00000000
gpiobase+0x0018: 0x00040000
gpiobase+0x001c: 0x00000000
gpiobase+0x0020: 0x00000000
gpiobase+0x0024: 0x00000000
gpiobase+0x0028: 0x00000000
gpiobase+0x002c: 0x00003000
gpiobase+0x0030: 0x00000fff
gpiobase+0x0034: 0x00000e00
gpiobase+0x0038: 0x00000fff
gpiobase+0x003c: 0x00000000

coreboot ethernet not working
[root at localhost ~]# ich_gpio
Intel Southbridge: 8086:24c0
GPIOBASE = 0x0500

gpiobase+0x0000: 0x1a003180
gpiobase+0x0004: 0x0000ffff
gpiobase+0x0008: 0x00000000
gpiobase+0x000c: 0x1b3f0000
gpiobase+0x0010: 0x00000000
gpiobase+0x0014: 0x00000000
gpiobase+0x0018: 0x00040000
gpiobase+0x001c: 0x00000000
gpiobase+0x0020: 0x00000000
gpiobase+0x0024: 0x00000000
gpiobase+0x0028: 0x00000000
gpiobase+0x002c: 0x00000000
gpiobase+0x0030: 0x00000fff
gpiobase+0x0034: 0x00000000
gpiobase+0x0038: 0x00000fff
gpiobase+0x003c: 0x00000000






More information about the coreboot mailing list