BRN:Dev:Toolchain

From
Revision as of 09:50, 25 January 2006 by Jkm (talk | contribs)
Jump to navigation Jump to search

OpenWGT Toolchain

Getting Started

You need a Linux system with approximately 1GB free disk space to download and compile the OpenWRT/OpenWGT source code and the toolchain.

What is a toolchain?

To build a Linux system for the Broadcom CPU, you need several tools that are not part of your normal Linux distribution. To obtain those tools, you have to download their source code and compile them on your Linux system. All these tools together make up the toolchain. Note, that the toolchain programs run on your local (Pentium-based) computer; they are only needed to build the OpenWRT firmware, but they will not be included in the firmware itself!

Quick Startup

  • Mathias' method:
svn co svn://sarsvn.informatik.hu-berlin.de/openwgt-dev
cd openwgt-dev/buildroot
make toolchain

At this point you should have a working toolchain with binaries at build_mipsel/staging_dir/bin/

  • Jens' method (checks out some sources and builds Mathias' toolchain):
svn co svn://merkur/brn/platform/wgt634u/do_dev_env.sh
sh do_dev_env.sh

This error should be fixed.

Packages