This article illustrates how to install on a Ubuntu Linux PC the complete toolchain to cross compile the Linux Kernel, the Linux device drivers, the Linux applications, C and C++ applications and the boot loader AT91Bootstrap and derivates (CORE9G25Boot, AriaBoot).

I tested on a PC with Linux Ubuntu Version 13.04. If you are running Ubuntu 10.04 read this post.

Add a new Repository

Using the root privileges edit the /etc/apt/sources.list file on your Linux PC and add the following line at the end of the file:

# -- Emdebian cross toolchains
deb stable main

Now update the index of packages available on this new repository:

$ sudo apt-get update

Install the Cross Compilers, utilities, etc.

Install the GCC, G++ cross compilers and support programs by typing:

$ sudo apt-get install emdebian-archive-keyring
$ sudo apt-get install libc6-armel-cross libc6-dev-armel-cross
$ sudo apt-get install binutils-arm-linux-gnueabi
$ sudo apt-get install gcc-arm-linux-gnueabi
$ sudo apt-get install g++-arm-linux-gnueabi
$ sudo apt-get install uboot-mkimage
$ sudo apt-get install libncurses5-dev

Now you are ready to cross-compile on your PC all the source available for the CORE9G25 Boards based on ATMEL AT91SAM CPUs.

Documentation Terms of Use
The Acme Systems srl provides this Debian system development and user manual.
The origin of these doc came from the website:
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License

关注我们: 微博

销售电话: +86-755-29638421

Copyright @ 2014 to 2020 - 核风智能技术有限公司