Index of /firmware/backfire/10.03.1/rdaa-81/patches/
[ Target patches ]
LAN Router firmware target patches for Wistron RDAA-81 device
===========================================
Firmware compilation howto (Debian example)
===========================================
1.) Login as single user (not root!) and install subversion and build-essential packages:
-----------------------------------------------------------------------------------------
user@buildmachine:~$ sudo apt-get install subversion build-essential
2.) Create the build directory and download OpenWrt Backfire 10.03.1 sources:
-----------------------------------------------------------------------------
user@buildmachine:~$ mkdir ~/openwrt-rdaa81/
user@buildmachine:~$ cd ~/openwrt-rdaa81/
user@buildmachine:~/openwrt-rdaa81$ svn checkout svn://svn.openwrt.org/openwrt/tags/backfire_10.03.1
3.) Download and apply target patch:
------------------------------------
user@buildmachine:~/openwrt-rdaa81$ wget http://openwrt.dtech.hu/firmware/backfire/10.03.1/rdaa-81/patches/rdaa-81-target-patches-lanrouter-1.1.tar.gz
user@buildmachine:~/openwrt-rdaa81$ tar -xzvf rdaa-81-target-patches-lanrouter-1.1.tar.gz
user@buildmachine:~/openwrt-rdaa81$ cp -R rdaa-81-target-patches-lanrouter-1.1/backfire_10.03.1/* backfire_10.03.1/
[ * OPTIONAL STEP * ]
If you can use pre-defined '.config' then ...
user@buildmachine:~/openwrt-rdaa81$ cp rdaa-81-target-patches-lanrouter-1.1/backfire_10.03.1/.config backfire_10.03.1/
4.) Update and install package feeds:
-------------------------------------
user@buildmachine:~/openwrt-rdaa81$ cd backfire_10.03.1/
user@buildmachine:~/openwrt-rdaa81/backfire_10.03.1$ ./scripts/feeds update -a
[ * OPTIONAL STEP * ]
Install all package feeds ...
user@buildmachine:~/openwrt-rdaa81/backfire_10.03.1$ ./scripts/feeds install -a
... or just LuCI packages ...
user@buildmachine:~/openwrt-rdaa81/backfire_10.03.1$ ./scripts/feeds install -a -p luci
5.) Configure your buildroot:
-----------------------------
user@buildmachine:~/openwrt-rdaa81/backfire_10.03.1$ make defconfig
user@buildmachine:~/openwrt-rdaa81/backfire_10.03.1$ make prereq
user@buildmachine:~/openwrt-rdaa81/backfire_10.03.1$ make menuconfig
[ * OPTIONAL STEP * ]
If your board is overlocked by a modified loader, you will need to modify LZMA-loader:
File: '~/openwrt-rdaa81/backfire_10.03.1/target/linux/atheros/image/lzma-loader/src/misc-lzma.c'
- [ Original line #83 ] ------------------------------------------
#define CPUFREQ 180 /* Default: 180 MHz */
+ [ Modified line #83 example for 240 MHz CPU frequency ] --------
#define CPUFREQ 240 /* Default: 180 MHz */
6.) Start the compilation:
--------------------------
user@buildmachine:~/openwrt-rdaa81/backfire_10.03.1$ make
[ * OPTIONAL STEP * ]
Under the compilation you can drink a coffee, write a book, etc.
7.) Your firmware is done and ready for flashing:
-------------------------------------------------
You can find it at '~/openwrt-rdaa81/backfire_10.03.1/bin/openwrt-atheros-rdaa-81-squashfs.bin'
If you can flash it into your device over TFTP, you should rename it to 'zImage'.
[ * NOTICE * ]
The builder will create an image for 'Ovislink WLA-5000AP' too, but it isn't tested.