Skip to content

Instantly share code, notes, and snippets.

@myrual
Created September 21, 2012 02:37
Show Gist options
  • Save myrual/3759455 to your computer and use it in GitHub Desktop.
Save myrual/3759455 to your computer and use it in GitHub Desktop.
ralink development tips
**system requirement
* get root password
sudo passwd root
* get DAYI of Chinese input
sudo apt-get install gcin
* get software package manager
sudo apt-get install synaptic*
* get the following LIBs for using "Synaptic package manager"
automake 1.11.1
libtool
libncurses5-dev
flex
bison
g++
zlib1g-dev
gawk
**Install Ralink SDK
*Ralink SDK menu
tar -jxvf SDKfile
*install toolchain
cp /sdk/toolchain/buildroot-gcc342.tar.bz2 /opt
cd /opt
tar -jxvf buildroot-gcc342.tar.bz2
ln -sf buildroot-gcc342 buildroot-gdb
*install LZMA utility
cd /RT288x_SDK/toolchain/lzma-4.32.0beta5#
./configure
make
make install
*install MKSQUAHSFS utility
patch /RT288x_SDK/toolchain/mksquash_lzma-3.2/squashfs3.2-r2/squashfs-tools/makefile
line31 +"-lz" in the end of line
cd /RT288x_SDK/toolchain/mksquash_lzma-3.2
make
make install
*make UBOOT
cd /Uboot
make distclean
make menuconfig
make
==> /Uboot/uboot.img
*make kernel
cd /RT288x_SDK/source
make distclean
make menuconfig
make dep
make
==>/RT288x_SDK/source/images/root_uImage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment