Re: Booting from usb problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Did you build a debug build of the kernel with KITL disabled? If you do that, there should be debug messages out of the serial port. If not, check debug.c and see how your serial debug port is setup. It is your kernel, so you should know...


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE
http://GuruCE.com
Consultancy, training and development services.


dario wrote:
I can't see nothing with the serial debug.
I'm sure the serial settings are right, as I see debug message when I choose point 2 (or 3 or 4) from the loadcepc menu.
Can you tell me how to enable dubugging when launching nk.bin from local?

Thanks
Dar

"Michel Verhagen (eMVP)" wrote:

First get serial working. There's no way we can help you without those debug messages. LoadCEPC should already output a lot of debug messages over 0x3F8 COM1. After that (depending on what you configured in CE as serial debug port, default = 0x3F8) CE should spew out a lot of debug messages if you build a debug kernel without KITL enabled and load that kernel from disk using LoadCEPC.


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE
http://GuruCE.com
Consultancy, training and development services.


dario wrote:
Hi all..
I've made an image nk.bin (a standard Internet appliance as I've accepted all the default) using PB 5.00. Built it in release mode ... with no error.
I'm using a usb storage device connected to my target device.
In the usb device I've stored the CEPC disk files (made with cepcboot.144 and containg loadcepc, ...) and my nk.bin.
It boots starting DOS and launch the "loadcepc screen" so that I can select the point
"1.Boot CE/PC (local NK.bin)"
So it load data (nk.bin) from the usb device
"... section phisically start ..."
but after that it display a black screen with "jumping to 0x00229348" and anymore.

If I use loadcepc with eboot (selecting case 2 or 3 or 4 instead of 1) and attaching from platform builder with ethernet, it works: the image is transferred to the target device and boot correctly.

Why it doesn't work with the nk.bin locally???
PS In the serial debug (38400, n81) nothing is transmitted.


Thanks in advance,
Dario

.



Relevant Pages

  • Re: Debugging nk.bin..
    ... mean what are the functions that are called one by one after kernel start... ... In my bsp i predicted the flow to be like this... ... I am actually in the process of migrating 4.2 bsp to 5.0. ... debug messages on the PB. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [patch 0/3] dynamic_printk: new feature
    ... How about not just debug messages but setting a loglevel for each module ... kernel messages emitted beneath the loglevel value ... Replace the unconditional printk() messages with printkmessages that are ...
    (Linux-Kernel)
  • Re: Driver loading problem
    ... When I add more debug messages, I'm getting the following debug messages. ... Booting Windows CE version 4.20 for ... Old or invalid version stamp in kernel structures - starting clean! ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to enable DEBUGMSG in Windows ce 6.0 kernel
    ... My unit boots, it's the kernel that hangs, as you can see from the log I ... 0x7FFFFFFF FIXUPVAR ... lines to the config.bib has no effect to the debug messages that are shown ... +OEMInit: OALCacheGlobalsInit ...
    (microsoft.public.windowsce.platbuilder)
  • Re: i18n for kernel 2.7.x?
    ... why not internationalization of kernel. ... > that the kernel could display error or debug messages in different ... bad a concept in Text Editors as it is in women. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)