Issue #658 has been updated by Gabriel Turlea.

Hi Angel, 
 
  Thank you for your response. I turned on all the pcie ports that you 
mentioned and that did not help.
  I am very aware of the not using gpio from a different board. Kyosti Malkki 
was kind enough to help me out with this. So I did create the gpio.c 
specifically for this board.
  The superio settings do actually affect whether the card eventually appears 
once linux boots. It seems to be one of the following:

irq 0xf3 = 0x09
irq 0xf4 = 0x64         
irq 0xf5 = 0xce

Here is the OEM superiotool dump of the GPIOs

LDN 0x09 (GPIO 2, GPIO 3, GPIO 4, GPIO 5)
idx 30 e0 e1 e2 e3 e4 e5 e6  e7 e8 e9 f0 f1 f2 f3 f4  f5 f6 f7 f8 f9 fa fe
val 0d ff 21 20 ff 00 00 00  ff ff ff ff ff ff 09 64  ce 00 00 00 ff ff ff
def 00 ff 00 00 ff 00 00 00  00 00 00 ff 00 00 00 ff  00 00 00 00 00 00 00

Here is what I get with coreboot:
NOTE: I have tried setting 0xe2 to 0x20, but if I do that 0xe1 changes to 0x01 
and 0xe2 changes to 0x00

LDN 0x09 (GPIO 2, GPIO 3, GPIO 4, GPIO 5)
idx 30 e0 e1 e2 e3 e4 e5 e6  e7 e8 e9 f0 f1 f2 f3 f4  f5 f6 f7 f8 f9 fa fe
val 0d ff 21 00 ff 00 00 00  ff 80 00 ff ff ff 09 64  ce 00 00 00 ff ff ff
def 00 ff 00 00 ff 00 00 00  00 00 00 ff 00 00 00 ff  00 00 00 00 00 00 00

Thanks again.


----------------------------------------
Bug #658: asus p5g41c-m-lx pcie discovery of realtek 10ec:8168
https://ticket.coreboot.org/issues/658#change-2360

* Author: Gabriel Turlea
* Status: New
* Priority: Normal
* Target version: none
* Start date: 2026-07-14
----------------------------------------
I have tried to port coreboot to asus-p5g41c-m-lx by using the existing 
pg541t-m-lx variant. Everything works great except I cannot get the onboard lan 
realtek 10ec:8168 to be detected by coreboot. The card shows up and works once 
linux boots. Adding some register values in the overridetree.cb seems to 
disable the card even in linux. Please let me know what supporting info I 
should provide. 

Thank you

---Files--------------------------------
p5g41c_m-lx_cbmem.log (53.5 KB)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to