X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/589c348e65185bf4cd076bcf3e4fd6b099cbad44..b2af81841f59dee044c98a808b3c001bcd701854:/openwrt/docs/buildroot-documentation.html diff --git a/openwrt/docs/buildroot-documentation.html b/openwrt/docs/buildroot-documentation.html index 5a8bb7afe..d23763987 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 SVN aka subversion. + For any kind of OpenWrt development you should get the latest version from svn via:

    +
    + $ svn co https://svn.openwrt.org/openwrt/trunk/
    +
    +

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

    +
    + $ svn co https://svn.openwrt.org/openwrt/branches/whiterussian/
    +
    +

    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 @@ -152,7 +168,7 @@ tools or packages, these changes will be lost.

  • Customize the target filesystem skeleton, available under - target/default/target_skeleton/. You can customize + package/base-files/default/. You can customize 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 @@ -196,7 +212,7 @@ configuration, and the latter is used if you have selected locale support.
  • -
  • Run the compilation again
  • +
  • Run the compilation again.
  • @@ -231,11 +247,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 :