Copyright
©
2018
congatec
AG
CAM_KIT_MIPI_13
3/4
3
Software
3.1
Distribution
The software and documentation is available upon request.
3.2
Supported Operating System
•
Yocto
The Yocto BSP is available upon request.
3.3
Board Support Package
The steps below describes how to fetch and install the congatec Yocto BSP. The
BSP provides congatec hardware specific settings, libraries and applications.
3.3.1
Prerequisite:
Yocto Project Development Environment. For more information, visit:
https://www.yoctoproject.org/docs/1.8/yocto-project-qs/yocto-project-qs.html
3.3.2
Steps:
Follow the steps below to clone and apply the congatec BSP:
1. Clone a copy of the Apollo Lake-I BSP from Github and check out the MR3.1
Branch:
$ git clone https://github.com/01org/iotg-yocto-bsp-public.git -b
e3900/master
$ git checkout E3900-MR3.1
2. Run the
setup.sh
script to customize the congatec BSP for the installation:
$ cd iotg-yocto-bsp-public
$ ./setup.sh
Note
3. Copy the kernel patches to the build machine and extract them:
$ tar xvfz rel_iotg_seg_ipu_integration_mr3_base_mr3.1_cgt.tar.gz
4. Go to the yocto directory:
cd yocto_build/meta-intel-leafhill/recipes-kernel/linux/linux-yocto
5. Move the kernel patches to the
linux-yocto
directory:
$ mv /home/user/rel_iotg_seg_ipu_integration_mr3_base_mr3.1_cgt/* patches/
6. List the contents of the patch directory and print them to the .scc file:
$ ls patches/ > ipu-patch-integration.scc
7. Open the file with vi editor:
$ vi ipu-patch-integration.scc
8. Press Esc to enter the vim command prompt mode.
–
enter the following command:
$ :%s/^/patch patches\//
9. Press Esc to enter the vim command prompt mode.
–
enter the following command:
$ :x
10. Edit the kernel BitBake recipe to include the .scc file:
$ cd ..
$ vim linux-yocto_4.1.bbappend
To prevent integration problems, add the SRC_URI as shown below:
S= "file://kernel-patch-integration.scc \
file://ipu-patch-integration.scc \
file://kernel_ipu.scc \
file://kernel_io.scc \
file://kernel_audio.scc \
${@bb.utils.contains('AUDIO_FEATURES', 'ssp', 'file://kernel_audio-
ssp.scc', '', d)} \
"
Note