|
本帖最后由 riyueyou 于 2015-5-25 18:41 编辑
换了块板正常,挂载金士顿16GU盘
此主板要想使用usb必须加焊usb数据线上的那两个(应该是电阻或电感,因该是那两个电阻标),然后加上主控下的无源晶振!我在U盘拆了个12M的,然后系统能发现USB】设备!但是不能用,出错提示在下边代码中,如果不插usb设备是不出的!估计是驱动或者设置问题!!
俺实在是读不懂源代码,更不会修改源代码,
启动代码
RedBoot> exec -c "console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mem=64M"
Now booting linux kernel:
Base address 0x80050000 Entry 0x80060000
Cmdline : console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mem=64M
[ 0.000000] Linux version 3.10.49 (asus@asus-virtual-machine) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43286) ) #1 Tue Nov 18 17:02:13 CST 2014
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=PB42 console=ttyS0,115200 ethaddr=00.03.7f.ff.ff.fe rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00040002
[ 0.000000] Readback ErrCtl register=00040002
[ 0.000000] Memory: 61144k/65536k available (2305k kernel code, 4392k reserved, 612k data, 280k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 512
[ 0.070000] NET: Registered protocol family 16
[ 0.070000] MIPS: machine is MASELinK AP2600IFM
[ 0.570000] registering PCI controller with io_map_base unset
[ 2.480000] bio: create slab <bio-0> at 0
[ 2.480000] PCI host bridge to bus 0000:00
[ 2.490000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[ 2.490000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 2.500000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.500000] Switching to clocksource MIPS
[ 2.510000] NET: Registered protocol family 2
[ 2.510000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 2.520000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 2.530000] TCP: Hash tables configured (established 512 bind 512)
[ 2.530000] TCP: reno registered
[ 2.530000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 2.540000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 2.550000] NET: Registered protocol family 1
[ 2.560000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.570000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.580000] msgmni has been set to 119
[ 2.580000] io scheduler noop registered
[ 2.590000] io scheduler deadline registered (default)
[ 2.590000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 2.620000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 2.630000] console [ttyS0] enabled, bootconsole disabled
[ 2.630000] console [ttyS0] enabled, bootconsole disabled
[ 2.640000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 2.650000] m25p80 spi0.0: found s25sl12801, expected m25p80
[ 2.650000] m25p80 spi0.0: s25sl12801 (16384 Kbytes)
[ 2.660000] Searching for RedBoot partition table in spi0.0 at offset 0xfe0000
[ 2.690000] Searching for RedBoot partition table in spi0.0 at offset 0xff0000
[ 2.730000] 5 RedBoot partitions found on MTD device spi0.0
[ 2.740000] Creating 5 MTD partitions on "spi0.0":
[ 2.740000] 0x000000000000-0x000000040000 : "RedBoot"
[ 2.750000] 0x000000040000-0x000000150000 : "kernel"
[ 2.750000] 0x000000150000-0x000000ff0000 : "rootfs"
[ 2.760000] mtd: device 2 (rootfs) set to be root filesystem
[ 2.770000] 1 squashfs-split partitions found on MTD device rootfs
[ 2.770000] 0x000000860000-0x000000ff0000 : "rootfs_data"
[ 2.780000] 0x000000ff0000-0x000000fff000 : "FIS directory"
[ 2.790000] 0x000000fff000-0x000001000000 : "RedBoot config"
[ 2.800000] libphy: ag71xx_mdio: probed
[ 3.100000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:01 [uid=02430d90, driver=Generic PHY]
[ 3.110000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 3.120000] TCP: cubic registered
[ 3.120000] NET: Registered protocol family 17
[ 3.130000] 8021q: 802.1Q VLAN Support v1.8
[ 3.140000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 3.140000] Freeing unused kernel memory: 280K (8033a000 - 80380000)
procd: Console is alive
procd: - watchdog -
[ 6.570000] usbcore: registered new interface driver usbfs
[ 6.580000] usbcore: registered new interface driver hub
[ 6.580000] usbcore: registered new device driver usb
[ 6.620000] SCSI subsystem initialized
[ 6.630000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.630000] ehci-platform: EHCI generic platform driver
[ 6.640000] ehci-platform ehci-platform: EHCI Host Controller
[ 6.640000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 6.650000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 6.680000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 6.680000] hub 1-0:1.0: USB hub found
[ 6.690000] hub 1-0:1.0: 2 ports detected
[ 6.690000] uhci_hcd: USB Universal Host Controller Interface driver
[ 6.700000] usbcore: registered new interface driver usb-storage
procd: - preinit -
[ 7.010000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 7.200000] usb 1-1: device descriptor read/64, error -71
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 7.450000] usb 1-1: device descriptor read/64, error -71
[ 7.680000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 7.810000] usb 1-1: device descriptor read/64, error -71
[ 8.040000] usb 1-1: device descriptor read/64, error -71
[ 8.270000] usb 1-1: new high-speed USB device number 4 using ehci-platform
[ 8.700000] usb 1-1: device not accepting address 4, error -71
[ 8.820000] usb 1-1: new high-speed USB device number 5 using ehci-platform
[ 9.110000] eth0: link up (100Mbps/Full duplex)
[ 9.240000] usb 1-1: device not accepting address 5, error -71
[ 9.240000] hub 1-0:1.0: unable to enumerate USB device on port 1
kmod: ran 1 iterations
[ 10.810000] jffs2: notice: (303) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 27 of xref (0 dead, 2 orphan) found.
block: extroot: no root or overlay mount defined
jffs2 is ready
jffs2 is ready
[ 10.890000] jffs2: notice: (300) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 27 of xref (0 dead, 2 orphan) found.
switching to overlay
[ 10.920000] eth0: link down
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 12.950000] NET: Registered protocol family 10
[ 12.960000] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[ 12.980000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[ 13.000000] Initializing XFRM netlink socket
[ 13.010000] NET: Registered protocol family 15
[ 13.010000] tun: Universal TUN/TAP device driver, 1.6
[ 13.020000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 13.070000] l2tp_core: L2TP core driver, V2.0
[ 13.070000] l2tp_netlink: L2TP netlink interface
[ 13.090000] sit: IPv6 over IPv4 tunneling driver
[ 13.200000] gre: GRE over IPv4 demultiplexor driver
[ 13.200000] ip_gre: GRE over IPv4 tunneling driver
[ 13.210000] ip6_gre: GRE over IPv6 tunneling driver
[ 13.230000] nf_conntrack version 0.5.0 (959 buckets, 3836 max)
[ 13.250000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.310000] u32 classifier
[ 13.310000] input device check on
[ 13.310000] Actions configured
[ 13.330000] Mirror/redirect action on
[ 13.350000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 13.360000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 13.400000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.440000] nf_conntrack_rtsp v0.6.21 loading
[ 13.490000] nf_nat_rtsp v0.6.21 loading
[ 13.530000] usbcore: registered new interface driver ums-alauda
[ 13.550000] usbcore: registered new interface driver ums-cypress
[ 13.560000] usbcore: registered new interface driver ums-datafab
[ 13.580000] usbcore: registered new interface driver ums-freecom
[ 13.600000] usbcore: registered new interface driver ums-isd200
[ 13.600000] usbcore: registered new interface driver ums-jumpshot
[ 13.630000] usbcore: registered new interface driver ums-karma
[ 13.630000] usbcore: registered new interface driver ums-sddr09
[ 13.650000] usbcore: registered new interface driver ums-sddr55
[ 13.670000] usbcore: registered new interface driver ums-usbat
[ 13.740000] xt_time: kernel timezone is -0000
[ 13.800000] cfg80211: Calling CRDA to update world regulatory domain
[ 13.800000] cfg80211: World regulatory domain updated:
[ 13.810000] cfg80211: DFS Master region: unset
[ 13.810000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 13.820000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.830000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.840000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.850000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.850000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 13.860000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 13.870000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.880000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 13.960000] PPP generic driver version 2.4.2
[ 13.970000] PPP MPPE Compression module registered
[ 13.990000] NET: Registered protocol family 24
[ 13.990000] PPTP driver version 0.8.5
[ 14.030000] usbcore: registered new interface driver rt73usb
[ 14.040000] usbcore: registered new interface driver rtl8187
[ 14.110000] usbcore: registered new interface driver brcmfmac
[ 14.110000] usbcore: registered new interface driver carl9170
[ 14.120000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 14.130000] usbcore: registered new interface driver rt2500usb
[ 14.150000] usbcore: registered new interface driver rt2800usb
[ 14.180000] usbcore: registered new interface driver ath9k_htc
[ 14.200000] usbcore: registered new interface driver rtl8192cu
[ 21.530000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 21.530000] device eth0 entered promiscuous mode
[ 21.550000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 22.210000] eth0: link up (100Mbps/Full duplex)
[ 22.210000] br-lan: port 1(eth0) entered forwarding state
[ 22.220000] br-lan: port 1(eth0) entered forwarding state
[ 22.220000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 22.250000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 24.220000] br-lan: port 1(eth0) entered forwarding state
procd: - init complete -
|
|