[MinnowBoard] RTL8111 with Legacy BIOS

Eric ericolv at cox.net
Mon May 2 17:15:28 UTC 2016


Did you create an OS using a BSP or are you running a pre-built?

 

From: elinux-MinnowBoard [mailto:elinux-minnowboard-bounces at lists.elinux.org] On Behalf Of Emir Elkholy
Sent: Monday, May 2, 2016 9:40 AM
To: elinux-minnowboard at lists.elinux.org
Subject: [MinnowBoard] RTL8111 with Legacy BIOS

 

Hello,

 

I would like to run Windows CE (32-bit OS) on the Minnowboard Max Turbot. I am using a legacy BIOS (Winzent) to load the OS, and everything loads fine. However, when the PCIe bus is being enumerated I believe the physical bus location that is being reported is incorrect (along with the memory addresses). For this reason when the OS attempts to load the driver for the NIC it fails. Does anyone know the physical location on the PCIe bus where the RTL8111 is located? 

 

When looking at Winzent's BIOS I see the following memory locations:

 

I/O Range: 5000 - 50FF

Memory I/O Range: D0B00000 - D0B00FFF

Memory I/O Range: C8200000 - C8203FFFF

Windows CE reports the following information when the OS loads up:

-------------------------------------------------------------------------------
PID:00400003 TID:00850006 Bus/Device/Function = 3/0/0, Ethernet Network Controller
PID:00400003 TID:00850006   VendorID = 0x10EC, DeviceID = 0x8168, Command = 0x0007, Status = 0x0010
PID:00400003 TID:00850006   RevisionID = 0x0C, ProgIf = 0x00, SubClass = 0x00, BaseClass = 0x02
PID:00400003 TID:00850006   CacheLineSize = 0x10, LatencyTimer = 0x00, HeaderType = 0x00, BIST = 0x00
PID:00400003 TID:00850006   BaseAddresses:
PID:00400003 TID:00850006     0x00005001  0x00000000  0xD0B00004 0x00000000  0xC820000C  0x00000000
PID:00400003 TID:00850006   CIS = 0x00000000, SubVendorID = 0x10EC, SubSystemID = 0x0123
PID:00400003 TID:00850006   ROMBaseAddress = 0x00000000
PID:00400003 TID:00850006   InterruptLine = 0x0A, InterruptPin = 0x01, MinGrant = 0x00, MaxLatency = 0x00
PID:00400003 TID:00850006
-------------------------------------------------------------------------------
The base addresses should correspond to the memory addresses, they are slightly different. From the above you can see that the OS reports the RTL8111 nic is located on PCI bus number 3/0/0. When inquiring the information about the NIC from Linux however the only information I can see is regarding the memory:

        Memory at 90500000 (64-bit, non-prefetchable) [size=4K] 
        Memory at 90400000 (64-bit, prefetchable) [size=16K] 

 

This does not match what Windows CE was telling me. Anyways, I was hoping someone knew the PCIe bus location of the RTL8111 so that I have a reference place to start from when trying to get the NIC driver to load. Any insight on the issue would be great, I have been troubleshooting this for quite some time.

 

Thanks,

Emir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20160502/5f1c6097/attachment-0001.html>


More information about the elinux-MinnowBoard mailing list