Index of /firmware/attitude_adjustment/12.09/rdaa-81/patches/
Name | Last Modified | Size | Type |
../ | | - | Directory |
[ Target patches ]
LAN Router 2.0 firmware target patches for Wistron RDAA-81 device - COMING SOON!
===========================================
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 Attitude Adjustment 12.09 sources:
--------------------------------------------------------------------------------------
user@buildmachine:~$ mkdir ~/openwrt-rdaa81/
user@buildmachine:~$ cd ~/openwrt-rdaa81/
user@buildmachine:~/openwrt-rdaa81$ svn checkout svn://svn.openwrt.org/openwrt/tags/attitude_adjustment_12.09
3.) Download and apply target patch:
------------------------------------
user@buildmachine:~/openwrt-rdaa81$ wget http://openwrt.dtech.hu/firmware/attitude_adjustment/12.09/rdaa-81/patches/rdaa-81-target-patches-lanrouter-2.0.tar.gz
user@buildmachine:~/openwrt-rdaa81$ tar -xzvf rdaa-81-target-patches-lanrouter-2.0.tar.gz
user@buildmachine:~/openwrt-rdaa81$ cp -R rdaa-81-target-patches-lanrouter-2.0/attitude_adjustment_12.09/* attitude_adjustment_12.09/
[ * OPTIONAL STEP * ]
If you can use pre-defined '.config' then ...
user@buildmachine:~/openwrt-rdaa81$ cp rdaa-81-target-patches-lanrouter-2.0/attitude_adjustment_12.09/.config attitude_adjustment_12.09/
4.) Update and install package feeds:
-------------------------------------
user@buildmachine:~/openwrt-rdaa81$ cd attitude_adjustment_12.09/
user@buildmachine:~/openwrt-rdaa81/attitude_adjustment_12.09$ ./scripts/feeds update -a
You will need to add scdp package because it is a dependency for CDP daemon.
user@buildmachine:~/openwrt-rdaa81/attitude_adjustment_12.09$ ./scripts/feeds install scdp
[ * OPTIONAL STEP * ]
Install all package feeds ...
user@buildmachine:~/openwrt-rdaa81/attitude_adjustment_12.09$ ./scripts/feeds install -a
... or just LuCI packages ...
user@buildmachine:~/openwrt-rdaa81/attitude_adjustment_12.09$ ./scripts/feeds install -a -p luci
5.) Configure your buildroot:
-----------------------------
user@buildmachine:~/openwrt-rdaa81/attitude_adjustment_12.09$ make defconfig
user@buildmachine:~/openwrt-rdaa81/attitude_adjustment_12.09$ make prereq
user@buildmachine:~/openwrt-rdaa81/attitude_adjustment_12.09$ make menuconfig
[ * OPTIONAL STEP * ]
If your board is overlocked by a modified loader, you will need to modify LZMA-loader:
File: '~/openwrt-rdaa81/attitude_adjustment_12.09/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/attitude_adjustment$ 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/attitude_adjustment/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.