Thursday, February 12, 2015

Intel Atom WEC7 BSP boot failing when SMP enabled

Hi Folks,

If you are using the Intel Atom BSP, available for download from Adeneo Embedded website (http://www.adeneo-embedded.com/Products/Board-Support-Packages/Intel) with the Windows Embedded Compact 7 updates higher than July 2013, you will experiment boot issue when the SMP (multicore) is enabled.

In July 2013 Microsoft has release an update of the common source code for the management of SMP under x86 platform, and as the Intel Atom BSP is using his own lib flavor, then the BSP is no longer compatible with what WEC7 is expecting.
So you have to link to the correct library in the OAL, and for this, edit the sources file located in WINCE700\Platform\INTEL_CS\SRC\OAL\OALEXE.

At line 73 replace
$(_PLATLIB)\$(_CPUINDPATH)\oal_mpsupport_atom.lib \
by
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_mpsupport_x86.lib \

Then just rebuild the OALEXE folder and perform a make image... and voilà

Enjoy
-Nicolas

No comments:

Post a Comment