Index of /firmware/attitude_adjustment/12.09-rc1/rdaa-81/patches/

NameLast ModifiedSizeType
../ -  Directory
rdaa-81-target-patches-lanrouter-2.0-rc1.tar.gz2012-Dec-12 12:21:4037.4Kapplication/x-tgz
[ 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 Attitude Adjustment 12.09-rc1 sources:
------------------------------------------------------------------------------------------

 user@buildmachine:~$ mkdir ~/openwrt-rdaa81/
 user@buildmachine:~$ cd ~/openwrt-rdaa81/
 user@buildmachine:~/openwrt-rdaa81$ svn checkout --revision=34185 svn://svn.openwrt.org/openwrt/branches/attitude_adjustment

3.) Download and apply target patch:
------------------------------------

 user@buildmachine:~/openwrt-rdaa81$ wget http://openwrt.dtech.hu/firmware/attitude_adjustment/12.09-rc1/rdaa-81/patches/rdaa-81-target-patches-lanrouter-2.0-rc1.tar.gz
 user@buildmachine:~/openwrt-rdaa81$ tar -xzvf rdaa-81-target-patches-lanrouter-2.0-rc1.tar.gz
 user@buildmachine:~/openwrt-rdaa81$ cp -R rdaa-81-target-patches-lanrouter-2.0-rc1/attitude_adjustment/* attitude_adjustment/

[ * OPTIONAL STEP * ]

If you can use pre-defined '.config' then ...

 user@buildmachine:~/openwrt-rdaa81$ cp rdaa-81-target-patches-lanrouter-2.0-rc1/attitude_adjustment/.config attitude_adjustment/

4.) Update and install package feeds:
-------------------------------------

 user@buildmachine:~/openwrt-rdaa81$ cd attitude_adjustment/
 user@buildmachine:~/openwrt-rdaa81/attitude_adjustment$ ./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$ ./scripts/feeds install scdp

[ * OPTIONAL STEP * ]

Install all package feeds ...

 user@buildmachine:~/openwrt-rdaa81/attitude_adjustment$ ./scripts/feeds install -a

... or just LuCI packages ...

 user@buildmachine:~/openwrt-rdaa81/attitude_adjustment$ ./scripts/feeds install -a -p luci

5.) Configure your buildroot:
-----------------------------

 user@buildmachine:~/openwrt-rdaa81/attitude_adjustment$ make defconfig
 user@buildmachine:~/openwrt-rdaa81/attitude_adjustment$ make prereq
 user@buildmachine:~/openwrt-rdaa81/attitude_adjustment$ 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/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.
lighttpd/1.4.49 (win64)