Was this page helpful?

Openwrt

內容表格
沒有標頭


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,勾上block-mount ,librt (libpthread 會自動連動勾起)

2.luci :進去Luci Collection   勾第一項选luci,
                      Translate 選 luci-i18n-chinese
                         Applictaion       luci-app-ddns
                          Protocol
3.Kernel modules  Block Device 勾上kmod-scsi-core 因為usb 裝置也需要用
                                                 如果要一些usb 轉IDE ,SATA 可能要勾 SCSI -genric
                             Filesystem 勾上kmod -fs-ext4    
                                                    Kmod-vfat

Network-device  如果要包Realtek Wlan 要
Sound :
USB support:  Kmod-usb-acm (Lanuchpad ,Arduino UNO驅動)
                     Kmod-usb-serial  usb to serial 驅動
                                              如果選了會出現  各家usb to serial 晶片 .
                                              Arduino 就要選FTDI 建議再勾pl2303 有些3G網卡可能要勾多一點                        kmod-uѕb2 勾
                     Kmod-ohci 勾
                    Kmod-printer usb printer 驅動有點肥 不建議勾
                    Kmod-usb-storage  (usb storage 驅動) 勾
                    Kmod-usb-uhci(usb 1.1 驅動) 想省空間就不勾吧
Video Support :  kmod-video-core :usb cam 驅動 勾吧
                         Kmod-videe-uvc  :USB CAM新款uvc驅動
Network: ser2net :如果要跟Arduino 或其他單晶片通訊 勾吧
Multimedia:mjpeg-streamer (ip cam 主要程式) 勾吧
       utility   :    core-utility  
          
  

make V=99  -j 3 開始編譯          


  ./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
option is_rootfs 1

 

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


http://www.right.com.cn/forum/thread-48506-1-2.html

Was this page helpful?
標籤 (Edit tags)
  • No tags
您必須 登入 才能發佈評論。
Powered by MindTouch Core