Skip to content

OpenWrt Compilation

Drasko DRASKOVIC edited this page Mar 15, 2015 · 9 revisions

OpenWrt for WeIO - Compilation Instructions

  • Clone the OpenWrt repo and switch to branch 'weio'
git clone https://github.com/nodesign/openwrt
cd openwrt
git checkout weio
  • Clone the WeIO repo and switch to branch 'next'
git clone https://github.com/nodesign/weio.git
cd weio
git checkout next
  • Copy and run installWeio.sh

Copy https://github.com/nodesign/weio/blob/master/openWrt/installWeio.sh to the OpenWrt root directory, and from that directory run:

sh ./installWeio.sh <path_to_weio>

Where <path_to_weio> is the relative path to the checked out https://github.com/nodesign/weio.git

  • Run make menuconfig and exit immediately
make menuconfig

This is important to avoid the warning that your configuration is out of sync.

  • Compile the OpenWrt
make -j 4
  • Copy the update to an SD card Navigate to the folder openwrt/bin and look for a file openwrt-ar71xx-generic-weio-squashfs-sysupgrade.bin. Copy it to the SD card and rename it to weio_recovery.bin.

  • Update the board Plug the SD card to the board, and hold the Soft Reset button while applying power via USB. U-boot will automatically update the board with the newest firmware.