
SB52 Development Platform
4
1Overview
This tutorial guides new developers how to build Yocto Linux with the MTK i500 based
development platform –SB52 board. It provides manuals for:
•Setting up a Linux® OS build machine.
•Building SB52 Yocto Linux images.
•Flashing the images to SB52 development board.
2Setting up your computer
To build the Yocto Linux source files, you need a 64-bit version of Ubuntu (18.04 is recommended.
But compatible with 16.04).
After installing the computer running Linux OS, check whether all the necessary packages are
installed.
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-
multilib build-essential chrpath socat cpio python python3 python3-pip
python3-pexpect xz-utils debianutils iputils-ping python3-git python3-
jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm g++ libstdc++6
lib32stdc++6 libpulse-dev libevent-dev ninja-build rpm2cpio libswitch-
perl
gn tools install
$ sudo apt-get install libssl-dev
$ wget -O gn http://storage.googleapis.com/chromium-
gn/3fd43e5e0dcc674f0a0c004ec290d04bb2e1c60e
$ sudo chmod 777 gn
Put the gn in build server /usr/bin/
Install adb and Fastboot
$ sudo apt-get install android-tools-adb android-tools-fastboot
Note: If your Ubuntu use default dash shell, please install bash shell to build image.
3Building the Yocto Linux for SB52
3.1Downloading the SB52 source
Please contact your Innocomm contact window to download the SB52 source code.
3.2Extracting the SB52 source
After you have set up a computer running Linux OS, extract the SB52 source tar by using the
following commands:
$ cd ~ (or any other directory you like)
$ unzip sb52-yocto.33.tar.xz.zip (need password)
$ tar -xJvf sb52-yocto.33.tar.xz
3.3Building Yocto Linux images
Full build
$ export TEMPLATECONF=${PWD}/meta/meta-innocomm/conf/base/sb52
$ source meta/poky/oe-init-build-env