新兵上阵
- 注册时间
- 2010-5-31
- 金币
- 26 个
- 威望
- 0 个
- 荣誉
- 0 个
尚未签到
|
本帖最后由 lhlpyl 于 2011-12-5 16:02 编辑
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 [early0] 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[1] 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 [ttyS0] enabled, bootconsole disabled
console [ttyS0] 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[0]: 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 [f] key and hit [enter] 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 Size Used by Not tainted
gpio_buttons 1920 0
ledtrig_usbdev 2032 0
nf_nat_irc 784 0
nf_conntrack_irc 2480 1 nf_nat_irc
nf_nat_ftp 976 0
nf_conntrack_ftp 4416 1 nf_nat_ftp
xt_HL 1200 0
xt_hl 720 0
ipt_ECN 1280 0
xt_CLASSIFY 448 0
xt_time 1472 0
xt_tcpmss 896 0
xt_statistic 720 0
xt_mark 592 0
xt_length 592 0
ipt_ecn 880 0
xt_DSCP 1296 0
xt_dscp 912 0
ipt_MASQUERADE 928 1
iptable_nat 2128 1
nf_nat 9808 4 nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
xt_recent 5888 0
xt_helper 800 0
xt_connmark 960 0
xt_connbytes 1312 0
xt_conntrack 1648 0
xt_NOTRACK 464 0
iptable_raw 576 1
xt_state 624 3
nf_conntrack_ipv4 3808 6 iptable_nat,nf_nat
nf_defrag_ipv4 624 1 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 7216 2
pppox 1152 1 pppoe
ipt_REJECT 1616 2
xt_TCPMSS 1744 2
ipt_LOG 5840 0
xt_comment 416 0
xt_multiport 1104 0
xt_mac 544 0
xt_limit 960 1
iptable_mangle 864 0
iptable_filter 640 1
ip_tables 8352 4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp 1568 5
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 6000 0
ppp_generic 18384 7 pppoe,pppox,ppp_async
slhc 4000 1 ppp_generic
vfat 7776 0
fat 41152 1 vfat
ath9k 75264 0
ath9k_common 1024 1 ath9k
ath9k_hw 252352 2 ath9k,ath9k_common
ath 13296 2 ath9k,ath9k_hw
nls_utf8 784 0
mac80211 206400 1 ath9k
crc_ccitt 944 1 ppp_async
cfg80211 124320 3 ath9k,ath,mac80211
compat 2448 1 mac80211
arc4 768 2
aes_generic 29840 0
crypto_algapi 9008 2 arc4,aes_generic
usb_storage 32544 0
ohci_hcd 16560 0
ehci_hcd 32064 0
sd_mod 21072 0
ext4 217808 0
jbd2 36048 1 ext4
usbcore 95120 5 ledtrig_usbdev,usb_storage,ohci_hcd,ehci_hcd
scsi_mod 67808 2 usb_storage,sd_mod
nls_base 4544 4 vfat,fat,nls_utf8,usbcore
mbcache 3504 1 ext4
crc16 944 1 ext4
leds_gpio 1584 0
button_hotplug 2672 0
gpio_keys_polled 2080 0
input_polldev 2064 2 gpio_buttons,gpio_keys_polled
input_core 18864 5 gpio_buttons,button_hotplug,gpio_keys_polled,input_polldev |
|
|