Difference between revisions of "Building for BeagleBone"

From eLinux.org
Jump to: navigation, search
(Compilers for building for BeagleBone)
(cross compiler fro arm and start u-boot compiler process)
Line 2: Line 2:
  
 
Setting up cross-compile environment is the first and necessary step.
 
Setting up cross-compile environment is the first and necessary step.
 +
== Distro provided ==
 
The easier way is install the default compiler provided by your distribution.  
 
The easier way is install the default compiler provided by your distribution.  
  
Ubuntu : gcc-arm-linux-gnueabi
+
Ubuntu : [http://packages.ubuntu.com/precise/gcc-arm-linux-gnueabi gcc-arm-linux-gnueabi]
Arch Linux : arm-linux-gnueabi-gcc
+
 
Debian :
+
Arch Linux : [https://aur.archlinux.org/packages/arm-linux-gnueabi-gcc/ arm-linux-gnueabi-gcc]
Fedora :
+
 
 +
Debian : ??
 +
 
 +
Fedora : ??
 +
 
 +
Linux Mint : ??
 +
 
 +
* Tip: Do a alias in your environment: 'alias armmake='make -j'''N''' ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- ', where N is the number of processors cores plus one
 +
 
 +
== crosstool-NG ==
 +
[[TODO]]
 +
 
  
 
= U-Boot =  
 
= U-Boot =  
 +
Get:
 +
 +
 +
== Mainline U-boot ==
 +
 +
You can use the mainline u-boot for beaglebone.
  
 
= Mainline Kernel =
 
= Mainline Kernel =

Revision as of 16:38, 23 June 2014

Arm Compiler

Setting up cross-compile environment is the first and necessary step.

Distro provided

The easier way is install the default compiler provided by your distribution.

Ubuntu : gcc-arm-linux-gnueabi

Arch Linux : arm-linux-gnueabi-gcc

Debian : ??

Fedora : ??

Linux Mint : ??

  • Tip: Do a alias in your environment: 'alias armmake='make -jN ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- ', where N is the number of processors cores plus one

crosstool-NG

TODO


U-Boot

Get:


Mainline U-boot

You can use the mainline u-boot for beaglebone.

Mainline Kernel