NSLU2-Linux
view · edit · print · history

Introduction

OpenWRT? 10.03 (Backfire) packages for Broadcom BRCM 47xx based processors (Asus wl500gx, WL500gp?, Linksys WRT54G?...) with 2.6 Linux kernel.

Building from sources

cd optware/trunk
make openwrt-brcm47xx-target
cd openwrt-brcm47xx
make directories
make toolchain
make

This should build packages available for download if http server feed is provided.

It is also possible to create unstable build from OpwnWRT? trunk. In that case one should use firmware built by toolchain itself. Prepare toochain in the following way:

cd optware/trunk
make openwrt-brcm47xx-target
mv openwrt-brcm47xx-unstable
cd openwrt-brcm47xx-unstable
Add OPENWRT-BRCM47XX_DISTRIBUTION = unstable on top of Makefile
make directories toolchain 
make

Installation

OpenWrt uses opkg that is the same as ipkg provided by Optware. Instalation of ipkg package should be manual with commands like

cd /tmp
wget http://my.site/packages/ipkg-opt_0.99.163-10_mipsel.ipk
tar xvzf ipkg-opt_0.99.163-10_mipsel.ipk
cd /
tar xvzf /tmp/data.tar.gz

Now edit /opt/etc/ipkg.conf and add line to point to your server with packages:

src/gz openwrt-brcm47xx http://my.site/packages

Then usual ipkg update and ipkg install should work.

Many packages require basic libraries from OpenWRT? for proper work. Consider adding them with

opkg update
opkg install libgcc libpthread librt libstdcpp

One can also use -d ram and then copy this shared libraries to /opt/lib if flash space is limited!

view · edit · print · history · Last edited by oleo.
Originally by oleo.
Page last modified on August 09, 2010, at 07:55 AM