Firmware compiling 1.9.2.7 rtn - ovpet/wl500g GitHub Wiki
1. Required software
- Linux with the following packages installed
- standard compilation software
- libncurses-dev
- gawk
- g++
- flex
- bison
- zlib development
- git
2. Download the additional tools/sources
- Toolchain hndtools-mipsel-uclibc-4.6.4
3. Unpack the archives and prepare the building tree
-
Unpacking (replace the path /whatever-you-want with the one, where your building tree will be located),
mkdir -p /opt/brcm
tar -C /opt/brcm -jxvf hndtools-mipsel-uclibc-4.6.4-K26-r5128.tar.bz2
ln -sf /opt/brcm/hndtools-mipsel-uclibc-4.6.4-K26 /opt/brcm/hndtools-mipsel-uclibc
-
Checking out firmware sources
git clone http://github.com/wl500g/wl500g.git /whatever-you-want/broadcom/src
4. Building
-
Preparation
$ cd /whatever-you-want/broadcom/src/gateway
$ make config
-
Model selection
- select one or more models from Router Models menu
- exit & save new configuraton
-
Compiling
$ cd /whatever-you-want/broadcom/src/gateway
$ make
$ make install
-
Firmware image and extra kernel modules resides under /whatever-you-want/broadcom/src/gateway/mipsel-uclibc/
- Mostly precision update also possible, but it requires knowledge of development tools such as patch, make etc., and they cannot be described in this HowTo.