Hi All

I am o trying to migrate BSP for Windows CE 4.20 to Windows CE 5.0 on
Innovator OMAP1510 HW platform. I am also facing the same problem as the the
one Vadivel described in the discussion forum in his post
With WINCE4.2 image is coming perfectly with the BSP,same BSP I used after
incorporating changes as per microsoft help
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcehardware5/html/wce50conbspanddrivermigration.asp

I have followed the steps for migrating BSP from 4.2 to 5.0,but I built the
image using Macallan and try to down load the image into OMAP1510 hardware I.
found after putting couple debug statements ("<Drive
name>:\WINCE500\Private\WINCEOS\COREOS\NK\KERNEL\schedule.c" and Drive
name>:\WINCE500\Private\WINCEOS\COREOS\NK\KERNEL\kwin32.c")

it is not able to execute fitst thread It means not going to
SystemStartupFunc() Pls see the debug list 1

I tested timer ISR which is responsible for system tick by putting debug
statements in OEMInterruptHandler(in Intc of BSP) and
SysTimerInterruptHandler( Ter.cp of BSP) functions and it is working fine . I
am attaching the debug output from serial output below. pls see the DEBUGLIST
II


DEBUGLIST I

Ethernet Boot-Loader for the
Texas Instruments OMAP EVM.

Build date: Nov 14 2002 at 12:23:53
Copyright (c) 2000 - 2002, Texas Instruments, Inc.
Portions copyright (c) 1995-2000 Microsoft Corporation.

EBOOT: Moving exception handlers from 0x84014DFC to 0x8802D000.
EBOOT: Calling OEMInit.
EBOOT: Initializing LAN9000 hardware.
+SMCInit

SMC card not detected, I/O base 0xA2000300, BSR: 0x0000FFFF
EBOOT: Could not find LAN9000 hardware.
EBOOT: Jumping directly to 0x40000
EBOOT: Jumping to image at 0x40000...
EBOOT: Leaving main().
OEMInitDebugSerial: KITL initialization failed.

Windows CE Kernel for ARM (Thumb Enabled) Built on May 16 2005 at 16:56:07

ProcessorType=0925 Revision=2

sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80041038

RelocInit: Relocating 580 bytes of SDRAM functions.

RelocInit: Relocating 184 bytes of ISRAM functions.

g_pSetEMIFFastRegs=0xa802f004.

OEMInit is done!!! by Vadivel

Booting Windows CE version 5.00 for (ARM)


Booting kernel with existing memory configuration:

Memory Sections:

[0] : start: 84070000, extension: 00002000, length: 01d8e000

Sp=ffffc7cc

ARMInit done.

SchdInit....Starts.....(!@#$%^&*)...

Scheduler: Start openexecutable 'nk.exe'

ldr:OpenExe: nk.exe

OpenExecutable: Filesys not loaded, Opening from ROM

OpenFileFromROM:found

ldr: OpenExecutable is done

Updated eptr->e32_vsize to = 00048000

Scheduler: openexecutable 'nk.exe' sucess

Scheduler: dovirtualAlloc is done

Sched: pStak:c2010000, pCurProc->e32.e32_stackmax :00010000

MDCT: MDCreateThread starts..

MDCT: MDCreateThread end..

DEBUGLIST II


Ethernet Boot-Loader for the
Texas Instruments OMAP EVM.

Build date: Nov 14 2002 at 12:23:53
Copyright (c) 2000 - 2002, Texas Instruments, Inc.
Portions copyright (c) 1995-2000 Microsoft Corporation.

EBOOT: Moving exception handlers from 0x84014DFC to 0x8802D000.
EBOOT: Calling OEMInit.
EBOOT: Initializing LAN9000 hardware.
+SMCInit

SMC card not detected, I/O base 0xA2000300, BSR: 0x0000FFFF
EBOOT: Could not find LAN9000 hardware.
EBOOT: Jumping directly to 0x40000
EBOOT: Jumping to image at 0x40000...
EBOOT: Leaving main().
Windows CE Kernel for ARM (Thumb Enabled) Built on May 6 2005 at 15:26:11

ProcessorType=0925 Revision=2

sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80041038

RelocInit: Relocating 580 bytes of SDRAM functions.

RelocInit: Relocating 184 bytes of ISRAM functions.

g_pSetEMIFFastRegs=0xa802f004.

OEMInit is done!!! by Vadivel

Booting Windows CE version 5.00 for (ARM)



Booting kernel with existing memory configuration:

Memory Sections:

[0] : start: 84070000, extension: 00002000, length: 01d8e000

Sp=ffffc7cc

ARMInit done.

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =

Timer: !fIntrTime

Timer: SysTimerInterruptHandler done..

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =

Timer: !fIntrTime

Timer: SysTimerInterruptHandler done..

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =

Timer: !fIntrTime

Timer: SysTimerInterruptHandler done..

Intc: OEMInterruptHandler(): ~~...INTC_IRQ_TIMER1...~~ =

Timer: !fIntrTime