Compile Dragino Firmware

From Wiki for Dragino Project
Revision as of 08:45, 17 April 2012 by Edwin1123 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Checkout SVN:

svn co http://svn.dragino.com/openwrt openwrt

Install compile environment

. ./install.sh dragino

Then

cd dragino
make -j8

The firmware: openwrt-atheros-root.squashfs openwrt-atheros-vmlinux.lzma can be found in the directory dragino/bin/atheros/ after sucessfully complination.

For Web update, run:

sh ./scripts/combined-image.sh ./bin/atheros/openwrt-atheros-vmlinux.lzma \
 ./bin/atheros/openwrt-atheros-root.squashfs ./bin/atheros/openwrt-atheros-combined.img

to get the combined image: openwrt-atheros-combined.img