Setting up build environment in Ubuntu for re-compiling AirOS
From Ubiquiti Wiki
Setting up build environment in Ubuntu for re-compiling AirOS
This Document will provide you the step by step procedure for getting your Build environment set for re-compiling your AirOS SDK
Step-1
- Download and Install Latest Version Ubuntu 9.04
Step-2
- Connect Ubuntu PC to the internet
Step-3
- Update the package index files using the following command
- apt-get update - This will update the repository details.
Step-4
- Install the following packages to get the system ready for Build
- Package Installation command
- Sharline :apt-get install sharutils
- fackroot :apt-get install fakeroot
- libz-dev :apt-get install libz-dev
- patch :apt-get install patch
- lzma :apt-get install lzma
- flex :apt-get install flex
- bison :apt-get install bison
Step-5
- Download Ubiquity SDK from the followin URL (Both SDK and Toolchain)
- http://www.ubnt.com/support/sdk.php
Step-6
- Install toolchain package using the following command
- dpkg i toolchain-mips-ls_0.1-1.deb
Step-7
- Uncompress the SDK files to a directory on your file system
Step-8
- Go to SDK directory and follow the Instructions in the file README.SDK to re-compile the source.
Note:
- All the commands require root privilege.
- In order to gain root privilege type sudo bash at the terminal window and key-in password for the current user to get root.
--Tpvijay 23:58, 15 September 2009 (UTC)