Difference between revisions of "Compile Dragino Firmware"

From Wiki for Dragino Project
Jump to: navigation, search
(Created page with "Checkout SVN: svn co http://svn.dragino.com/openwrt openwrt Install compile environment . ./install.sh dragino Then cd dragino make -j8")
 
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
  cd dragino
 
  cd dragino
 
  make -j8
 
  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

Latest revision as of 08:45, 17 April 2012

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