|
我试过了 起不来。日志你们看。ar9344> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART)
bootcmd=calibrate normal;go 0x9f040000
bootdelay=1
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.1.10
serverip=192.168.1.27
dir=
lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x80060000 ${dir}db12x${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
Environment size: 698/65532 bytes
.
Boot and Recovery Environment for Embedded Devices
Copyright (C) 2015 HackPascal <hackpascal@gmail.com>
Build date 2015-09-11 [git-9a95c53]
Version 1.0 (r761)
DRAM: 128MB
Platform: Atheros AR9344 rev 2
Board: Atheros DB120 reference board
Clocks: CPU: 560MHz, DDR: 450MHz, AHB: 225MHz, Ref: 40MHz
Flash: Winbond W25Q128 (16MB) on ath79-spi
ag71xx-eth: MAC address is invalid, using default settings.
ag71xx-eth: Using MAC address 00:13:74:00:00:01
eth0: Atheros AR8327/AR8328 rev 2
Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0
Press any key to interrupt autoboot ... 0
Trying to boot firmware from 0x9f020000 ...
TP-LINK firmware image header detected.
Image Name: 43100001
Data Size: 1326560 Bytes
Load Address: 80060000
Entry Point: 80060000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.
Starting kernel at 0x80060000...
[ 0.000000] Linux version 4.1.11 (thepeople@owrtbuild01) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47670) ) #1 Mon Nov 30 15:22:16 CET 2015
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 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: 32512
[ 0.000000] Kernel command line: board=TL-WDR4300 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 125332K/131072K available (2982K kernel code, 139K rwdata, 596K rodata, 240K init, 201K bss, 5740K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:83
[ 0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[ 0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[ 0.000008] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[ 0.007861] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[ 0.080478] pid_max: default: 32768 minimum: 301
[ 0.085258] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091893] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101529] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.112523] NET: Registered protocol family 16
[ 0.118213] MIPS: machine is TP-LINK TL-WDR3600/4300/4310
[ 0.126942] registering PCI controller with io_map_base unset
[ 0.357020] PCI host bridge to bus 0000:00
[ 0.361111] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.368095] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.373687] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.380560] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.388618] pci 0000:00:00.0: invalid calibration data
[ 0.394221] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[ 0.401567] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[ 0.408883] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.414659] Switched to clocksource MIPS
[ 0.419835] NET: Registered protocol family 2
[ 0.425164] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.432160] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.438620] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.445084] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.450930] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.457549] NET: Registered protocol family 1
[ 0.462941] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.485981] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.491819] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.504141] io scheduler noop registered
[ 0.508097] io scheduler deadline registered (default)
[ 0.513495] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.522634] console [ttyS0] disabled
[ 0.546263] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.554938] console [ttyS0] enabled
[ 0.554938] console [ttyS0] enabled
[ 0.561955] bootconsole [early0] disabled
[ 0.561955] bootconsole [early0] disabled
[ 0.574596] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.580137] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.585875] 5 tp-link partitions found on MTD device spi0.0
[ 0.591534] Creating 5 MTD partitions on "spi0.0":
[ 0.596446] 0x000000000000-0x000000020000 : "u-boot"
[ 0.602333] 0x000000020000-0x000000163fe0 : "kernel"
[ 0.608210] 0x000000163fe0-0x000000ff0000 : "rootfs"
[ 0.614012] mtd: device 2 (rootfs) set to be root filesystem
[ 0.619830] 1 squashfs-split partitions found on MTD device rootfs
[ 0.626120] 0x000000350000-0x000000ff0000 : "rootfs_data"
[ 0.632405] 0x000000ff0000-0x000001000000 : "art"
[ 0.638037] 0x000000020000-0x000000ff0000 : "firmware"
[ 0.656214] switch0: Atheros AR8327 rev. 2 switch registered on ag71xx-mdio.0
[ 0.722138] libphy: ag71xx_mdio: probed
[ 1.316055] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316]
[ 1.327534] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 1.335786] NET: Registered protocol family 10
[ 1.343318] NET: Registered protocol family 17
[ 1.347954] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.360815] Bridge firewalling registered
[ 1.365030] 8021q: 802.1Q VLAN Support v1.8
[ 1.376361] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.384612] Freeing unused kernel memory: 240K (80404000 - 80440000)
[ 2.486447] init: Console is alive
[ 2.490106] init: - watchdog -
[ 3.467646] usbcore: registered new interface driver usbfs
[ 3.473293] usbcore: registered new interface driver hub
[ 3.478826] usbcore: registered new device driver usb
[ 3.489027] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.497125] ehci-platform: EHCI generic platform driver
[ 3.502523] ehci-platform ehci-platform: EHCI Host Controller
[ 3.508439] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 3.518571] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 3.544700] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 3.551908] hub 1-0:1.0: USB hub found
[ 3.556074] hub 1-0:1.0: 1 port detected
[ 3.562912] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.570557] ohci-platform: OHCI generic platform driver
[ 4.496115] init: - preinit -
[ 5.109764] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.136065] random: procd urandom read with 8 bits of entropy available
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
[ 6.455914] eth0: link up (1000Mbps/Full duplex)
[ 6.460684] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.302591] jffs2: notice: (408) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 8.319679] mount_root: switching to jffs2 overlay
[ 8.352285] eth0: link down
[ 8.366108] procd: - early -
[ 8.369130] procd: - watchdog -
[ 9.084567] procd: - ubus -
[ 10.176074] procd: - init -
Please press Enter to activate this console.
[ 10.813848] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.833043] Loading modules backported from Linux version master-2015-10-26-0-g28c26cb
[ 10.841122] Backport generated by backports.git backports-20150903-4-g12cf266
[ 10.851512] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.867313] nf_conntrack version 0.5.0 (1962 buckets, 7848 max)
[ 10.905332] xt_time: kernel timezone is -0000
[ 10.933470] cfg80211: World regulatory domain updated:
[ 10.938742] cfg80211: DFS Master region: unset
[ 10.943157] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 10.953057] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 10.961185] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 10.969313] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 10.977440] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 10.987068] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 10.996692] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 11.004912] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.013033] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 11.077656] PPP generic driver version 2.4.2
[ 11.084460] NET: Registered protocol family 24
[ 11.132764] ath: phy0: Unable to initialize hardware; initialization status: -5
[ 11.140254] ath9k ar934x_wmac: failed to initialize device
[ 11.145876] ath9k: probe of ar934x_wmac failed with error -5
[ 11.168235] ieee80211 phy1: Atheros AR9300 Rev:3 mem=0xb0000000, irq=40
[ 11.177446] cfg80211: Regulatory domain changed to country: US
[ 11.183372] cfg80211: DFS Master region: FCC
[ 11.187657] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 11.197558] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 11.205687] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (N/A)
[ 11.215313] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[ 11.224939] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s)
[ 11.233147] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 11.241279] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 18.712427] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 18.728699] device eth0.1 entered promiscuous mode
[ 18.733571] device eth0 entered promiscuous mode
[ 18.752641] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 18.799186] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 20.685914] eth0: link up (1000Mbps/Full duplex)
[ 20.690681] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 20.698350] br-lan: port 1(eth0.1) entered forwarding state
[ 20.704051] br-lan: port 1(eth0.1) entered forwarding state
[ 20.709893] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[ 20.734878] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 22.694670] br-lan: port 1(eth0.1) entered forwarding state
[ 80.334688] random: nonblocking pool is initialized 死在这能进BusyBox v1.24.1 (2015-11-30 15:07:02 CET) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, r47670)
-----------------------------------------------------
* 2 oz. Orange Juice Combine all juices in a
* 2 oz. Pineapple Juice tall glass filled with
* 2 oz. Grapefruit Juice ice, stir well.
* 2 oz. Cranberry Juice
-----------------------------------------------------
root@OpenWrt:/# |
|