Difference between revisions of "Creating a RFS with Buildroot"

From DAVE Developer's Wiki
Jump to: navigation, search
m (Introduction)
(Getting Buildroot)
Line 35: Line 35:
 
* git clone git://git.buildroot.net/buildroot
 
* git clone git://git.buildroot.net/buildroot
 
* git clone http://git.buildroot.net/git/buildroot.git (Use this if you're behind a firewall blocking git)
 
* git clone http://git.buildroot.net/git/buildroot.git (Use this if you're behind a firewall blocking git)
 +
 +
The following is the project directory tree:
 +
 +
<pre>
 +
.
 +
├── arch
 +
├── board
 +
├── boot
 +
├── CHANGES
 +
├── Config.in
 +
├── Config.in.legacy
 +
├── configs
 +
├── COPYING
 +
├── docs
 +
├── fs
 +
├── linux
 +
├── Makefile
 +
├── Makefile.legacy
 +
├── package
 +
├── support
 +
├── system
 +
└── toolchain
 +
</pre>
  
 
= Configuring Buildroot =
 
= Configuring Buildroot =
  
 
== Setting up the external toolchain ==
 
== Setting up the external toolchain ==

Revision as of 11:39, 9 January 2013

Info Box
Tux.png Applies to Linux
Naon am387x-dm814x.png Applies to Naon

Introduction[edit | edit source]

Buildroot is a set of scripts and patches for the creation of a cross-compilation toolchain as well as the creation of a complete root file system. Buildroot provides:

  • support for prebuilt or external toolchains
  • configuration through menuconfig
  • lots of available libraries, tools, packages and utilities
  • support for all the major filesystems (JFFS2, UBIFS, CRAMFS, ...)
  • uClibc, glibc, eglibc generation, or use of the libc from the external toolchain
  • easy customization through Makefiles

References[edit | edit source]

Getting Buildroot[edit | edit source]

Buildroot releases can be downloaded from http://buildroot.net/downloads/

Daily Snapshots of the latest Buildroot source tree can be downloaded from http://buildroot.uclibc.org/downloads/snapshots/

The source tree can be browsed online: http://git.buildroot.net/buildroot/ and a copy of the repository can be grabbed with the following commands:

The following is the project directory tree:

.
├── arch
├── board
├── boot
├── CHANGES
├── Config.in
├── Config.in.legacy
├── configs
├── COPYING
├── docs
├── fs
├── linux
├── Makefile
├── Makefile.legacy
├── package
├── support
├── system
└── toolchain

Configuring Buildroot[edit | edit source]

Setting up the external toolchain[edit | edit source]