1. Build Environment: 
		Download Ubuntu 8.10 from http://www.ubuntu.com/, then install.
    
2. Make sure you can connect to the Internet.
	 Use the following command to install packages;
	 	
		apt-get -y --force-yes update
		apt-get -y --force-yes install gawk
		apt-get -y --force-yes install gcc 
		apt-get -y --force-yes install zlib1g-dev
		apt-get -y --force-yes install sharutils
		apt-get -y --force-yes install libc6-dev
		apt-get -y --force-yes install libncurses5  
 		apt-get -y --force-yes install libncurses5-dbg
 		apt-get -y --force-yes install libncurses5-dev
 
3. Prepare for toolchain:
		Copy toolchain/TEW-654TR-toolchain.tgz to /opt 
		and using command "tar -jxvf TEW-654TR-toolchain.tgz" untar it.
	   
2. Put TEW-634GRU-GPL.tgz under /home 
		and using command "tar -jxvf TEW-654TR-GPL.tgz" untar it.
      
5. In /home/AthSDK using command "chmod 777 -R ./" to change file access permission.

7. Then type "make 2>&1 | tee makelog.log "

8. After building finished, 
	you can find TEW-654TR_image.bin in /home/AthSDK/image, 
	    
9. You can upgrade device with "TEW-654TR_image.bin".