Building for BeagleBone

From eLinux.org
Revision as of 16:59, 23 June 2014 by Tanure (talk | contribs) (kernel section, subsection mainline kernel)
Jump to: navigation, search

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