2013年8月29日 星期四

Build OpenWrt for TL-MR3020

你應該跟著“打” 就可以成功騙出給TL-MR3020 用的image.

You need a PC running Linux, I used Linux Mint 15, you may use Ubuntu.


1. Setup the build environment, install required packages for Linux

#sudo apt-get install subversion libncurses5-dev zlib1g-dev gawk git g++


2. Download OpenWrt Source code, I get the version 32786



3. Update the source code

#cd trunk
#./scripts/feeds update -a
#./scripts/feeds install -a

then you should see
   Checked out revision 9676.
   Create index file './feeds/luci.index'
   Collecting package info: done

4. Config the image

#make menuconfig

In the Target System, choose Atheros AR7xxx/AR9xxx

5. build the image

#make

then you can find the image file in "trunk/bin/ar71xx"