Difference between revisions of "Building for BeagleBone"

From eLinux.org
Jump to: navigation, search
(compile mainline u-boot)
(kernel section, subsection mainline kernel)
Line 43: Line 43:
 
$ armmake
 
$ armmake
  
= Mainline Kernel =
+
= Kernel =
 +
 
 +
== Mainline Kernel ==

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

Kernel

Mainline Kernel