Re: How to enable KITL for CEPC..




Upender R Sandadi [MS] 寫道:

If the same image works from a different PC to the same CEPC, I would
suspect some settings on the Platform Builder are corrupt.

Try bringing up Target --> connectivity options from Platform Builder and
make sure debugger service is set to kdstub option.
==> This is already set,, but no option enabed for kdstub

If this doesn't work,
you might want to post the error log from administrative tools --> event
viewer --> cetools and I will make sure someone on our team takes a look at
the log to see what is wrong.
==> there seems two kinds of log there... please see the following..
log 1:

type: 錯誤
source: CESVCH~1
category: Error
id: 256
Process Id: 624
Thread Id: 712
Zone: CoreCon_Error_SvcHost
Source Code:
e:\pbmac\corecon\src\svchost\exe\svchost_impl.cpp(759)@CSvcHost_Impl::GetService

Failed to get a service. hr=80070057

log2:

type: 錯誤
source: CESVCH~1
category: Error
id: 256
Process Id: 624
Thread Id: 712
Zone: CoreCon_Error_SvcHost
Source Code:
e:\pbmac\corecon\src\svchost\exe\svchost_impl.cpp(1257)@CSvcHost_Impl::GetServiceCLSID

Failed to get service map. Device
Id:00000001-7A99-5261-581B-625200000000, Service
Category:B538C148-D73D-498D-86CC-3201463581A2, hr=0x80070057



If nothing else works, you can try deleting the following folder and
re-starting Platform Builder. I should warn you that deleting this folder
will delete all your logical device names which you might have created.
C:\Documents and Settings\<your user name>\Local Settings\Application
Data\Microsoft\CoreCon\1.0

?? all logical device names ?
Does that mean all devices should be enumerated again on my PC ?
or just for CE only ???
Thanks.



thx.

--
Upender R. Sandadi [MS]
upenders@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no
rights.
_____________________________________________________________

"chueh8" <steelchueh@xxxxxxxxx> wrote in message
news:1163612334.486446.144120@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The following is the serial debug output for a CEPC connection..
============================================================
Microsoft Windows CE Ethernet Bootloader Common Library Version 1.0
Built Apr 11 2003 20:28:06
Microsoft Windows CE Ethernet Bootloader 3.4 for CE/PC (Apr 22 2003)
Boot Args @ 0x1DC96 and ucLoaderFlags is 1
FlashInit
FMD_Init

-FlashInit:Fails!!!!
PCI Device Configurations (2 PCI bus(es) present)...
========================================================
Bus, Device, Function = 0, 3, 0
Vendor ID, Device ID = 0x1039, 0x7001
Base Class, Subclass = 12, 3 => SERIAL_BUS_CTLR
Interrupt = 6
BaseAddress[0] = 0xEF004000 (Memory)
========================================================
Bus, Device, Function = 0, 3, 1
Vendor ID, Device ID = 0x1039, 0x7001
Base Class, Subclass = 12, 3 => SERIAL_BUS_CTLR
Interrupt = 9
BaseAddress[0] = 0xEF000000 (Memory)
========================================================
Bus, Device, Function = 0, 3, 2
Vendor ID, Device ID = 0x1039, 0x7001
Base Class, Subclass = 12, 3 => SERIAL_BUS_CTLR
Interrupt = 7
BaseAddress[0] = 0xEF001000 (Memory)
========================================================
Bus, Device, Function = 0, 14, 0
Vendor ID, Device ID = 0x10EC, 0x8139
Base Class, Subclass = 2, 0 => NETWORK_CTLR
Interrupt = 11
BaseAddress[0] = 0xE000 (I/O)
BaseAddress[1] = 0xEF003000 (Memory)
========================================================
Bus, Device, Function = 1, 0, 0
Vendor ID, Device ID = 0x10DE, 0x0322
Base Class, Subclass = 3, 0 => DISPLAY_CTLR
Interrupt = 10
BaseAddress[0] = 0xEC000000 (Memory)
BaseAddress[1] = 0xE0000000 (Memory)
========================================================
FindAllPCINetCard: Searching for PCI Ethernet NIC ...
FindALLPCINetCard(0): Found Ethernet NIC (IRQ=11, IOBase=0xE001,
Type=4).
FindPCINetCard:Argument IOBASE=0, IRQ=0,TYPE=2
FindPCINetCard:Found 1 PCI Ethernet NIC ...
FindPCINetCard: Found Ethernet NIC (IRQ=11, IOBase=0xE000).
RTL8139InitDMABuffer():: Start[0x200000]-[0x200000] - Size[0x20000]
Tx[0x200000] - Rx[0x201800] - RxLength[0x10000] - RxLengthBit[0x1800]
RTL8139Init():: BaseIO[0xE000] : MemOffset[0x1]
RTL8139Init():: TxBuff[0x200000] - RxBuff[0x201800] - LastRx[0x2117FF]
RTL8139Init:: MAC = 00-0C-76-4D-C7-A8
RTL8139 ethdbg library: AutoNegotiate..
RTL8139:: RTL8139HWSetMCRegs():: Set all to 0x00
Returned MAC Address:00:0C:76:4D:C7:A8
System ready!
Preparing for download...
OEMPreDownload ucLoaderFlags is 0
Using device name: CEPC51112
Hit ENTER within 3 seconds to enter static IP address!InitDHCP()::
Calling ProcessDHCP()
ProcessDHCP()::DHCP_INIT
Got Response from DHCP server, IP address: 192.168.1.7

ProcessDHCP()::DHCP IP Address Resolved as 192.168.1.7, netmask:
255.255.255.0
Lease time: 86400 seconds
Got Response from DHCP server, IP address: 192.168.1.7
No ARP response in 2 seconds, assuming ownership of 192.168.1.7
+EbootSendBootmeAndWaitForTftp
Sent BOOTME to 255.255.255.255
Locked Down Link 1
Src IP 192.168.1.7 Port 0800 Dest IP 192.168.1.13 Port 06DE
EthDown::TFTPD_OPEN::boot.bin
-EbootSendBootmeAndWaitForTftp

Download BIN file information:
-----------------------------------------------------
[0]: Base Address=0x220000 Length=0x127FBAC

****** OEMVerifyMemory Checking Range [ 0x220000 ==> 0x149FBAB ]
****** RAM Address ******

rom_offset=0x80000000.
Found pTOC signature.
ROMHDR at Address 00220044h
RomHdr.ulRAMStart=814A0000h RomHdr.physfirst=80220000h.
OEMLaunch ucLoaderFlags is 7
Download successful! Jumping to image at 0023FA78h...
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
NAND_FLASH with g_bDownloadImage=1 , pBootArgs->ucLoaderFlags=7
Lauch Windows CE from address 0x23FA78
Debug Serial Init

SysInit: GDTBase=814a0218 IDTBase=814f2660 KData=81551800
Windows CE Kernel for i486 Built on Jun 24 2004 at 18:28:26
g_pPageDir = 81700000
PCIBIOS:: BIOS Address static map to addr=a00e0000
GetPicRoutingIrqTable: Start
search_pci_bios start
CE Ethernet Bootloader found 32Bit BIOS Entry master_bios32=a00fb5d0
bios32_call_offset=1ba50 for CE/PC
Return from First BIOS EAX=49435000 EBX=f0000,ECX=d984 EDX=baa0
32 PCI BIOS offset located.addr=1baa0
32 PCI BIOS Present EDX=20494350,EAX=11 EBX=f0210,ECX=d901
+GetRoutingOption
search_pci_routing
search_pci_routing found entry =a00fd900 CE/PC
GetRoutingOption, found ROM version for Routing table.
GetRoutingOption return SUCCESS .AH=ee0
canConfiguredIrq with PCI Exclusive Irq Bit (wExClusive) =ee0
ScanConfigureIrq: BufferSize = 96 @ address 8153670a
ScanConfigureIrq: for Bus=0 ,Device=5 SlotNumber=1
INTA_LinkValue=41,INTA_IrqBitMap=cef8
INTB_LinkValue=42,INTB_IrqBitMap=cef8
INTC_LinkValue=43,INTC_IrqBitMap=cef8
INTD_LinkValue=44,INTC_IrqBitMap=cef8
ScanConfigureIrq: for Bus=0 ,Device=10 SlotNumber=2
INTA_LinkValue=42,INTA_IrqBitMap=cef8
INTB_LinkValue=43,INTB_IrqBitMap=cef8
INTC_LinkValue=44,INTC_IrqBitMap=cef8
INTD_LinkValue=41,INTC_IrqBitMap=cef8
ScanConfigureIrq: for Bus=0 ,Device=14 SlotNumber=3
INTA_LinkValue=43,INTA_IrqBitMap=cef8
INTB_LinkValue=44,INTB_IrqBitMap=cef8
INTC_LinkValue=41,INTC_IrqBitMap=cef8
INTD_LinkValue=42,INTC_IrqBitMap=cef8
ScanConfigureIrq: LinkNumber=67 associated with irq=11
ScanConfigureIrq: for Bus=0 ,Device=1 SlotNumber=0
INTA_LinkValue=41,INTA_IrqBitMap=cef8
INTB_LinkValue=42,INTB_IrqBitMap=cef8
INTC_LinkValue=43,INTC_IrqBitMap=cef8
INTD_LinkValue=44,INTC_IrqBitMap=cef8
ScanConfigureIrq: for Bus=0 ,Device=2 SlotNumber=0
INTA_LinkValue=41,INTA_IrqBitMap=cef8
INTB_LinkValue=42,INTB_IrqBitMap=cef8
INTC_LinkValue=43,INTC_IrqBitMap=cef8
INTD_LinkValue=44,INTC_IrqBitMap=cef8
ScanConfigureIrq: LinkNumber=65 associated with irq=0
ScanConfigureIrq: for Bus=0 ,Device=3 SlotNumber=0
INTA_LinkValue=60,INTA_IrqBitMap=cef8
INTB_LinkValue=61,INTB_IrqBitMap=cef8
INTC_LinkValue=62,INTC_IrqBitMap=cef8
INTD_LinkValue=63,INTC_IrqBitMap=cef8
ScanConfigureIrq: LinkNumber=96 associated with irq=6
ScanConfigureIrq: LinkNumber=97 associated with irq=9
InitKitlNIC: Searching for PCI Ethernet NIC (dwIrq = B, dwIoBase =
E000, dwDfltType = 4) ...

InitKitlNIC: Found PCI Ethernet NIC (type = 4, IRQ=11, IOBase=0xE000).

+OALKitlInit('CEPC', 0x0000002d - -1/0/0x0000e000, 0x81536920)
DeviceId................. CEPC
pArgs->flags............. 0x2d
pArgs->devLoc.IfcType.... -1
pArgs->devLoc.LogicalLoc. 0xe000
pArgs->devLoc.PhysicalLoc 0x0
pArgs->devLoc.Pin........ 11
pArgs->ip4address........ 192.168.1.7
pDevice->Name............ CEPC
pDevice->ifcType......... -1
pDevice->id.............. 0xe000
pDevice->resource........ 0
pDevice->type............ 2
pDevice->pDriver......... 0x814a15dc
RTL8139InitDMABuffer():: Start[0x815369A0]-[0x815369A0] - Size[0x10000]

Tx[0x815369A0] - Rx[0x815381A0] - RxLength[0x8000] -
RxLengthBit[0x1000]

RTL8139:: built on [Nov 15 2006] [15:24:12]

RTL8139Init():: BaseIO[0xE000] : MemOffset[0xE000]

RTL8139Init():: TxBuff[0x815369A0] - RxBuff[0x815381A0] -
LastRx[0x8154019F]

RTL8139Init:: MAC = 00-0C-76-4D-C7-A8

RTL8139 ethdbg library: perform auto negotiate.

RTL8139:: RTL8139HWSetMCRegs():: Set all to 0x00

x86KitlCreateName: Using Device Name 'CEPC51112'
OALKitlCreateName: Using Device Name 'CEPC51112'
KITL: *** Device Name CEPC51112 ***
KITL: DHCP get/renew device IP: 192.168.1.7
VBridge:: built on [Nov 15 2006] time [15:24:15]

VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes

Tx buffer [0xA1546B40] to [0xA154AB40].

Rx buffer [0xA154AB60] to [0xA154EB60].

VBridge:: NK add MAC: [0-C-76-4D-C7-A8]

KITL: Connected host IP: 192.168.1.13 Port: 1757
KeyIndex 0 = -1
KeyIndex 1 = -1
KeyIndex 2 = -1
KeyIndex 3 = -1
KeyIndex 4 = -1
KeyIndex 5 = -4194305
KeyIndex 6 = -4194305
KeyIndex 7 = -1
+KITLRegisterDfltClient, service:0
+KITLRegisterDfltClient, service:1
KITLGlobalState == 0x61
Waiting for service 'DBGMSG' to connect..., fUseSysCalls = 0
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service PPSH
KeyIndex 0 = -1
KeyIndex 1 = -1
KeyIndex 2 = -1
KeyIndex 3 = -1
KeyIndex 4 = -1
KeyIndex 5 = -4194305
KeyIndex 6 = -4194305
KeyIndex 7 = -1
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service DBGMSG
+KITLRegisterDfltClient, service:2
Waiting for service 'KDBG' to connect..., fUseSysCalls = 0
ProcessAdminMsg: Receive Config message for service PPSH
============================================================


The following is the message for PB5.0 shows..
============================================================
Cannot access selected Device from service host.
Debugger could not initialize connection.
The Kernel Debugger is waiting to connect with target.
The Kernel Debugger has been disconnected successfully.
0 PID:0 TID:0 -OALKitlInit(rc = 1)
0 PID:0 TID:0 CEPC Firmware Init
0 PID:0 TID:0 RTC - Status Reg B - 0x02
0 PID:0 TID:0 g_dwCPUFeatures = bfebfbff
0 PID:0 TID:0 g_nMtrrCnt = 8
0 PID:0 TID:0 MTRR PhysMask0: 0000000ff0000800
0 PID:0 TID:0 MTRR PhysBase0: 0000000000000006
0 PID:0 TID:0 MTRR PhysMask1: 0000000ffc000800
0 PID:0 TID:0 MTRR PhysBase1: 00000000e8000001
0 PID:0 TID:0 MTRR PhysMask2: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase2: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask3: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase3: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask4: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase4: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask5: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase5: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask6: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase6: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask7: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase7: 0000000000000000
0 PID:0 TID:0 PhysMask0: 0000000ff0000800
0 PID:0 TID:0 PhysMask1: 0000000ffc000800
0 PID:0 TID:0 PhysMask2: 0000000000000000
0 PID:0 TID:0 PhysMask3: 0000000000000000
0 PID:0 TID:0 PhysMask4: 0000000000000000
0 PID:0 TID:0 PhysMask5: 0000000000000000
0 PID:0 TID:0 PhysMask6: 0000000000000000
0 PID:0 TID:0 PhysMask7: 0000000000000000
0 PID:0 TID:0 g_nMtrrInuse = 2
0 PID:0 TID:0 OEM Extra DRAM Detected @ base = xA1C00000, size=36
MB
0 PID:0 TID:0 Looking for rom chain
0 PID:0 TID:0 Rom chain NOT found
0 PID:0 TID:0 Firmware Init Done.
0 PID:0 TID:0 Error Reporting Memory Reserved, dump size =
00020000
0 PID:0 TID:0 Booting Windows CE version 5.00 for (x86)
0 PID:0 TID:0 &pTOC = 80229830, pTOC = 8130b8ac, pTOC->ulRamFree
= 81700000, MemForPT = 00004000
0 PID:0 TID:0
Old or invalid version stamp in kernel structures - starting clean!
0 PID:0 TID:0 Configuring: Primary pages: 10456, Secondary pages:
0, Filesystem pages = 5228
0 PID:0 TID:0
Booting kernel with clean memory configuration:
0 PID:0 TID:0 Memory Sections:
0 PID:0 TID:0 [0] : start: 81705000, extension: 00003000, length:
028d8000
0 PID:0 TID:0 X86Init done, OEMAddressTable = 8023fa98.
0 PID:0 TID:0 Windows CE KernelInit
4294767297 PID:3fdf002 TID:3fdf1de Updated eptr->e32_vsize to =
00096000
4294767297 PID:3fdf002 TID:3fdf1de Scheduling the first thread.
4294767297 PID:3fdf002 TID:3fdf1de 0x83fdf030: KernelInit2:
pCurThread=83fdf030 hCurThread=03fdf1de hCurProc=03fdf002, KernelInit =
80266340
4294767298 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00005000
4294767298 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00022000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00007000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00018000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Starting kernel debugger
software probe (KdStub) - KD API version 18
4294767300 PID:3fdf002 TID:3fdf1de 0x83fdf030: Calling KDEnableInt
(FALSE, NULL) without previously calling KDEnableInt (FALSE, p)
4294767309 PID:3fdf002 TID:3fdf1de 0x83fdf030: >>> Loading module
NK.EXE at address 0x80220000-0x802B6000 (RW data at
0x814A0000-0x8154EB5F)
Cannot access selected Device from service host.
The Kernel Debugger is waiting to connect with target.
Debugger could not initialize connection.
The Kernel Debugger has been disconnected successfully.
0 PID:0 TID:0 -OALKitlInit(rc = 1)
0 PID:0 TID:0 CEPC Firmware Init
0 PID:0 TID:0 RTC - Status Reg B - 0x02
0 PID:0 TID:0 g_dwCPUFeatures = bfebfbff
0 PID:0 TID:0 g_nMtrrCnt = 8
0 PID:0 TID:0 MTRR PhysMask0: 0000000ff0000800
0 PID:0 TID:0 MTRR PhysBase0: 0000000000000006
0 PID:0 TID:0 MTRR PhysMask1: 0000000ffc000800
0 PID:0 TID:0 MTRR PhysBase1: 00000000e8000001
0 PID:0 TID:0 MTRR PhysMask2: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase2: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask3: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase3: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask4: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase4: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask5: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase5: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask6: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase6: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask7: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase7: 0000000000000000
0 PID:0 TID:0 PhysMask0: 0000000ff0000800
0 PID:0 TID:0 PhysMask1: 0000000ffc000800
0 PID:0 TID:0 PhysMask2: 0000000000000000
0 PID:0 TID:0 PhysMask3: 0000000000000000
0 PID:0 TID:0 PhysMask4: 0000000000000000
0 PID:0 TID:0 PhysMask5: 0000000000000000
0 PID:0 TID:0 PhysMask6: 0000000000000000
0 PID:0 TID:0 PhysMask7: 0000000000000000
0 PID:0 TID:0 g_nMtrrInuse = 2
0 PID:0 TID:0 OEM Extra DRAM Detected @ base = xA1C00000, size=36
MB
0 PID:0 TID:0 Looking for rom chain
0 PID:0 TID:0 Rom chain NOT found
0 PID:0 TID:0 Firmware Init Done.
0 PID:0 TID:0 Error Reporting Memory Reserved, dump size =
00020000
0 PID:0 TID:0 Booting Windows CE version 5.00 for (x86)
0 PID:0 TID:0 &pTOC = 80229830, pTOC = 8130b8ac, pTOC->ulRamFree
= 81700000, MemForPT = 00004000
0 PID:0 TID:0
Old or invalid version stamp in kernel structures - starting clean!
0 PID:0 TID:0 Configuring: Primary pages: 10456, Secondary pages:
0, Filesystem pages = 5228
0 PID:0 TID:0
Booting kernel with clean memory configuration:
0 PID:0 TID:0 Memory Sections:
0 PID:0 TID:0 [0] : start: 81705000, extension: 00003000, length:
028d8000
0 PID:0 TID:0 X86Init done, OEMAddressTable = 8023fa98.
0 PID:0 TID:0 Windows CE KernelInit
4294767297 PID:3fdf002 TID:3fdf1de Updated eptr->e32_vsize to =
00096000
4294767297 PID:3fdf002 TID:3fdf1de Scheduling the first thread.
4294767298 PID:3fdf002 TID:3fdf1de 0x83fdf030: KernelInit2:
pCurThread=83fdf030 hCurThread=03fdf1de hCurProc=03fdf002, KernelInit =
80266340
4294767298 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00005000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00022000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00007000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00018000
4294767300 PID:3fdf002 TID:3fdf1de 0x83fdf030: Starting kernel debugger
software probe (KdStub) - KD API version 18
4294767308 PID:3fdf002 TID:3fdf1de 0x83fdf030: Calling KDEnableInt
(FALSE, NULL) without previously calling KDEnableInt (FALSE, p)
4294767317 PID:3fdf002 TID:3fdf1de 0x83fdf030: >>> Loading module
NK.EXE at address 0x80220000-0x802B6000 (RW data at
0x814A0000-0x8154EB5F)
Cannot access selected Device from service host.
The Kernel Debugger is waiting to connect with target.
Debugger could not initialize connection.
The Kernel Debugger has been disconnected successfully.
0 PID:0 TID:0 -OALKitlInit(rc = 1)
0 PID:0 TID:0 CEPC Firmware Init
0 PID:0 TID:0 RTC - Status Reg B - 0x02
0 PID:0 TID:0 g_dwCPUFeatures = bfebfbff
0 PID:0 TID:0 g_nMtrrCnt = 8
0 PID:0 TID:0 MTRR PhysMask0: 0000000ff0000800
0 PID:0 TID:0 MTRR PhysBase0: 0000000000000006
0 PID:0 TID:0 MTRR PhysMask1: 0000000ffc000800
0 PID:0 TID:0 MTRR PhysBase1: 00000000e8000001
0 PID:0 TID:0 MTRR PhysMask2: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase2: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask3: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase3: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask4: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase4: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask5: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase5: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask6: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase6: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask7: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase7: 0000000000000000
0 PID:0 TID:0 PhysMask0: 0000000ff0000800
0 PID:0 TID:0 PhysMask1: 0000000ffc000800
0 PID:0 TID:0 PhysMask2: 0000000000000000
0 PID:0 TID:0 PhysMask3: 0000000000000000
0 PID:0 TID:0 PhysMask4: 0000000000000000
0 PID:0 TID:0 PhysMask5: 0000000000000000
0 PID:0 TID:0 PhysMask6: 0000000000000000
0 PID:0 TID:0 PhysMask7: 0000000000000000
0 PID:0 TID:0 g_nMtrrInuse = 2
0 PID:0 TID:0 OEM Extra DRAM Detected @ base = xA1C00000, size=36
MB
0 PID:0 TID:0 Looking for rom chain
0 PID:0 TID:0 Rom chain NOT found
0 PID:0 TID:0 Firmware Init Done.
0 PID:0 TID:0 Error Reporting Memory Reserved, dump size =
00020000
0 PID:0 TID:0 Booting Windows CE version 5.00 for (x86)
0 PID:0 TID:0 &pTOC = 80229830, pTOC = 8130b8ac, pTOC->ulRamFree
= 81700000, MemForPT = 00004000
0 PID:0 TID:0
Old or invalid version stamp in kernel structures - starting clean!
0 PID:0 TID:0 Configuring: Primary pages: 10456, Secondary pages:
0, Filesystem pages = 5228
0 PID:0 TID:0
Booting kernel with clean memory configuration:
0 PID:0 TID:0 Memory Sections:
0 PID:0 TID:0 [0] : start: 81705000, extension: 00003000, length:
028d8000
0 PID:0 TID:0 X86Init done, OEMAddressTable = 8023fa98.
0 PID:0 TID:0 Windows CE KernelInit
4294767297 PID:3fdf002 TID:3fdf1de Updated eptr->e32_vsize to =
00096000
4294767297 PID:3fdf002 TID:3fdf1de Scheduling the first thread.
4294767298 PID:3fdf002 TID:3fdf1de 0x83fdf030: KernelInit2:
pCurThread=83fdf030 hCurThread=03fdf1de hCurProc=03fdf002, KernelInit =
80266340
4294767298 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00005000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00022000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00007000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00018000
4294767300 PID:3fdf002 TID:3fdf1de 0x83fdf030: Starting kernel debugger
software probe (KdStub) - KD API version 18
4294767300 PID:3fdf002 TID:3fdf1de 0x83fdf030: Calling KDEnableInt
(FALSE, NULL) without previously calling KDEnableInt (FALSE, p)
4294767310 PID:3fdf002 TID:3fdf1de 0x83fdf030: >>> Loading module
NK.EXE at address 0x80220000-0x802B6000 (RW data at
0x814A0000-0x8154EB5F)
Cannot access selected Device from service host.
The Kernel Debugger is waiting to connect with target.
Debugger could not initialize connection.
The Kernel Debugger has been disconnected successfully.
Cannot access selected Device from service host.
The Kernel Debugger is waiting to connect with target.
Debugger could not initialize connection.
The Kernel Debugger has been disconnected successfully.
0 PID:0 TID:0 -OALKitlInit(rc = 1)
0 PID:0 TID:0 CEPC Firmware Init
0 PID:0 TID:0 RTC - Status Reg B - 0x02
0 PID:0 TID:0 g_dwCPUFeatures = bfebfbff
0 PID:0 TID:0 g_nMtrrCnt = 8
0 PID:0 TID:0 MTRR PhysMask0: 0000000ff0000800
0 PID:0 TID:0 MTRR PhysBase0: 0000000000000006
0 PID:0 TID:0 MTRR PhysMask1: 0000000ffc000800
0 PID:0 TID:0 MTRR PhysBase1: 00000000e8000001
0 PID:0 TID:0 MTRR PhysMask2: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase2: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask3: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase3: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask4: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase4: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask5: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase5: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask6: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase6: 0000000000000000
0 PID:0 TID:0 MTRR PhysMask7: 0000000000000000
0 PID:0 TID:0 MTRR PhysBase7: 0000000000000000
0 PID:0 TID:0 PhysMask0: 0000000ff0000800
0 PID:0 TID:0 PhysMask1: 0000000ffc000800
0 PID:0 TID:0 PhysMask2: 0000000000000000
0 PID:0 TID:0 PhysMask3: 0000000000000000
0 PID:0 TID:0 PhysMask4: 0000000000000000
0 PID:0 TID:0 PhysMask5: 0000000000000000
0 PID:0 TID:0 PhysMask6: 0000000000000000
0 PID:0 TID:0 PhysMask7: 0000000000000000
0 PID:0 TID:0 g_nMtrrInuse = 2
0 PID:0 TID:0 OEM Extra DRAM Detected @ base = xA1C00000, size=36
MB
0 PID:0 TID:0 Looking for rom chain
0 PID:0 TID:0 Rom chain NOT found
0 PID:0 TID:0 Firmware Init Done.
0 PID:0 TID:0 Error Reporting Memory Reserved, dump size =
00020000
0 PID:0 TID:0 Booting Windows CE version 5.00 for (x86)
0 PID:0 TID:0 &pTOC = 80229830, pTOC = 8130b8ac, pTOC->ulRamFree
= 81700000, MemForPT = 00004000
0 PID:0 TID:0
Old or invalid version stamp in kernel structures - starting clean!
0 PID:0 TID:0 Configuring: Primary pages: 10456, Secondary pages:
0, Filesystem pages = 5228
0 PID:0 TID:0
Booting kernel with clean memory configuration:
0 PID:0 TID:0 Memory Sections:
0 PID:0 TID:0 [0] : start: 81705000, extension: 00003000, length:
028d8000
0 PID:0 TID:0 X86Init done, OEMAddressTable = 8023fa98.
0 PID:0 TID:0 Windows CE KernelInit
4294767297 PID:3fdf002 TID:3fdf1de Updated eptr->e32_vsize to =
00096000
4294767297 PID:3fdf002 TID:3fdf1de Scheduling the first thread.
4294767298 PID:3fdf002 TID:3fdf1de 0x83fdf030: KernelInit2:
pCurThread=83fdf030 hCurThread=03fdf1de hCurProc=03fdf002, KernelInit =
80266340
4294767298 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00005000
4294767298 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00022000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00007000
4294767299 PID:3fdf002 TID:3fdf1de 0x83fdf030: Updated eptr->e32_vsize
to = 00018000
4294767300 PID:3fdf002 TID:3fdf1de 0x83fdf030: Starting kernel debugger
software probe (KdStub) - KD API version 18
4294767300 PID:3fdf002 TID:3fdf1de 0x83fdf030: Calling KDEnableInt
(FALSE, NULL) without previously calling KDEnableInt (FALSE, p)
4294767309 PID:3fdf002 TID:3fdf1de 0x83fdf030: >>> Loading module
NK.EXE at address 0x80220000-0x802B6000 (RW data at
0x814A0000-0x8154EB5F)
================================================================



After that,, wait for over 10 minutes, the CEPC does not show up
windows... and no more message..
What's wrong with that...?
With the same BSP image, I try to download to another PC with RTL8139
too, though the KITL not work,, at least the PC was able to run the NK
and show up the CE windows...

Any hint for that??? I'm try to set up the KITL for CEPC for quite a
long time... but still can not make it work...
Thanks...


-stc


.



Relevant Pages

  • Re: How to enable KITL for CEPC..
    ... KeyIndex 0 = -1 ... Cannot access selected Device from service host. ... The Kernel Debugger has been disconnected successfully. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Windbg: Disable user mode debugging
    ... >> This group is not applicable because of the win32 in the title. ... So you don't have 64-bit Windows. ... debugger is an extension to ntoskrnl and maybe the hal too. ... I do know that the kernel does not have ...
    (microsoft.public.win32.programmer.kernel)
  • Random reboots
    ... Microsoft Windows Debugger Version 6.9.0003.113 X86 ... Copyright Microsoft Corporation. ... Loading Kernel Symbols ... Loaded symbol image file: ntkrnlpa.exe ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Freezing or BSOD while copying folders
    ... Loading Kernel Symbols ... If a kernel debugger is available get the stack backtrace. ... FOLLOWUP_NAME: MachineOwner ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Freezing or BSOD while copying folders
    ... Loading Kernel Symbols ... If a kernel debugger is available get the stack backtrace. ... FOLLOWUP_NAME: MachineOwner ...
    (microsoft.public.windowsxp.help_and_support)