Compile Dragino Firmware

From Wiki for Dragino Project
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