OpenWRT Node Firmware

From SOWNWiki
Jump to: navigation, search

Downloading

Our Node firmware tree can be found at github.com/sown/openwrt/tree/sown-2015-node-firmware

Latest stable pre-built images can be downloaded from https://github.com/sown/openwrt/releases

Building

To build this you'll need to install the dependencies, for ubuntu you can do this with:

sudo apt-get update
sudo apt-get install build-essential libssl-dev libncurses5-dev zlib1g-dev subversion


Now clone the source tree, selecting the node-firmware branch:

git clone -b sown-2015-node-firmware git@github.com:sown/openwrt.git sown-openwrt
cd sown-openwrt/

Now we select the config for the target. Current targets are 'meraki' and 'ar150'.

cp .config-<target> .config
make oldconfig

TBD - Update feeds - needs completing once sown trees are public. Stop here for now.

Now we build the firmware, this may take a while! You can accelerate the process by appending ' -j<num cpus+1>' to use more parallel jobs.

make

Flashing to Nodes

See the page for the appropriate node hardware:

Repository Structure

master - This tracks OpenWRT trunk ( git://git.openwrt.org/openwrt.git )

sown-meraki-r31360 - deprecated - This is the old meraki source tree

sown-2015-node-firmware - The current tree used for AR150 and Meraki SOWN node deployments

sown-dev-node-firmware - Development tree, patches from sown-2015-node-firmware on top of master

Updating master

Done semi-regularly to keep master up to date with upstream OpenWRT.

git checkout master
git pull
git remote add openwrt git://git.openwrt.org/openwrt.git
git pull -u openwrt master
git push