IDP/Advantech/Standard BSP
From ESS-WIKI
Baytrail
- Standard Base: MI3.1 RCPL 7.0.0.14
- Configuration: config.log
- BSP Version: 7.0.0.14
- Doc Version: 1.0.1
- Date: 2016/06/01
0. Prepare Enviroment Ubuntu 14.04 x64 + packages
$sudo apt-get update
*Copy and paste the following command into the terminal window, and then click Enter. $sudo apt-get install libstdc++6:i386 libgtk2.0-0:i386 libxtst6:i386 \ texi2html chrpath diffstat subversion libgl1-mesa-dev libglu1-mesa-dev lvm2 \ libsdl1.2-dev texinfo gawk gcc help2man g++ git-core python-gtk2 bash diffutils \ xz-utils make file screen gcc-4.7 gcc-4.7-multilib g++-4.7 g++-4.7-multilib \ gtk2-engines-murrine:i386 libcanberra-gtk-module:i386 unity-gtk2-module:i386 \ unity-gtk2-module
1. Unzip
tar zxvf MI3.1_RCPL0014_Pro_BSP_Ver1.0_For_Baytrail_by_Advantech_20160601.tar.gz
2. How to build image
$cd MI3.1ProBSP_for_Baytrail_byAdvantech $make fs
3. How to deploy image to USB disk 1. Insert the USB flash drive into your Development Computer 2. ls /dv/sd? 3. cd $HOME/workspace/<YourProjectDirectory_prj> 4. Deploy the image to USB flash drive. Note: The deploy process takes about 15 minutes..
For Atom processor
sudo ./deploy.sh -u -f export/intel-baytrail-64-idp-idp-dist.tar.bz2 -d /dev/sd? -y; sync
For Intel Core processor sudo ./deploy.sh -u -f export/intel-haswell-64-idp-idp-dist.tar.bz2 -d /dev/sd? -y; sync
4. Modify the kernel configure by manual
1 Menu Config $make -C build linux-windriver.menuconfig 2 Rebuild $make -C build linux-windriver.rebuild 3 rebuild image $make fs
5. Build & install Tool-chain SDK
Build SDK: $ make export-sdk Install the SDK $ export/wrlinux-6.0.0.11-eglibc-x86_64-intel_x86_64-w rlinux-image-glibc-std-sdk.sh
6. Source the SDK environment:
source /opt/windriver/wrlinux/7.0-intel-baytrail-64/environment-setup-corei7-64-wrs-linux