buildroot - PowerPoint PPT Presentation

About This Presentation
Title:

buildroot

Description:

buildroot. uClibc C library for developing for embedded Linux ... sparc. alpha. Requirements. Linux. gcc g (for Qtopia) GNU make. sed. bison. flex. autoconf ... – PowerPoint PPT presentation

Number of Views:228
Avg rating:3.0/5.0
Slides: 11
Provided by: johns540
Category:
Tags: buildroot

less

Transcript and Presenter's Notes

Title: buildroot


1
buildroot
  • CS-423
  • Dick Steflik

2
buildroot
  • uClibc C library for developing for embedded
    Linux
  • much smaller than GNU C
  • tools to make a cross-compilation tool chain and
    root file system for embedded systems using the
    uClibc library
  • buildroot and uClibc are developed and supported
    by Erik Anderson (codepoet.org)

3
Architectures Supported
  • AVR32
  • Power PC
  • MIPS
  • ARM
  • i386
  • Blackfin
  • sparc
  • alpha

4
Requirements
  • Linux
  • gcc g (for Qtopia)
  • GNU make
  • sed
  • bison
  • flex
  • autoconf
  • ncurses
  • zlib
  • libaci
  • lzo

5
Steps
  • Download/unpack buildroot from Atmel (AVR32)
  • http//buildroot.uclibc.org (for other
    architectures)
  • Atmel version includes setups for Atmel
    development boards and board specific setup.c
    files
  • Make sure your system has the required software
    packages or youll end up starting over several
    time until everything is in place.

6
First time
  • go to the buildroot directory
  • make atngw100_defconfig this downloads the
    boards default configuration
  • make source this will download the files, you
    should now have everything you need to build the
    default file systems (root and user)
  • this step can take a couple of hours
  • make this will start the build process and may
    take a more than an hour.

7
more.
  • To change the configuration use make
    menuconfig
  • this will present you with a text based menu
    system to modify the configuration files for the
    build
  • name the project with something relavant
  • upon exiting menuconfig your are ready to do a
    build
  • after the build the file systems will be in
    binaries/project_name/

8
Directories (before build)
  • Config.in/
  • .defconfig/
  • docs/
  • Makefile
  • package/
  • target/
  • TODO
  • tool/chain

9
Directories (after build)
  • 6 additional directories
  • binaries/
  • build_avr32_nopfu/
  • include/
  • project_build_avr32_nopfu/
  • src/
  • toolchain_build_avr32_nopfu/

10
Binaries
  • atngw100-linux-kernel-version
  • the linux kernel you just built, also included in
    the rootfs
  • rootfs-avr32-jffs2-root
  • rootfs targeted for jffs2 for flash (can also be
    targetted to ext2 for booting from MMC/SD card
  • rootfs-avr32-jffs2-usr
  • the user file system in jffs2 format for flash
  • u-boot.bin
  • u-boot binary, must be loaded via
    avr32programm/JTAGICE
Write a Comment
User Comments (0)
About PowerShow.com