BLCOMMON Code Library (Windows CE 5.0)
The BLCOMMON library, in the %_WINCEROOT%\Public\Common\Oak\Drivers\Ethdbg\Blcommon directory, implements the basic framework of a boot loader. It handles relocating the boot loader to RAM for faster execution, decoding the .bin file contents, verifying checksums, and keeping track of load progress. The library calls well-defined OEM functions throughout the process to handle hardware platform or solution-specific customizations.
The BLCOMMON library entry point is the BootloaderMain function, which is called by the boot loader startup code when the system powers up or resets. For more information about BootloaderMain and how it is used when developing a boot loader, see Ethernet Boot Loader Code Implementation.
For more information about the OEM functions called by the BLCOMMON library, see Required Boot Loader Functions. The definitions for these functions live in the OEM's source code and are typically customized to the OS design or solution.
See Also
Send Feedback on this topic to the authors