Building up u-boot & kernel image – Avalue REV-SA01 User Manual
Page 24
REV-SA01 User
’s Manual
24 REV-SA01
User’s Manual
3.1 Download Source code for building Ubuntu image file
Please make a folder for storing the source code first then typing the command below to get
started for the source code download.
$ Sudo apt-get install git
$ git clone [email protected]:freescale/core.git -b SMARC
About password, please check with Avalue Sales or PM to get it.
3.2 Set up a Linux host for building U-boot & Kernel Image
We support to compile u-boot & Kernel on Ubuntu 12.04 (64bit version), other version of
Ubuntu is not currently supported and may have built issues.
Install host packages needed by building code. This document assumes you are using
Ubuntu. Not a requirement, but the packages may be named differently and the method of
installing them may be different.
sudo apt-get install ia32-libs
sudo apt-get install uboot-mkimage
3.3 Building up U-boot & Kernel image
You can follow up the steps below to compile the u-boot & Kernel after downloading the
source code.
1.Please move to folder
”core” then start to compile both the u-boot & Kernel.
..
~/$ cd core/
2.Type the command to compile both u-boot & Kernel.
$ make rev-sa01
–j number
(-j number means multi jobs for more efficiant building, you can add it according to your
CPU performance of PC, e.g. mine is
”–j16” as below ).