
Note: The installation sequences are crucial for compilation success.
1. Install Visual Studio 2008 Professional.
2. Install Visual Studio 2008 Professional Service Pack 1.
3. Install Windows Embedded Compact 7 platform builder.
In the SETUP dialog during installation, select x86 in the processor architecture section.
4. Install Board Support Package (BSP); v3.1 is required. Download the BSP from BSquare at:
http://www.bsquare.com/software-downloads.aspx
or Adeneo at:
http://www.adeneo-embedded.com/Products/Board-Support-Packages/Intel
Note: You need to register before you are able to download.
5. Download Intel® EMGD for XP/Linux/Windows Embedded Compact 7 from the Intel EDC website: edc.intel.com. For assistance on using CED, refer to Platform Configuration Using CED.
6. Generate a driver for your platform.
7. Unzip and copy the contents of the Driver folder from the zip to C:\Driver.
8. Copy and unzip the codecs to a folder on your hard drive. For illustration purposes, assume the folders have been copied to C:\Driver\Codecs
Note: See Installing Intel® EMGD DirectShow Codecs for instructions to request the Codecs through QuAD.
9. After installation is complete, change directories:
cd C:\WinCE700\Platform\Intel_CS
a. Change BSP_DISPLAY_FLAT= 1
to
BSP_DISPLAY_FLAT=
b. On a new line below set BSP_DISPLAY_FLAT=
add a new line:
set BSP_DISPLAY_EMGD=1
cd C:\WinCE700\Platform\Intel_CS\Files
a. From the C:\WinCE700\platform\INTEL_CS\FILES folder, open the file platform.reg.
b. Find the lines ENDIF BSP_DISPLAY_RAGEXL
and
ENDIF BSP_NODISPLAY !. Between these two lines,
paste the following code:
[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates]
"Candidate6"="Drivers\\Display\\Intel"
[$(PCI_BUS_ROOT)\Template\EMGD]
"VendorID"=multi_sz:"8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086", "8086"
"DeviceID"=multi_sz:"3582", "2572", "2562", "357B", "3577", "1132", "7125", "7123", "7121", "2582", "2782", "2592", "2792", "2772", "2776", "27A2", "27A6", "2982", "2983", "29A2", "29A3", "2992", "2993", "2972", "2973", "2A12", "8108", "4108"
; include the path to the emgd.reg file in the release package
#include "C:\Driver\Codecs\emgd_filters.reg"
13. Edit Platform.bib and at the end of the file, add the following lines. (Note that indented lines below indicate that lines have wrapped; however, they should be entered into Platform.bib as one line.)
ddi_emgd.dll C:\<EMGD driver path>\ddi_emgd.dll NK SH
libegl.dll C:\<EMGD driver path>\libegl.dll NK SH
isr_emgd.dll C:\<EMGD driver path>\isr_emgd.dll NK SH
lvds.dll C:\<EMGD driver path>\lvds.dll NK SH
sdvo.dll C:\<EMGD driver path>\sdvo.dll NK SH
libGLESv2.dll C:\<EMGD driver path>\libGLESv2.dll NK SH
libGLES_CM.dll C:\<EMGD driver path>\libGLES_CM.dll NK SH
libOpenGL.dll C:\<EMGD driver path>\libOpenGL.dll NK SH
libOpenVG.dll C:\<EMGD driver path>\libOpenVG.dll NK SH
aac_dec_filter.dll C:\<EMGD driver path>\Codecs\aac_dec_filter.dll NK SH
ac3_dec_filter.dll C:\<EMGD driver path>\Codecs\ac3_dec_filter.dll NK SH
mp3_dec_filter.dll C:\<EMGD driver path>\Codecs\mp3_dec_filter.dll NK SH
h264_dec_filter.dll C:\<EMGD
driver path>\Codecs\
h264_dec_filter.dll NK SH
mpeg2_dec_filter.dll C:\<EMGD
driver path>\Codecs\
mpeg2_dec_filter.dll NK SH
mpeg2_spl_filter.dll C:\<EMGD
driver path>\Codecs\
mpeg2_spl_filter.dll NK SH
mpeg4_dec_filter.dll C:\<EMGD
driver path>\Codecs\
mpeg4_dec_filter.dll NK SH
mpeg4_spl_filter.dll C:\<EMGD
driver path>\Codecs\
mpeg4_spl_filter.dll NK SH
where <EMGD driver path> is replaced with the actual path for Intel® EMGD, for example, C:\Driver\.... This tells the BSP where to find the EMGD driver files.
14. Check that all the paths edited in steps 12. and 13. are valid. If not, do a manual search for the file concerned and adjust the path accordingly.
15. Intel® EMGD does not support compositor in Windows Embedded Compact 7, however, the default setting in Platform Builder has compositor enabled. To disable it, after creating a new project in Platform Builder, use the Catalog Items View search function to find and disable the following settings IN ORDER:
16. Your image is ready to be built in Visual Studio 2008.