大侠们帮忙啊!TP 941N V2改USB后 不能识别U盘
本帖最后由 矿石 于 2012-4-12 16:29 编辑TP 941n v2 加了USB接口和供电电路,同时R96也加了电阻(10K),刷了猫大编译的U-boot 但是就是不能识别U盘。
大家帮忙看看是哪里出了问题?
U-Boot 1.1.4 (Jul 17 2010 - 00:26:05)
AP81 (ar7100) U-boot
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:8 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed address
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Hit any key to stop autoboot:0
## Booting image at bf020000 ...
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.37.6 (dyq@dyq-desktop) (gcc version 4.5.2 (Linaro GCC 4.5-2011.02-0) ) #1 Sun May 29 15:19:25 CST 2011
bootconsole enabled
CPU revision is: 00019374 (MIPS 24Kc)
SoC: Atheros AR9132 rev 2
Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:100.000MHz, Ref:5.000MHz
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map active PFN ranges
0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on.Total pages: 8128
Kernel command line:board=TL-WR941ND console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29480k/32768k available (1931k kernel code, 3288k reserved, 370k data, 168k init, 0k highmem)
SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:80
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR941ND
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console enabled, bootconsole disabled
console enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: found s25sl064a, expected m25p80
m25p80 spi0.0: s25sl064a (8192 Kbytes)
Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 6 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=5F0000, len=200000
0x0000005f0000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "art"
0x000000020000-0x0000007f0000 : "firmware"
0x000000000000-0x000000800000 : "fullflash"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP westwood registered
NET: Registered protocol family 17
Distributed Switch Architecture driver version 0.1
eth0: detected a Marvell 88E6060 switch
dsa slave smi: probed
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 168k freed
input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
Button Hotplug driver version 0.4.1
eth0: link up (100Mbps/Full duplex)
- preinit -
Press the key and hit to enter failsafe mode
- regular preinit -
JFFS2 notice: (445) jffs2_build_xattr_subsystem: complete building xattr subsystem, 27 of xdatum (0 unchecked, 26 orphan) and 52 of xref (0 dead, 26 orphan) found.
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
switching to jffs2
- init -
eth0: link down
Please press Enter to activate this console. eth0: link up (100Mbps/Full duplex)
wan: link up, 100 Mb/s, full duplex, flow control disabled
PPP generic driver version 2.4.2
NET: Registered protocol family 24
device lan1 entered promiscuous mode
device eth0 entered promiscuous mode
device lan2 entered promiscuous mode
device lan3 entered promiscuous mode
device lan4 entered promiscuous mode
lan3: link up, 100 Mb/s, full duplex, flow control disabled
br-lan: port 3(lan3) entering forwarding state
br-lan: port 3(lan3) entering forwarding state
Compat-wireless backport release: compat-wireless-2011-05-11-1-g501c91f
Backport based on wireless-testing.git master-2011-05-13
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (463 buckets, 1852 max)
xt_time: kernel timezone is -0000
root@OpenWrt:/# lsmod
Module SizeUsed by Not tainted
gpio_buttons 19200
ledtrig_usbdev 20320
nf_nat_irc 7840
nf_conntrack_irc 24801 nf_nat_irc
nf_nat_ftp 9760
nf_conntrack_ftp 44161 nf_nat_ftp
xt_HL 12000
xt_hl 7200
ipt_ECN 12800
xt_CLASSIFY 4480
xt_time 14720
xt_tcpmss 8960
xt_statistic 7200
xt_mark 5920
xt_length 5920
ipt_ecn 8800
xt_DSCP 12960
xt_dscp 9120
ipt_MASQUERADE 9281
iptable_nat 21281
nf_nat 98084 nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
xt_recent 58880
xt_helper 8000
xt_connmark 9600
xt_connbytes 13120
xt_conntrack 16480
xt_NOTRACK 4640
iptable_raw 5761
xt_state 6243
nf_conntrack_ipv4 38086 iptable_nat,nf_nat
nf_defrag_ipv4 6241 nf_conntrack_ipv4
nf_conntrack 36576 14 nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_helper,xt_connmark,xt_connbytes,xt_conntrack,xt_NOTRACK,xt_state,nf_conntrack_ipv4
pppoe 72162
pppox 11521 pppoe
ipt_REJECT 16162
xt_TCPMSS 17442
ipt_LOG 58400
xt_comment 4160
xt_multiport 11040
xt_mac 5440
xt_limit 9601
iptable_mangle 8640
iptable_filter 6401
ip_tables 83524 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp 15685
x_tables 10032 33 xt_HL,xt_hl,ipt_ECN,xt_CLASSIFY,xt_time,xt_tcpmss,xt_statistic,xt_mark,xt_length,ipt_ecn,xt_DSCP,xt_dscp,ipt_MASQUERADE,iptable_nat,xt_recent,xt_helper,xt_connmark,xt_connbytes,xt_conntrack,xt_NOTRACK,iptable_raw,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,iptable_mangle,iptable_filter,ip_tables,xt_tcpudp
ppp_async 60000
ppp_generic 183847 pppoe,pppox,ppp_async
slhc 40001 ppp_generic
vfat 77760
fat 411521 vfat
ath9k 752640
ath9k_common 10241 ath9k
ath9k_hw 2523522 ath9k,ath9k_common
ath 132962 ath9k,ath9k_hw
nls_utf8 7840
mac80211 2064001 ath9k
crc_ccitt 9441 ppp_async
cfg80211 1243203 ath9k,ath,mac80211
compat 24481 mac80211
arc4 7682
aes_generic 298400
crypto_algapi 90082 arc4,aes_generic
usb_storage 325440
ohci_hcd 165600
ehci_hcd 320640
sd_mod 210720
ext4 2178080
jbd2 360481 ext4
usbcore 951205 ledtrig_usbdev,usb_storage,ohci_hcd,ehci_hcd
scsi_mod 678082 usb_storage,sd_mod
nls_base 45444 vfat,fat,nls_utf8,usbcore
mbcache 35041 ext4
crc16 9441 ext4
leds_gpio 15840
button_hotplug 26720
gpio_keys_polled 20800
input_polldev 20642 gpio_buttons,gpio_keys_polled
input_core 188645 gpio_buttons,button_hotplug,gpio_keys_polled,input_polldev
本帖最后由 矿石 于 2012-4-12 16:29 编辑
回复要分································
http://www.wangqiu.net/static/image/common/sigline.gif
页:
[1]