Building for BeagleBone
Contents
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
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