http://wiki.openwrt.org/zh-cn/doc/howto/usb.storage
http://www.right.com.cn/forum/thread-79984-1-1.html
http://www.right.com.cn/forum/forum....read&tid=77026
http://wiki.openwrt.org/doc/howto/ob...mware.generate
sudo apt-get install gcc g++ binutils patch bzip2 flex bison make autoconf gettext texinfo unzip sharutils subversion libncurses5-dev ncurses-term gawk zlib1g-dev gitmake git-core
mkdir openwrt
cd openwrt
svn co svn://svn.openwrt.org/openwrt/trunk
cd trunk
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
Target System 选(Atheros AR7xxx/AR9xxx)
Target Profile 选(TP-LINK TL-WR703N)
Package features选umontu
Base system去掉dnsmasq和firewall,选上librt、libpthread
luci里面第一项选luci,Translate里选上luci-i18n-chinese
Kernel modules是大头
I2C support里选上kmod-i2c-core
other里选kmod-input-core
uѕb里选kmod-uѕb-core、kmod-uѕb-ohci、kmod-uѕb-storage、kmod-uѕb-storage-extras、kmod-uѕb-uhci、
kmod-uѕb-video、kmod-uѕb2
video里选kmod-video-core、kmod-video-uvc
./mipsel-linux-gcc -Wall -o hello hello.c