Construction of ARM development environment under Linux

Source: Internet
Author: User

My system environment: Linux Ubuntu 3.8.0-35-generic #50-ubuntu SMP Tue Dec 3 01:25:33 UTC a i686 i686 i686 gnu/linux


1, installation SkyEye

     sudo apt-get install SkyEye
SKyeye-h can see the SkyEye version number is 1.2.5

can also go to http://sourceforge.jp/projects/sfnet_skyeye/releases/download SkyEye source code, because I system problem source installation process encountered some problems, the latest version of the SkyEye has not been installed successfully.

Installing skyeye-1.3.2_rc1.tar.gz

./configure

Make Lib

Make

sudo make Install_lib

sudo make

Adding/opt/skyeye/bin to the path

2. Installing arm-elf-* Tools

Download Tool http://www.uclinux.org/pub/uClinux/arm-elf-tools/, Kit is packaged with makeself, you can run the installation directly.

#sudo Sh./arm-elf-tools-20030314.sh

The following error occurred

Tail:cannot Open ' +43 ' for reading:no such file or directory

Gzip:stdin:not in gzip format
Tar:this does not look like a tar archive
Tar:exiting with failure status due to previous errors

Modification Method:

Open the file with vim and put the code on line 39th:
Tail +${skip} ${script} | Gunzip | Tar xvf-
Change to the following:
Tail-n +${skip} ${script} | Gunzip | Tar xvf-
Empty line at the end of the file

To see if the installation was successful: #arm-elf-gcc-v

3. Installing arm-linux-* Tools

Download Tool http://arm9.net/download.asp, package is already compiled, just unzip and join the path can be used.

Unzip package # tar ZXVF arm-linux-gcc-4.4.3-20100728.tar.gz
/usr/local# sudo mkdir arm-linux
/usr/local/arm-linux# Cp-avr ~/opt/friendlyarm/toolschain/4.4.3.
#sudo Vim/etc/profile
Export path= $PATH:/usr/local/arm-linux/4.4.3/bin
#source/etc/profile


These are the tools required for the lab, and arm-elf-* is used to compile uclinux,arm-linux-* for the purpose of compiling arm Linux.


Test SkyEye:

skyeye-1.3.5_rc1/testsuite/arm_hello$ skyeye-e Arm_hello

Other use cases may not work because the SkyEye version is two low.


Construction of ARM development environment under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.