Boot with a Boot Loader (Windows CE 5.0)

Send Feedback

To boot from a boot loader, it must know the location of the StartUp function to jump to after the image is downloaded. This location is specified in the kernel source file directory %_WINCEROOT%\Platform\<Hardware Platform Name>\Src\Kernel\OAL. The boot loader obtains the start address from the .bin file that is downloaded, and then jumps to the StartUp function as specified in the sources file. The last record of the .bin file contains the start address, which has a length equal to the address of the startup function with a checksum of 0.

To see the start address for Startup, use the following command:

viewbin –r nk.bin

The output is similar to the following example:

Record [ 36] : Start = 0x00000000, Length = 0x0020B650, Chksum = 0x00000000

The boot loader gets the start address from the downloaded .bin file, and then jumps to StartUp.

EXEENTRY=StartUp   / specifies the StartUp function

See Also

Boot without a Boot Loader | Modes for Booting the OS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.