BRN:Dev:Toolchain

From
Revision as of 19:36, 22 February 2006 by Jkm (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 cat svn://merkur/brn/platform/wgt634u/do_dev_env.sh > do_dev_env.sh
sh do_dev_env.sh

This error should be fixed. If anybody can confirm this, write an email to jmueller at informatik dot hu minus berlin de.

Packages