On Thu, Feb 21, 2008 at 2:39 AM,  <<a href="mailto:joe@smittys.pointclark.net">joe@smittys.pointclark.net</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sweet:-)<br>
With Stefan's great tool I think I found my ethernet enable GPIO!!<br>
I run it with the original bios (ethernet enabled) and then with the<br>
original bios (ethernet disabled). The only difference is in the 0x0C<br>
register looks like GPIO 23 is drivin to high (asserted), enabling the<br>
LAN Controller. This would have taken me forever to trace it manually<br>
without any schematics. For fun I ran it with the coreboot and yup the<br>
0x0C register looks just like the original bios with ethernet<br>
disabled. There are alot of other differences with the coreboot one,<br>
should I be worried about those (one of them could have to do with my<br>
flashrom issues??)?<br>
<br>
Anyways, the question now is how can I assert GPIO 23 before the pci<br>
bus scan so coreboot will recognize my ethernet device?? Anyone??</blockquote><div><br>Rather simple. Some time pre-ram init, set up the GPIO base, then use inb()/outb() to modify the contents of the GPIO register you need to change.<br>
<br>-Corey <br></div></div><br>