Ethernet Download issue on pentium machine
- From: "Bijapur" <u55617@uwe>
- Date: Mon, 26 Oct 2009 13:31:40 GMT
Hi all
I am building a WINCE 6.0 Cloned CEPC BSP based OSdesign project and my
Environment is as follows
Host PC :Pentium Machine with BroadCOM Ethernet adapter and with one COM Port
Target PC :Pentium Machine with RealTek 8139 ethernet Card and with one COM
Port.
Connection: via Ethernet Cross Cable.
Boot floppy: Made from bootdisk.144 at location C:\WINCE600\PLATFORM\
MyCEPCBSP\SRC\BOOTLOADER\BIOSLOADER\DISKIMAGES and runs eboot.bix on target
I have enabled KITL and build is Debug mode and download of nk.bin is
successful .
My Target Device connectivity options are as follows.
2 Cases I have tried.
1)Target Device - CE Device
Download -Ethernet
Transport - Ethernet
Debugger - KdStub.
2)Target Device - CE Device
Download -Ethernet
Transport -Serial -COM1-115200
Debugger - KdStub.
List of Questions
1) Can I use same ethernet card(realTek One) for downloading and KITL
Transport , if so where and what do I need to modify code in my OS Design
project.(Anything related to Ethernet Card Name and So stuff ) Please note
that I am using Cloned CEPC as my BSP.And I am just setting Target
Connectivity options as Ethernet for Downlaod and Transport.The log below is
always showing connecting to desktop messages.......
My Ethernet card is identified as CEPCRT4461 after nk.bin boots up and as
CEPC4461 by ebbot.bix code.This particular setting always throws Connecting
to Desktop ..Resending mesages on HTerminal.
2) My target PC has only one serial port and that is being used for accepting
IP address of target from Hyperterminal and also for printing debug messages
of Boot floppy code and as well loaded nk.bin's retail messages .How will be
the same serial port will be used for KITL Serial Transport ??.No clues about
it ,where and what i have to change the COM number .......,
I cannot use any USBTOSERIAL Converter since at boot time these drivers will
not be active.Any Ideas help me....
*****************************************************************************************************************
The output log on Hterminal is as follows
The Log for ethernet download and ethernet transport is as follows....
****************************************************************************************************************************
Microsoft Windows CE BIOS Bootloader Version 2.2 (Built Jul 14 2005)
INFO: code=0x4.
INFO: code=0x4.
INFO: code=0x4.
Jumping to image (address=0x13C58C)
Microsoft Windows CE Bootloader Common Library Version 1.4 Built May 12 2007
12:22:44
Microsoft Windows CE Ethernet Bootloader 3.7 for CE/PC (May 12 2007)
Boot Args @ 0x1FFF00 and ucLoaderFlags is 1
FlashInit
FMD_Init
-FlashInit:Fails!!!!
PCI Device Configurations (5 PCI bus(es) present)...
========================================================
..............................................................................
................................
..............................................................................
...................
========================================================
Bus, Device, Function = 2, 0, 0
Vendor ID, Device ID = 0x14E4, 0x1677
Base Class, Subclass = 2, 0 => NETWORK_CTLR
Interrupt = 11
BaseAddress[0] = 0xFE8F0000 (Memory)
========================================================
Bus, Device, Function = 4, 2, 0
Vendor ID, Device ID = 0x10EC, 0x8139
Base Class, Subclass = 2, 0 => NETWORK_CTLR
Interrupt = 3
BaseAddress[0] = 0xDC00 (I/O)
BaseAddress[1] = 0xFE5FFF00 (Memory)
========================================================
InitKitlNIC: Searching for PCI Ethernet NIC (dwIrq = 0, dwIoBase = 0,
dwDfltType = 1) ...
InitKitlNIC: skipping unknown PCI Ethernet NIC: (Type=C3, Vendor=14E4,
Device=1677)
InitKitlNIC: Found PCI Ethernet NIC (type = 4, IRQ=3, IOBase=0xDC00).
RTL8139InitDMABuffer():: Start[0x200000]-[0x200000] - Size[0x20000]
Tx[0x200000] - Rx[0x201800] - RxLength[0x10000] - RxLengthBit[0x1800]
RTL8139:: built on [May 12 2007] [11:35:39]
RTL8139Init():: BaseIO[0xDC00] : MemOffset[0x1]
RTL8139Init():: TxBuff[0x200000] - RxBuff[0x201800] - LastRx[0x2117FF]
RTL8139Init:: MAC = 00-E0-66-4D-11-6D
RTL8139 ethdbg library: perform auto negotiate.
RTL8139:: RTL8139HWSetMCRegs():: Set all to 0x00
Returned MAC Address:00:E0:66:4D:11:6D
System ready!
Preparing for download...
OEMPreDownload ucLoaderFlags is 0
FindNICAbbrev: Can't find NIC Abbreviation from MAC: E066
x86KitlCreateName: Using Device Name 'CEPC4461'
Using device name: CEPC4461
Hit ENTER within 3 seconds to enter static IP address!
Enter IP address, or CR for default (0.0.0.0): 142.186.162.1
Enter Subnet Masks, or CR for default (255.255.0.0): 255.255.255.0
Using IP Address 142.186.162.1, subnet mask 255.255.255.0
Using static IP address: 01A2BA8E
+EbootSendBootmeAndWaitForTftp
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Packet has the following data:
boot.bin[NULL]octet[NULL]
TFTP packet could have 1 name/value pairs
Locked Down Link 1
Src IP 142.186.162.1 Port 03D4 Dest IP 142.186.162.2 Port 0944
Default TFTP block size set to: 512 bytes
There were no options detected in the TFTP
EthDown::TFTPD_OPEN::boot.bin
-EbootSendBootmeAndWaitForTftp
BL_IMAGE_TYPE_BIN
Download file information:
-----------------------------------------------------
[0]: Address=0x220000 Length=0x1779CD8 Name=
****** OEMVerifyMemory Checking Range [ 0x220000 ==> 0x1999CD7 ]
****** RAM Address ******
rom_offset=0x80000000.
ImageStart = 0x220000, ImageLength = 0x1779CD8, LaunchAddr = 0x226D10
Completed file(s):
------------------------------------------------------------------------------
-
[0]: Address=0x220000 Length=0x1779CD8 Name="" Target=RAM
ROMHDR at Address 00220044h
OEMLaunch ucLoaderFlags is 7
Download successful! Jumping to image at 00226D10h...
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
NAND_FLASH with g_bDownloadImage=1 , pBootial Init
SysInit: GDTBase=8199a000 IDTBase=819e78c0 KData=819a1800
Windows CE Kernel for i486 Built on Sep 30 2007 at 22:35:42
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
PCIBIOS:: BIOS Address static map to addr=a00e0000
GetPicRoutingIrqTable: Start
search_pci_bios start
CE Ethernet Bootloader found 32Bit BIOS Entry master_bios32=a00ffe80
bios32_call_offset=1fe90 for CE/PC
Return from First BIOS EAX=49435000 EBX=f0000,ECX=10000 EDX=b894
32 PCI BIOS offset located.addr=1b894
32 PCI BIOS Present EDX=20494350,EAX=1 EBX=f0210,ECX=10004
+GetRoutingOption
search_pci_routing
search_pci_routing found entry =a00fed10 CE/PC
GetRoutingOption, found ROM version for Routing table.
GetRoutingOption return SUCCESS .AH=0
ScanConfiguredIrq with PCI Exclusive Irq Bit (wExClusive) =0
.........................................................
........................................................
InitKitlNIC: Searching for PCI Ethernet NIC (dwIrq = 3, dwIoBase = DC00,
dwDfltType = 4) ...
InitKitlNIC: Found PCI Ethernet NIC (type = 4, IRQ=3, IOBase=0xDC00).
Using a KITL device on the PCI bus, not a legacy device.
DeviceId................. CEPC
pArgs->flags............. 0x29
pArgs->devLoc.IfcType.... 5
pArgs->devLoc.LogicalLoc. 0x40200
pArgs->devLoc.PhysicalLoc 0x0
pArgs->devLoc.Pin........ 3
pArgs->ip4address........ 1
pDevice->Name............ s
pDevice->ifcType......... 5
pDevice->id.............. 0x813910EC
pDevice->resource........ 0
pDevice->type............ 2
pDevice->pDriver......... 0x819A303C
RTL8139InitDMABuffer():: Start[0x819C9DE0]-[0x819C9DE0] - Size[0x10000]
Tx[0x819C9DE0] - Rx[0x819CB5E0] - RxLength[0x8000] - RxLengthBit[0x1000]
RTL8139:: built on [Sep 6 2006] [19:21:34]
RTL8139Init():: BaseIO[0xDC00] : MemOffset[0x40200]
RTL8139Init():: TxBuff[0x819C9DE0] - RxBuff[0x819CB5E0] - LastRx[0x819D35DF]
RTL8139Init:: MAC = 00-E0-66-4D-11-6D
RTL8139 ethdbg library: perform auto negotiate.
RTL8139:: RTL8139HWSetMCRegs():: Set all to 0x00
x86KitlCreateName: Using Device Name 'CEPCRT4461'
OALKitlCreateName: Using Device Name 'CEPCRT4461'
KITL: *** Device Name CEPCRT4461 ***
........................
-OALIntrRequestIrqs: Found full IRQ match returning existing IRQ=3
KITL: using sysintr 0x10
VBridge:: built on [Sep 6 2006] time [19:21:34]
VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes
Tx buffer [0xA19D9E80] to [0xA19DDE80].
Rx buffer [0xA19DDEA0] to [0xA19E1EA0].
VBridge:: NK add MAC: [0-E0-66-4D-11-6D]
Connecting to Desktop
Connecting to Desktop .. resending
Connecting to Desktop .. resending
Connecting to Desktop .. resending
Connecting to Desktop .. resending
Connecting to Desktop .. resending
Connecting to Desktop .. resending
Connecting to Desktop .. resending
**************************************************************************************************************************************************
The Log for Ethernet as Download and Serial Port COM1 as Transport............
..
*****************************************
Microsoft Windows CE Bootloader Common Library Version 1.4 Built May 12 2007
12:22:44
Microsoft Windows CE Ethernet Bootloader 3.7 for CE/PC (May 12 2007)
Boot Args @ 0x1FFF00 and ucLoaderFlags is 1
FlashInit
FMD_Init
-FlashInit:Fails!!!!
PCI Device Configurations (5 PCI bus(es) present)...
========================================================
..............................................................................
........................
=================================================
Bus, Device, Function = 2, 0, 0
Vendor ID, Device ID = 0x14E4, 0x1677
Base Class, Subclass = 2, 0 => NETWORK_CTLR
Interrupt = 11
BaseAddress[0] = 0xFE8F0000 (Memory)
========================================================
Bus, Device, Function = 4, 2, 0
Vendor ID, Device ID = 0x10EC, 0x8139
Base Class, Subclass = 2, 0 => NETWORK_CTLR
Interrupt = 3
BaseAddress[0] = 0xDC00 (I/O)
BaseAddress[1] = 0xFE5FFF00 (Memory)
========================================================
InitKitlNIC: Searching for PCI Ethernet NIC (dwIrq = 0, dwIoBase = 0,
dwDfltType = 1) ...
InitKitlNIC: skipping unknown PCI Ethernet NIC: (Type=C3, Vendor=14E4,
Device=1677)
InitKitlNIC: Found PCI Ethernet NIC (type = 4, IRQ=3, IOBase=0xDC00).
RTL8139InitDMABuffer():: Start[0x200000]-[0x200000] - Size[0x20000]
Tx[0x200000] - Rx[0x201800] - RxLength[0x10000] - RxLengthBit[0x1800]
RTL8139:: built on [May 12 2007] [11:35:39]
RTL8139Init():: BaseIO[0xDC00] : MemOffset[0x1]
RTL8139Init():: TxBuff[0x200000] - RxBuff[0x201800] - LastRx[0x2117FF]
RTL8139Init:: MAC = 00-E0-66-4D-11-6D
RTL8139 ethdbg library: perform auto negotiate.
RTL8139:: RTL8139HWSetMCRegs():: Set all to 0x00
Returned MAC Address:00:E0:66:4D:11:6D
System ready!
Preparing for download...
OEMPreDownload ucLoaderFlags is 0
FindNICAbbrev: Can't find NIC Abbreviation from MAC: E066
x86KitlCreateName: Using Device Name 'CEPC4461'
Using device name: CEPC4461
Hit ENTER within 3 seconds to enter static IP address!
Enter IP address, or CR for default (0.0.0.0): 142.186.162.1
Enter Subnet Masks, or CR for default (255.255.0.0): 255.255.255.0
Using IP Address 142.186.162.1, subnet mask 255.255.255.0
Using static IP address: 01A2BA8E
+EbootSendBootmeAndWaitForTftp
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Packet has the following data:
boot.bin[NULL]octet[NULL]
TFTP packet could have 1 name/value pairs
Locked Down Link 1
Src IP 142.186.162.1 Port 03D4 Dest IP 142.186.162.2 Port 0A44
Default TFTP block size set to: 512 bytes
There were no options detected in the TFTP
EthDown::TFTPD_OPEN::boot.bin
-EbootSendBootmeAndWaitForTftp
BL_IMAGE_TYPE_BIN
Download file information:
-----------------------------------------------------
[0]: Address=0x220000 Length=0x1779CDC Name=
****** OEMVerifyMemory Checking Range [ 0x220000 ==> 0x1999CDB ]
****** RAM Address ******
rom_offset=0x80000000.
ImageStart = 0x220000, ImageLength = 0x1779CDC, LaunchAddr = 0x226D10
Completed file(s):
------------------------------------------------------------------------------
-
[0]: Address=0x220000 Length=0x1779CDC Name="" Target=RAM
ROMHDR at Address 00220044h
OEMLaunch ucLoaderFlags is 7
Download successful! Jumping to image at 00226D10h...
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
NAND_FLASH with g_bDownloadImage=1 , pBootArgs->ucLoaderFlags=7
Lauch Windows CE from address 0xial Init
SysInit: GDTBase=8199a000 IDTBase=819e78c0 KData=819a1800
Windows CE Kernel for i486 Built on Sep 30 2007 at 22:35:42
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
PCIBIOS:: BIOS Address static map to addr=a00e0000
GetPicRoutingIrqTable: Start
search_pci_bios start
CE Ethernet Bootloader found 32Bit BIOS Entry master_bios32=a00ffe80
bios32_call_offset=1fe90 for CE/PC
Return from First BIOS EAX=49435000 EBX=f0000,ECX=10000 EDX=b894
32 PCI BIOS offset located.addr=1b894
32 PCI BIOS Present EDX=20494350,EAX=1 EBX=f0210,ECX=10004
+GetRoutingOption
search_pci_routing
search_pci_routing found entry =a00fed10 CE/PC
GetRoutingOption, found ROM version for Routing table.
GetRoutingOption return SUCCESS .AH=0
ScanConfiguredIrq with PCI Exclusive Irq Bit (wExClusive) =0
ScanConfigureIrq: BufferSize = 208 @ address 8199d9ea
................
ScanConfigureIrq: for Bus=4 ,Device=3 SlotNumber=4
INTA_LinkValue=63,INTA_IrqBitMap=cef8
INTB_LinkValue=60,INTB_IrqBitMap=cef8
INTC_LinkValue=61,INTC_IrqBitMap=cef8
INTD_LinkValue=62,INTD_IrqBitMap=cef8
DeviceId................. CEPC
pArgs->flags............. 0x11
pArgs->devLoc.IfcType.... -1
pArgs->devLoc.LogicalLoc. 0x2F8
pArgs->devLoc.PhysicalLoc 0x0
pArgs->devLoc.Pin........ -1
pArgs->ip4address........ 1
pDevice->Name............ s
pDevice->ifcType......... -1
pDevice->id.............. 0x2F8
pDevice->resource........ 0
pDevice->type............ 1
pDevice->pDriver......... 0x819A3014
+COM16550Initx
pAddress = 0x2F8
BaudRate = 0x1C200
DataBits = 0x8
StopBits = 0x1
Parity = 0x100
Configuring serial port, IOBASE = 0x2F8
Serial port configured for transport
-COM16550Init
WARN: KITL will run in polling mode
Connecting to Desktop
E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E
E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E
E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E
E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E
E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E
E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E
E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E
E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E.
.....................................................
..............................................................................
.......................................................
Printing always above EEEEEEEE statements
Please help me .
Thanks in Advance
Anand
--
Message posted via http://www.pocketpcjunkies.com
.
- Prev by Date: Connection to localhost fails with Flash Lite 3.1 on Windows CE6
- Next by Date: Windows Embedded CE - Chat Tomorrow
- Previous by thread: Connection to localhost fails with Flash Lite 3.1 on Windows CE6
- Next by thread: Windows Embedded CE - Chat Tomorrow
- Index(es):
Relevant Pages
|