Hi
I have an Aaeon PCM8152 / Celeron M running standard CEPC winCe5.0.
When I warm reset the system, or switch is off/on within a few
seconds, I get this error.
The bootloader runs fine, but afterwards the first part of kernelinit
fails =96 the system never recovers.
Leaving the system for 30 sec. it alwayes powers correct up.

***************************************************
INFO: code=3D0x4.
INFO: code=3D0x4.
Jumping to image (address=3D0x224588)

Debug Serial Init

SysInit: Mapping Extra RAM from 0x84000000 to 0x9ac00000
GDTBase=3D8235b0e8 IDTBase=3D8237c860 KData=3D82385800
Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
g_pPageDir =3D 82388000

Double Fault -- backlink=3D0048
TSS=3D8237d060 EIP=3D80233ef1 Flags=3D00210082
Eax=3D00000000 Ebx=3D8237bd04 Ecx=3Df000e987 Edx=3D8237bdd0
Esi=3D9db79000 Edi=3D8df78000 Ebp=3D8237bcf8 Esp=3D8237bc94
CS=3D0019 DS=3D0040 ES=3D0040 SS=3D0021 FS=3D0018 GS=3D0018
***************************************************
As I can understand this problem is not isolated to my target. The
most interesting solution I have managed to find is implementing a
call to NKForceCleanReboot in OEMInit().
Questions:
NKForceCleanReboot is not declared in any of my header files. Am I
suppose to implement it myself?

Using the CEPC standard BSP I=B4m not sure which file my OEMInit() is
located?

Perhaps someone have done a similar fix up of OEMInit() and can show
how?

Any other suggestions or comments?

Best regards,
Jonas

Re: Warm boot / fails to re-initialize system by Bruce

Bruce
Mon Jun 02 06:42:07 PDT 2008

Did you look up NKForceCleanBoot in help, or anywhere else?

For CEPC, your OEMInit is in Platform\Common. You will need to copy it to
your BSP and then modify it.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

EuroTech Inc.
www.EuroTech.com

<time_error@hotmail.com> wrote in message
news:ee6252a8-224c-413e-8ef1-3a3272af9fa2@f63g2000hsf.googlegroups.com...
Hi
I have an Aaeon PCM8152 / Celeron M running standard CEPC winCe5.0.
When I warm reset the system, or switch is off/on within a few
seconds, I get this error.
The bootloader runs fine, but afterwards the first part of kernelinit
fails ? the system never recovers.
Leaving the system for 30 sec. it alwayes powers correct up.

***************************************************
INFO: code=0x4.
INFO: code=0x4.
Jumping to image (address=0x224588)

Debug Serial Init

SysInit: Mapping Extra RAM from 0x84000000 to 0x9ac00000
GDTBase=8235b0e8 IDTBase=8237c860 KData=82385800
Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
g_pPageDir = 82388000

Double Fault -- backlink=0048
TSS=8237d060 EIP=80233ef1 Flags=00210082
Eax=00000000 Ebx=8237bd04 Ecx=f000e987 Edx=8237bdd0
Esi=9db79000 Edi=8df78000 Ebp=8237bcf8 Esp=8237bc94
CS=0019 DS=0040 ES=0040 SS=0021 FS=0018 GS=0018
***************************************************
As I can understand this problem is not isolated to my target. The
most interesting solution I have managed to find is implementing a
call to NKForceCleanReboot in OEMInit().
Questions:
NKForceCleanReboot is not declared in any of my header files. Am I
suppose to implement it myself?

Using the CEPC standard BSP I´m not sure which file my OEMInit() is
located?

Perhaps someone have done a similar fix up of OEMInit() and can show
how?

Any other suggestions or comments?

Best regards,
Jonas








Re: Warm boot / fails to re-initialize system by Travis

Travis
Mon Jun 02 06:49:29 PDT 2008

Keep in mind that without handling a reset of the PCI bus specific to your
motherboard, which requires you to write some BSP-specific code, you may run
into problems with warm reset.

NKForceCleanBoot (not NKForceCleanReboot) is implemented in the kernel, and
the header public\common\oak\inc\pkfuncs.h contains the function
declaration.

OEMInit can be found here:
macallan\platform\common\src\x86\common\startup\oeminit.c.

--
--Travis Hobrla
http://blogs.msdn.com/ce_base/

This posting is provided "AS IS" with no warranties, and confers no rights.
<time_error@hotmail.com> wrote in message
news:ee6252a8-224c-413e-8ef1-3a3272af9fa2@f63g2000hsf.googlegroups.com...
Hi
I have an Aaeon PCM8152 / Celeron M running standard CEPC winCe5.0.
When I warm reset the system, or switch is off/on within a few
seconds, I get this error.
The bootloader runs fine, but afterwards the first part of kernelinit
fails ? the system never recovers.
Leaving the system for 30 sec. it alwayes powers correct up.

***************************************************
INFO: code=0x4.
INFO: code=0x4.
Jumping to image (address=0x224588)

Debug Serial Init

SysInit: Mapping Extra RAM from 0x84000000 to 0x9ac00000
GDTBase=8235b0e8 IDTBase=8237c860 KData=82385800
Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
g_pPageDir = 82388000

Double Fault -- backlink=0048
TSS=8237d060 EIP=80233ef1 Flags=00210082
Eax=00000000 Ebx=8237bd04 Ecx=f000e987 Edx=8237bdd0
Esi=9db79000 Edi=8df78000 Ebp=8237bcf8 Esp=8237bc94
CS=0019 DS=0040 ES=0040 SS=0021 FS=0018 GS=0018
***************************************************
As I can understand this problem is not isolated to my target. The
most interesting solution I have managed to find is implementing a
call to NKForceCleanReboot in OEMInit().
Questions:
NKForceCleanReboot is not declared in any of my header files. Am I
suppose to implement it myself?

Using the CEPC standard BSP I´m not sure which file my OEMInit() is
located?

Perhaps someone have done a similar fix up of OEMInit() and can show
how?

Any other suggestions or comments?

Best regards,
Jonas







Re: Warm boot / fails to re-initialize system by time_error

time_error
Wed Jun 04 05:11:59 PDT 2008

[SNIP]

Implementing call to NKForceCleanBoot() in the last part of OEMInit()
did the trick - the startup is now rock solid.
Thanks!

BR,
Jonas, DK