Preparation, Installing toolchain, Building bsp source 4.1.1. preparation – IBASE IB113 User Manual

Page 33

Advertising
background image

Copyright © 2013 IBASE Technology Inc. All Rights Reserved.

33

IBASE Technology Inc.


4. BSP User Guide ( for advanced software engineer only )

This Chapter is an example only, and it is mainly for advanced SW engineers to build the image
for IBASE ARM PCB. Any other modification, new device or driver should be handled carefully.

4.1. Building BSP Source

4.1.1. Preparation

Suggested Host Platform: Ubuntu 10.04, 12.04, 14.04, x86 and x64 version

Install necessary packages before build:

apt-get install build-essential uboot-mkimage ia32-libs

Note: ** To simplify build process, please run build/installation with root on your x86 host PC.
**

4.1.2. Installing Toolchain

** Before download the toolchain and BSP code, please install xz-utils to unpackage. **

Download and extract freescale toolchain (gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.xz)

# assume your toolchain file is located at root home dir,
gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.xz” file in “Downloads” folder:

** read words is your command **

sudo su

cd ~

mkdir -p ~/IB113_BSP ~/IB113_BSP/linux

cd ~/IB113_BSP/linux

tar Jxf gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.xz

zetta@u1004x64:~$

sudo su

[sudo] password for zetta:

root@u1004x64:/home/zetta#

mkdir

–p ~/IB113_BSP/ ~/IB113_BSP/linux

root@u1004x64:/home/zetta#

tar Jxf Downloads/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.xz -C

~/IB113_BSP/linux/

root@u1004x64:/home/zetta#

cd ~

root@u1004x64:~# ls

–la IB113_BSP/linux/

lrwxrwxrwx 1 root root 65 11 月 3 11:19

fsl-linaro-toolchain

->

gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain

drwxr-xr-x 3 root root 4096 11 月 3 11:19

gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12

Advertising