Difference between revisions of "Building for BeagleBone"

From eLinux.org
Jump to: navigation, search
(cross compiler fro arm and start u-boot compiler process)
(compile mainline u-boot)
Line 22: Line 22:
  
 
= U-Boot =  
 
= U-Boot =  
Get:
 
  
 +
== Mainline U-boot ==
  
== Mainline U-boot ==
+
You can use the mainline u-boot for beaglebone.
 +
 
 +
'''Get:'''
 +
 
 +
$ git clone git://git.denx.de/u-boot.git
 +
 
 +
'''Clean:'''
 +
 
 +
$ armmake distclean
 +
 
 +
'''Configure for BeagleBone:'''
 +
 
 +
$ armmake am335x_evm_config
 +
 
 +
'''Build:'''
  
You can use the mainline u-boot for beaglebone.
+
$ armmake
  
 
= Mainline Kernel =
 
= Mainline Kernel =

Revision as of 16:58, 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

Mainline U-boot

You can use the mainline u-boot for beaglebone.

Get:

$ git clone git://git.denx.de/u-boot.git

Clean:

$ armmake distclean

Configure for BeagleBone:

$ armmake am335x_evm_config

Build:

$ armmake

Mainline Kernel