REQUIRE TTL TO FLASH
Not flash directly using tffp to launch
>tftpboot 0x80020000 uimage.bin
>bootm
flash
>tftpboot 0x80020000 factory.bin
>erase 0x9f020000 +0x7c0000
>cp.b 0x80020000 0x9f020000 0x7c0000
2.4g 5g all working
U-Boot 1.1.4 (Feb 10 2014 - 10:39:47)
ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment
*** Warning *** : PCIe WLAN Module not found !!!
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x58b1214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 3.10.36 (compile@tc_128_166) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r41355) ) #5 Sun Jun 29 11:35:20 CST 2014
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9558 rev 0
[ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 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 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 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=ARCHER-C7 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: 126248k/131072k available (2217k kernel code, 4824k reserved, 592k data, 260k 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... 358.80 BogoMIPS (lpj=1794048)
[ 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 TP-LINK Archer C7
[ 0.080000] ar724x-pci ar724x-pci.0: PCIe link is down
[ 0.080000] registering PCI controller with io_map_base unset
[ 0.090000] registering PCI controller with io_map_base unset
[ 0.500000] bio: create slab <bio-0> at 0
[ 0.500000] PCI host bridge to bus 0000:00
[ 0.510000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[ 0.510000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.520000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.520000] PCI host bridge to bus 0000:01
[ 0.530000] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[ 0.530000] pci_bus 0000:01: root bus resource [io 0x0001]
[ 0.540000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.540000] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[ 0.550000] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[ 0.550000] pci 0000:01:00.0: using irq 41 for pin 1
[ 0.560000] Switching to clocksource MIPS
[ 0.560000] NET: Registered protocol family 2
[ 0.570000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.570000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.580000] TCP: reno registered
[ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.600000] NET: Registered protocol family 1
[ 0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.630000] msgmni has been set to 246
[ 0.630000] io scheduler noop registered
[ 0.630000] io scheduler deadline registered (default)
[ 0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.670000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.670000] console [ttyS0] enabled, bootconsole disabled
[ 0.670000] console [ttyS0] enabled, bootconsole disabled
[ 0.690000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.690000] m25p80 spi0.0: found s25fl064k, expected m25p80
[ 0.700000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.700000] 5 tp-link partitions found on MTD device spi0.0
[ 0.710000] Creating 5 MTD partitions on "spi0.0":
[ 0.710000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.720000] 0x000000020000-0x00000011c9c4 : "kernel"
[ 0.730000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.740000] 0x00000011c9c4-0x0000007f0000 : "rootfs"
[ 0.750000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.760000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.760000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.770000] 0x000000380000-0x0000007f0000 : "rootfs_data"
[ 0.780000] 0x0000007f0000-0x000000800000 : "art"
[ 0.780000] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.820000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[ 2.070000] libphy: ag71xx_mdio: probed
[ 2.620000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[ 2.630000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 3.190000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[ 3.200000] TCP: cubic registered
[ 3.200000] NET: Registered protocol family 17
[ 3.200000] 8021q: 802.1Q VLAN Support v1.8
[ 3.210000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 3.220000] Freeing unused kernel memory: 260K (8031f000 - 80360000)
procd: Console is alive
procd: - watchdog -
procd: - preinit -
[ 6.360000] eth1: link up (1000Mbps/Full duplex)
[ 6.400000] usbcore: registered new interface driver usbfs
[ 6.410000] usbcore: registered new interface driver hub
[ 6.420000] usbcore: registered new device driver usb
[ 6.430000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.430000] ehci-platform: EHCI generic platform driver
[ 6.440000] ehci-platform ehci-platform.0: EHCI Host Controller
[ 6.440000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[ 6.450000] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[ 6.460000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and[ 6.500000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
hit [enter] to [ 6.500000] hub 1-0:1.0: USB hub found
select the debug[ 6.510000] hub 1-0:1.0: 1 port detected
level
[ 6.510000] ehci-platform ehci-platform.1: EHCI Host Controller
[ 6.520000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[ 6.530000] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[ 6.540000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[ 6.560000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[ 6.560000] hub 2-0:1.0: USB hub found
[ 6.570000] hub 2-0:1.0: 1 port detected
jffs2 is ready
[ 9.720000] jffs2: notice: (341) jffs2_build_xattr_subsystem: complete building xattr subsystem, 19 of xdatum (0 unchecked, 18 orphan) and 34 of xref (0 dead, 18 orphan) found.
switching to jffs2
[ 9.750000] eth1: link down
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 11.070000] NET: Registered protocol family 10
[ 11.080000] nf_conntrack version 0.5.0 (1976 buckets, 7904 max)
[ 11.090000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.110000] Loading modules backported from Linux version master-2014-03-31-1-0-g5c109d2
[ 11.110000] Backport generated by backports.git backports-20140221-0-g8e94650
[ 11.140000] cfg80211: Calling CRDA to update world regulatory domain
[ 11.140000] cfg80211: World regulatory domain updated:
[ 11.150000] cfg80211: DFS Master region: unset
[ 11.150000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 11.160000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.170000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.180000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.190000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.190000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.200000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 11.240000] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[ 11.250000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 11.560000] ath10k: pci irq legacy
[ 12.470000] ath10k: qca988x hw2.0 (0x4100016c) fw 10.1.467.2-1 api 2 htt 2.1
[ 13.000000] cfg80211: Calling CRDA for country: US
[ 13.010000] cfg80211: Regulatory domain changed to country: US
[ 13.010000] cfg80211: DFS Master region: FCC
[ 13.020000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 13.030000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 13.030000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[ 13.040000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 13.050000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 13.060000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 13.090000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.150000] xt_time: kernel timezone is -0000
[ 13.170000] PPP generic driver version 2.4.2
[ 13.190000] NET: Registered protocol family 24
[ 13.230000] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
procd: - init complete -
[ 20.050000] eth1: link up (1000Mbps/Full duplex)
[ 20.050000] device eth1 entered promiscuous mode
[ 20.060000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 20.080000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 21.050000] br-lan: port 1(eth1) entered forwarding state
[ 21.050000] br-lan: port 1(eth1) entered forwarding state
[ 21.060000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 21.930000] eth0: link up (1000Mbps/Full duplex)
[ 21.940000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 23.050000] br-lan: port 1(eth1) entered forwarding state
BusyBox v1.19.4 (2014-06-27 18:51:32 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r40698)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/#