On 18.02.2008 02:45, [EMAIL PROTECTED] wrote: > Quoting Carl-Daniel Hailfinger <[EMAIL PROTECTED]>: > >> On 16.02.2008 17:57, [EMAIL PROTECTED] wrote: >> >>> Hello, >>> How do I dump the GPIO I/O Registers in linux. I need to dump the >>> GPIO's from the southbridge. Anyone? >>> >>> >> Depends on the southbridge. It could be directly/indirectly >> memory-mapped or port-based. Simply tell us what the data sheet says >> about reading the GPIO state and we can help. >> >> > The southbridge is the Intel 82801DB ICH4. I don't see anything in the > datasheet about reading the GPIO state....just says: > > The control for the general purpose I/O signals is handled through a > separate 64-byte I/O space. > > I can find out the base offset address from the LPC pci configuration > registers, but how do I dump it into human readable form?? >
Is this a memory address or I/O port number? Once you know that, you can modify existing utilities for your purpose. If you have no idea, tell us the values and we can guess. Having /proc/ioports and /proc/iomem contents would help guessing. Regards, Carl-Daniel > > Thanks - Joe > > -- http://www.hailfinger.org/ -- coreboot mailing list [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

