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
原文參考
http://wiki.openwrt.org/zh-cn/doc/howto/build
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)
1.Base system :省空間所以去掉 dnsmasq和firewall,勾上librt (libpthread 會自動連動勾起)
2.luci :進去Luci Collection 勾第一項选luci,Translate 選 luci-i18n-chinese
3.Kernel modules
I2C support里选上kmod-i2c-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
http://www.right.com.cn/forum/thread-71042-1-1.html
mtd -r write 檔案名稱.bin firmware
webcam
http://wiki.openwrt.org/doc/howto/webcam
http://wiki.openwrt.org/doc/howto/extroot
ex rootfs 先處理sd card mkfs.ext4 /dev/sda1 mount /dev/sda1 /mnt mkdir /tmp/cproot mount --bind / /tmp/cproot tar -C /tmp/cproot -cvf - . | tar -C /mnt -xvf - sync ; umount /mnt umount /tmp/cproot編輯 /etc/config/fstab
.config mount option target / option device /dev/sda1
option fstype ext4 option options rw,sync
option enabled 1
option enabled_fsck 0
http://www.instructables.com/files/o...L2H2MYJPMS.txt
http://hanez.org/openwrt-building-so...-packages.html
https://code.google.com/p/openwrt-fo...ded/wiki/howto
luci-mod-admin-core
luci-lib-web