Difference between revisions of "Building for BeagleBone"

From eLinux.org
Jump to: navigation, search
m
m (Test your new U-Boot)
Line 45: Line 45:
 
== Test your new U-Boot ==  
 
== Test your new U-Boot ==  
  
To run this U-boot you will need a micro sdcard with the first partition as a
+
[[TODO]]
  
 
= Kernel =
 
= Kernel =

Revision as of 17:08, 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

Test your new U-Boot

TODO

Kernel

Mainline Kernel

TODO