3G
需修改文件(华为模块)
linux-3.10.14/drivers/usb/serial/option.c
linux-3.10.14/drivers/usb/serial/usb_wwan.c
linux-3.10.14/drivers/usb/serial/usb_wwan.h
linux-3.10.14/include/linux/usb.h
如果已经打过补丁 不需要修改上面文件
1、USB 串口驱动 编译配置项
make kernel_menuconfig
Device Drivers --->
[] USB support --->
<> Support for Host-side USB
<> USB Serial Converter support --->
[] USB Generic Serial Driver
<*> USB driver for GSM and CDMA modems
2、PPP 拨号的相关配置项
make kernel_menuconfig
Device Drivers --->
[] Network device support --->
<> PPP (point-to-point protocol) support
<*> PPP BSD-Compress compression
3、CDC ECM 驱动编译配置项
make kernel_menuconfig
Device Drivers --->
[] Network device support --->
USB Network Adapters --->
<> Multi-purpose USB Networking Framework
<> CDC Ethernet support (smart devices such as cable modems)
<> CDC MBIM support
4、页面luci
make menuconfig
LuCI(MTK) --->
6. Protocols --->
<> luci-proto-3g............................................. Support for 3G
Q9 模块未带电源管理
参考文档
TF卡
Device Drivers --->
<> MMC/SD/SDIO card support --->
<> MMC block device driver
[] Use bounce buffer for simple hosts
<> MTK SD/MMC
[] MTK AEE KDUMP
File systems --->
<> The Extended 4 (ext4) filesystem
[] Use ext4 for ext2/ext3 file systems
[*] Ext4 POSIX Access Control Lists
-----------MSDOS fs和VFAT fs--------------
File systems --->
DOS/FAT/NT Filesystems --->
<> MSDOS fs support
<> VFAT (Windows-95) fs support
(936) Default codepage for FAT
(cp936) Default iocharset for FAT
<> NTFS file system support
[] NTFS debugging support
[*] NTFS write support
tf卡挂载路径
/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/fstools-2014-06-22# vi block.c
snprintf(target, sizeof(target), "/mnt/%s", "media");
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.