Ubuntu配置上位机Blackfin开发环境手记
——– 本文档适合使用Ctrl+F 搜索关键字 ————–
——– It‘s more convenient to this message by searching key word with Ctrl+F ——-
My note for configuring the Software Development Environment(SDE) for TLL board on Ubuntu 12.04
Ubuntu配置上位机Blackfin开发环境手记:
[参考]http://blog.csdn.net/cp1300/article/details/8205282
【Section 0: Working Aim 工作目的】
现在手里有一个嵌入式开发板,搭载的是 AnalogDevices 公司的 Blackfin527 Processor,预装板载Uclinux操作系统。现在要配置上位机Linux/Ubuntu12.04 的开发环境,包括BlackfinToolchain,Eclipse开发环境,和Library.
【Section1: Install Toolchain】
Install Blackfin Toolchain
Refer to the Note after this section if you meet some issueduring this installation.
1.1 Package Installation (recommended)
l Get the latest Blackfin Toolchain from ADI
l Current up to date version is: 2011R1-RC4
l Example download command:
wget http://blackfin.uclinux.org/gf/download/frsrelease/531/9508/blackfin-toolchain-2011R1-RC4.i386.rpm
· Check if a previous toolchain is already installed
· If so, remove old tool chain using rpm -e …
rpm -qa blackfin-toolchain\*
· Install Toolchain using RPM.
· Note: If a previous toolchain is installed, you may need touninstall the previous toolchain see above
rpm-ivh blackfin-toolchain-*
More details on toolchain installation can be found atADI’s installation wiki entry.
1.2 Source Installation (advanced)
· Prequisites
yuminstall automake autoconf ncurses-devel zlib-devel texinfo
· set desired version
setVERSION=2011R1-RC2
· Get the latest Version of the GNU toolchain
svncheckout svn://sources.blackfin.uclinux.org/toolchain/tags/$VERSION/
· Compile and Install
cd bfin_toolchain.$VERSION/buildscript/ > ./BuildToolChain -o<COMPILER_NSTALLATION_DIR>
Note: 这里要注意的是:
1.ADIoffers serious packages of toolchain of one version for different usages. Youshould select which one is needed. I downloaded the 3 packages: