Re: adding and tracing RealTek RTL8139
- From: Shutruk Nahunte <shutruk@xxxxxxxxxx>
- Date: Tue, 23 Aug 2005 18:46:10 +0200
Paul G. Tobey [eMVP] wrote:
You've got things set up to use KITL over that Ethernet controller. That's not what you want; you want to just use the Ethernet as an ordinary device. Make sure that your BSP code has KITL over Ethernet turned off and make sure that the driver that you've added for the RT8139 is the right one and not one associated with KITL.
I removed KITL from settings, I set this in the BAT
set BSP_PCCARD_TIPCCARD= set BSP_NIC_NE2000_PCMCIA= set BSP_NIC_PCX500_PCMCIA= set BSP_NIC_XIRCCE2_PCMCIA= set BSP_NIC_RTL8139=1 set BSP_VIA_FETCE5B= set IMGNOSHAREETH=1 set BSP_NOSHAREETH=1
when I launch the image on the target standalone (without connection to PB, pinging the target get no answer.
So the ethernet interface on the target is not ok.
Why ???
----------
Debug Serial Init
SysInit: GDTBase=80c2ba18 IDTBase=80c7d980 KData=80c9d800
Windows CE Kernel for i486 Built on Jun 24 2004 at 18:23:42
g_pPageDir = 80ca0000
InitKitlNIC: Searching for PCI Ethernet NIC (dwIrq = 0, dwIoBase = 0, dwDfltType = 0) ...
InitKitlNIC: Found PCI Ethernet NIC (type = 4, IRQ=9, IOBase=0xD800).
RTL8139InitDMABuffer():: Start[0x80C815E0]-[0x80C815E0] - Size[0x10000]
Tx[0x80C815E0] - Rx[0x80C82DE0] - RxLength[0x8000] - RxLengthBit[0x1000]
RTL8139:: built on [Jul 8 2005] [17:40:57]
RTL8139Init():: BaseIO[0xD800] : MemOffset[0xD800]
RTL8139Init():: TxBuff[0x80C815E0] - RxBuff[0x80C82DE0] - LastRx[0x80C8ADDF]
RTL8139Init:: MAC = 00-50-B7-F0-C5-07
RTL8139 ethdbg library: perform auto negotiate.
RTL8139:: RTL8139HWSetMCRegs():: Set all to 0x00
x86KitlCreateName: Using Device Name 'CEPC50439' OALKitlCreateName: Using Device Name 'CEPC50439' KITL: *** Device Name CEPC50439 *** VBridge:: built on [Jul 8 2005] time [17:40:59]
VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes
Tx buffer [0xA0C91A60] to [0xA0C95A60].
Rx buffer [0xA0C95A80] to [0xA0C99A80].
VBridge:: NK add MAC: [0-50-B7-F0-C5-7]
ERROR: OALKitlInit: KitlInit failed
RTC - Status Reg B - 0x02
Find VIA USB Device
VIA USB IoBase dc00
C5P, Step 8
dwRNGFeature = 340
Enable Random Number Generator!
MainMemoryEndAddress = 0x86000000
[VIA Prosavage/Twister CEPC:x86] BSP version: 2.321 Jul 25 2005, 18:35:59VIAPWM.LIB 2.202, Jul 14 2004, 15:46:59
C5P, Step 8
C5P CPU 50
X86Init done, OEMAddressTable = 8022a6e8.
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
IDE Registry Restore 2.101 Jul 15 2004 15:20:38
ReadRegistryFromOEM : Found WCEREG!
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
[PowerSaver] Driver version: 2.202, Jul 14 2004, 11:49:39[PowerSaver] Registry version: 2.202-0001[UAM3058] Driver version: 2.312, Aug 3 2004, 10:55:57[UAM3058] Registry version: 2.312-0001[DXPROSAVAGE] Driver version: 2.602, Dec 9 2004, 10:24:30[DXPROSAVAGE] Registry version: 1.602-0001
[DXPROSAVAGE] GPEVGA: Display Chip 8a255333 not found!
[DXPROSAVAGE] GPEVGA: Display Chip 8a265333 not found!
[DXPROSAVAGE] GPEVGA: Display Chip 0x8d015333 found!
[DXPROSAVAGE] GPEVGA: Use Driver's standard VGA register table
[DXPROSAVAGE] Get Registry key VIPEnable failed! VIP disable
[DXPROSAVAGE] GPEVGA: display mode 640x480 16bpp
[DXPROSAVAGE] Prosavage: frame buffer: 32MB
[DXPROSAVAGE] SetVGAMode: Refresh Rate 60Hz
Lyg.p: Layout Manager successfully initialized to 1
MSIM: IM_ReadRegistry read KB 5
Explorer(V2.0) taskbar thread started.
.
- Follow-Ups:
- Re: adding and tracing RealTek RTL8139
- From: Paul G. Tobey [eMVP]
- Re: adding and tracing RealTek RTL8139
- References:
- adding and tracing RealTek RTL8139
- From: Shutruk Nahunte
- Re: adding and tracing RealTek RTL8139
- From: Shutruk Nahunte
- Re: adding and tracing RealTek RTL8139
- From: Paul G. Tobey [eMVP]
- adding and tracing RealTek RTL8139
- Prev by Date: Re: adding and tracing RealTek RTL8139
- Next by Date: Re: adding and tracing RealTek RTL8139
- Previous by thread: Re: adding and tracing RealTek RTL8139
- Next by thread: Re: adding and tracing RealTek RTL8139
- Index(es):