X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/589c348e65185bf4cd076bcf3e4fd6b099cbad44..a4cd93cbb3d6368a0a82ba15da92688cb9815060:/openwrt/docs/buildroot-documentation.html diff --git a/openwrt/docs/buildroot-documentation.html b/openwrt/docs/buildroot-documentation.html index 5a8bb7afe..ede3796a6 100644 --- a/openwrt/docs/buildroot-documentation.html +++ b/openwrt/docs/buildroot-documentation.html @@ -15,9 +15,9 @@

OpenWrt Buildroot

-

Usage and documentation by Felix Fietkau, based on uClibc Buildroot +

Usage and documentation by Felix Fietkau and Waldemar Brodkorb, based on uClibc Buildroot documentation by Thomas Petazzoni. Contributions from Karsten Kruse, - Ned Ludd, Martin Herren.

+ Ned Ludd, Martin Herren. OpenWrt Kernel Module Creation Howto by Markus Becker.

Last modification : $Id$

@@ -37,6 +37,14 @@
  • Location of downloaded packages
  • Extending OpenWrt with more Software
  • Ressources
  • +
    +
  • About OpenWrt Kernel Module Compilation
  • +
  • Enable the kernel options
  • +
  • Create a buildroot option
  • +
  • Define the binary files for the kernel module
  • +
  • Specify the ipkg control file
  • +
  • Compile the kernel module
  • +

    About OpenWrt Buildroot

    @@ -80,17 +88,25 @@ gcc, binutils, uClibc and all the tools by hand. Of course, doing so is possible. But dealing with all configure options, with all problems of every gcc or binutils - version it very time-consuming and uninteresting. OpenWrt Buildroot automates this + version is very time-consuming and uninteresting. OpenWrt Buildroot automates this process through the use of Makefiles, and has a collection of patches for each gcc and binutils version to make them work - on the MIPS architecture of most Broadcom based Wireless Routers.

    + on the MIPS architecture of most Wireless Routers.

    Obtaining OpenWrt Buildroot

    -

    OpenWrt Buildroot is currently available as experimental snapshots

    - -

    The latest snapshot is always available at http://openwrt.org/downloads/experimental/, +

    OpenWrt Buildroot is available via CVS - Concurrent Version System. + For any kind of OpenWrt development you should get the latest version from cvs via:

    +
    + $ cvs -d:pserver:anonymous@openwrt.org:/openwrt co openwrt
    +
    +

    If you only like to create your own custom firmware images and pakages we + strongely suggest to use the CVS branch of the stable version (whiterussian): +

    +
    + $ cvs -d:pserver:anonymous@openwrt.org:/openwrt co -rwhiterussian openwrt
    +
    +

    Using OpenWrt Buildroot

    @@ -128,8 +144,8 @@
  • squashfs
  • jffs2 contains a writable root filesystem, which will expand to - the size of your flash image. Note that you if you use the generic firmware - Image, you need to pick the right image for your Flash size, because of different + the size of your flash image. Note: if you use the generic firmware image, you + need to pick the right image for your flash size, because of different eraseblock sizes.

    squashfs contains a read-only root filesystem using a modified @@ -140,25 +156,13 @@

    Customizing the target filesystem

    -

    There are two ways to customize the resulting target filesystem:

    - - +
  • You can customize the target filesystem skeleton, available under + package/base-files/default/. You can change + configuration files or other stuff here. However, the full file hierarchy + is not yet present, because it's created during the compilation process. + So you can't do everything on this target filesystem skeleton, but + changes to it remains even when you completely rebuild the cross-compilation + toolchain and the tools.

    Customizing the Busybox configuration

    @@ -196,7 +200,7 @@ configuration, and the latter is used if you have selected locale support.
  • -
  • Run the compilation again
  • +
  • Run the compilation again.
  • @@ -231,11 +235,13 @@
  • target (in the target directory) contains the Makefiles and associated files for software related to the generation of - the target root filesystem image. Four types of filesystems are supported + the target root filesystem image and the linux kernel for the different + system on a chip boards, used in the Wireless Routers. + Two types of filesystems are supported : jffs2 and squashfs. -

    Each directory contains at least 3 files :

    +

    Each directory contains at least 2 files :