Re: PB 5.0: Image only boots 99%
- From: "Luc Cool" <Cooltje@xxxxxxxxxx>
- Date: Sun, 11 Jun 2006 17:52:11 GMT
Hi,
The error codes you get come from the biosloader; and not from the actual
windows ce image.
If you are a ce beginner, I would recommend to use the loadcepc.exe program
as bootloader for your image. It is based on dos and easier to go along
with. Once you got that running, you can switch to the biosloader, so you
don't need to pay for a dos license.
however, to answer your questions,
eboot.bix is the compressed version of eboot.bin. Since you load nk.bin in
your platform, it is normal you can delete it without any changes.
splash .bmx is the compressed version of splash.bmp, the file that makes the
CE background during booting.
the sources of the biosloader can be found in the
wince500\public\common\oak\csp\x86\biosloader\loader map. The debug.h file
contains the defines of the ERROR, WARNING and INFO codes. you can than
search the C files to see where they are generated.
regards,
Luc
"GT" <GT@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:52E0A614-CFAB-46A7-B96A-F7C2034DFF8A@xxxxxxxxxxxxxxxx
Thank you for your answer Luc. Now please consider the "Industrial"Industrial
Controller" template as an example.
I've built two debug versions and two release versions using the
Controller" template in PB 5.0. One debug and one release buid using thex86
BSD and one debug and one release build using the AMD Geode x86 BSD.the
I've then prepared the flash-card on the Advantech PCM-5823 using
mkdisk.exe, and copied the files from bootdisk.144 along with the binary
image (nk.bin) onto the flash-card (and of course altered the boot.ini to
boot from nk.bin). The flash-card contains the following files:
*BLDR
*Boot.ini
*eboot.bix
*nk.bin
*splash.bmx
When booting the debug version (on target) with the AMD Geode x86 image
following can be seen in Hyper Terminal using the serial port:the
"Microsoft Windows CE BIOS Bootloader Version 2.2 (Built Mar 13 2004)
INFO: code=0x4.
INFO: code=0x4.
INFO: code=0x4.
WARNING: code=0x20.
Jumping to image (address=0x0)"
The the screen goes black and nothing happens.
When booting the debug version (on target) with the x86 image exactly the
same happens.
And when booting the release version (on target) with the AMD Geode x86
image exactly the same happens as well.
However When booting the release version (on target) with the x86 image
following can be seen in Hyper Terminal using the serial port:everything
"Microsoft Windows CE BIOS Bootloader Version 2.2 (Built Mar 13 2004)
INFO: code=0x4.
INFO: code=0x4.
INFO: code=0x4.
ERROR: code=0xB.
INFO: code=0x37.
WARNING: code=0x7.
ERROR: code=0x8."
This time the screen is not black. The Windows CE logo is shown with the
PROGRESS BAR below. The progress bar is only 2% filled up and then
freezes.dissappear,
One thing that I have also noted is that removing "eboot.bix" makes no
difference, and removing "splach.bmx" makes the Windows CE logo
but the progress bar still shows.procede
Now, why more debug information is displayed using the release build than
the debug build beats me, but what I'd really like to know is how to
from here.equivalent
For instance, Where do I find out what "ERROR: code=0xB" means?
"Luc Cool" wrote:
Hi,
the way you describe it, you are using the bios bootloader to start your
image. I have no expierence yet with that one.
Considering your questions:
1. No, the Enable Eboot Space is not responsable for that.
2. The progress bar is probably a feature of the bios bootloader,
notto the progress bar of loadcepc I talked about before. loadcepc.exe is
loadincluded in the ce os image, as it is a 16 bit dos application used to
insufficient.a image into memory and start it.
3. I have no answer to that, the information we have here is
platform4. In my opinion (but who am I), the simpliest method to see your debug
output is connecting a null modem cable between com1 of your target
connectedand a com port of your development platform. If tx, rx and gnd are
handshaketo the rx, tx and gnd of the other site, the cable should work. No
portwires are needed.
On your development pc, you should start hyperterminal, to see the debug
info that comes from your ce output.
Even release builds of CE generate debug output, but far less than debug
builds.
Try loadcepc.exe, but use nk.bin as argument instead of eboot.bin or
sboot.bin, eventually with the drive and folder info before it. like:
loadcepc.exe c:\nk.bin
You can add some parameters to choose the video resolution, and the com
helpused for debug output, but the info for that can be found in several
andfiles. The flat vga driver uses 320x240 as default resolution and the os
uses com1 as debug port if none is specified.
This will directly transfer the wince os to the ram of your platform,
filestart it up. The serial debug port uses a baudrate of 38400 baud.
Also make sure you have a image with ram based registry and ram /rom
sequence. (Isystem. The hive based one has a more complex startup procedure, and, in
case of problems, has a bigger chance to abort it's normal boot
violatedidn't found this myself, I read it on this newsgroup. Sorry if i
withsomeones copyright by rewriting this, but I can only say I agree 100%
Builderthis.)
hope this helps.
regards,
luc
"GT" <GT@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5968AB2B-29A1-49FA-BDEB-08EFF39057FC@xxxxxxxxxxxxxxxx
Yes there is a progress bar. Now let me give you some more details:PCM-5823.
I'm trying to build a bootable Win CE 5.0 image for the Advantech
I've tried using a number of the predefined templates in Platform
using5.0 (Industrial Controller, Internet Appliance etc), but without anysuccess.
In Platform-> Settings -> Build Options I have typically selected the
following
*Enable CE Target Control Support
*Enable Eboot Space in Memory
*Enable Full Kernel Mode
*Enable KITL
Further I have buit the template images (and some customized ones)
thethe
exact same settings for the x86 BSP and AMD GEODE x86 BSP (selected in
AMDNew Platform Wizard).
The result is as follows:
At bootup on target the screen is black and nothing happens using the
theGEODE x86 images, whereas using the x86 images the Windows CE logo and
Spaceprogress bar is displayed as previously explained.
Now I wonder
1) Is the reason for the displayed progress bar that "Enable Eboot
inin
Memory" is selected?
2)Is the progress bar showing because loadcepc.exe is somehow included
Drive").the nk.bin? (I'm booting from the flash card following the proceduresdescred
on MSDN: "How to Boot a Run-Time Image on a CEPC from a Hard Disk
the3) Why is nothing happening when using the AMD GEODE x86 BSP which is
supposed to be custom made for the Advantech PCM-5823?
And last but not least:
4) How should I procede to do "a debug build to see what is going on"?
I'd really like to know, but I've not been able to find anything in
thedocumentation about this.
I should also mention that (like so many others) I'm not able to make
disk.CEPC boot with loadcepc.exe using the supplied CEPCBoot.144 floppy
everythingI've
tried numerous of different options for the eboot (just about
nothat is commented in the discussion groups, and in the online MSDN
documentation ), but with no luck. Neither is the serial boot working,
Target ->matter the selected baud rate etc. The CEPC never shows up under
toConnectivity Options. So yes, I'm very very interested in knowing how
thedo
"a debug build to see what is going on".
Looking forward for your answer.
"Luc Cool" wrote:
Hi,
you are probably talking about the progress bar loadcepc.exe puts on
entryscreen when it loads a image. After loading, it should jump to the
error's.point of the image (either eboot.bin, sboot.bin or nk.bin) Maybe the
progress indicator doesn't reach the 100% due to some rounding
youYou
didn't mention which platform you are using, and what kind of image
5.0are
release.trying to load..
regards,
Luc
"GT" <GT@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6986E9A6-73FF-40C5-A99A-1325646A3790@xxxxxxxxxxxxxxxx
Sorry, I mean progress bar.
"Dean Ramsier" wrote:
Performance bar??? There is no such thing in the standard CE
Have
you tried doing a debug build to see what is going on?
--
Dean Ramsier - eMVP
BSQUARE Corporation
"GT" <GT@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5E911553-C102-4F70-9A3E-3B44A8504B5F@xxxxxxxxxxxxxxxx
Hello
I've made an image (or several to be perfectly honest) wiht PB
TheWindowsthat
only
boots 99% and then stops completely. At bootup (on target) the
logo
and "Windows CE" is displayed with a performance bar below.
knowactuallyperformace
bar fills up 99% and then everything freezes.
I have not been able to find from the documentation what is
happening as the performance bar is filling up. Does anyone
number ofwhere
to
find this information and a probable cause to my problem?
I've tried altering Platform->Settings-> Build Options a
(Windowstimes.
And when I remove KITL, the image does not boot at all
logo
and
performance bar are not displayed).
.
- References:
- Re: PB 5.0: Image only boots 99%
- From: Dean Ramsier
- Re: PB 5.0: Image only boots 99%
- From: Luc Cool
- Re: PB 5.0: Image only boots 99%
- From: GT
- Re: PB 5.0: Image only boots 99%
- From: Luc Cool
- Re: PB 5.0: Image only boots 99%
- From: GT
- Re: PB 5.0: Image only boots 99%
- Prev by Date: Re: i2c driver
- Next by Date: Re: Does lpGetDeviceInfo set up a real USB transfer?
- Previous by thread: Re: PB 5.0: Image only boots 99%
- Next by thread: Re: PB 5.0: Image only boots 99%
- Index(es):
Relevant Pages
|