#21520: Tl-wdr6500v2 firmware bricked
------------------------+---------------------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  high       |  Milestone:  Designated Driver (Trunk)
 Component:  other      |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+---------------------------------------

Comment (by anonymous):

 Replying to [comment:11 nbd]:
 > please update to r48652 or newer, clean your kernel tree and try again.

 Still not working.

 {{{
 [    0.000000] Linux version 4.1.16 (user@ubuntu) (gcc version 5.2.0
 (OpenWrt GCC 5.2.0 r48686) ) #2 Tue Feb 9 21:55:57 UTC 2016
 [    0.000000] MyLoader: sysp=29ca0929, boardp=c57dd8d5, parts=8cadf5c3
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
 [    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
 [    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] On node 0 totalpages: 32768
 [    0.000000] free_area_init_node: node 0, pgdat 803cdf00, node_mem_map
 81000000
 [    0.000000]   Normal zone: 256 pages used for memmap
 [    0.000000]   Normal zone: 0 pages reserved
 [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
 [    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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
 [    0.000000] pcpu-alloc: [0] 0
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 32512
 [    0.000000] Kernel command line:  board=TL-WDR6500-v2
 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: 125404K/131072K available (2793K kernel code, 139K
 rwdata, 684K rodata, 276K init, 195K bss, 5668K 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:775.000MHz, DDR:650.000MHz, AHB:258.333MHz,
 Ref:25.000MHz
 [    0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff,
 max_idle_ns: 4932285024 ns
 [    0.000006] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every
 5541893118ns
 [    0.007428] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
 [    0.069910] pid_max: default: 32768 minimum: 301
 [    0.074414] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.080674] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.089632] clocksource jiffies: mask: 0xffffffff max_cycles:
 0xffffffff, max_idle_ns: 19112604462750000 ns
 [    0.099439] NET: Registered protocol family 16
 [    0.104675] MIPS: machine is TP-LINK TL-WDR6500 v2
 [    0.551746] registering PCI controller with io_map_base unset
 [    0.564893] PCI host bridge to bus 0000:00
 [    0.568752] pci_bus 0000:00: root bus resource [mem
 0x12000000-0x13ffffff]
 [    0.575354] pci_bus 0000:00: root bus resource [io  0x0001]
 [    0.580642] pci_bus 0000:00: root bus resource [??? 0x00000000 flags
 0x0]
 [    0.587138] pci_bus 0000:00: No busn resource found for root bus, will
 use [bus 00-ff]
 [    0.594740] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
 [    0.594780] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff
 64bit]
 [    0.594831] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff
 pref]
 [    0.594880] pci 0000:00:00.0: supports D1
 [    0.594892] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
 [    0.595071] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
 [    0.595099] pci 0000:00:00.0: BAR 0: assigned [mem
 0x12000000-0x121fffff 64bit]
 [    0.602064] pci 0000:00:00.0: BAR 6: assigned [mem
 0x12200000-0x1220ffff pref]
 [    0.608935] pci 0000:00:00.0: using irq 40 for pin 1
 [    0.614299] Switched to clocksource MIPS
 [    0.619042] NET: Registered protocol family 2
 [    0.623857] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.630494] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.636558] TCP: Hash tables configured (established 1024 bind 1024)
 [    0.642682] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.648237] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.654466] NET: Registered protocol family 1
 [    0.658647] PCI: CLS 0 bytes, default 32
 [    0.659462] futex hash table entries: 256 (order: -1, 3072 bytes)
 [    0.678891] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.684457] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.695673] io scheduler noop registered
 [    0.699363] io scheduler deadline registered (default)
 [    0.704497] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 [    0.710847] console [ttyS0] disabled
 [    0.734266] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud
 = 1562500) is a 16550A
 [    0.742464] console [ttyS0] enabled
 [    0.749619] bootconsole [early0] disabled
 [    0.760068] m25p80 spi0.0: found s25fl064k, expected m25p80
 [    0.765883] m25p80 spi0.0: s25fl064k (8192 Kbytes)
 [    0.771764] 5 tp-link-64k partitions found on MTD device spi0.0
 [    0.777917] Creating 5 MTD partitions on "spi0.0":
 [    0.782867] 0x000000000000-0x000000010000 : "u-boot"
 [    0.788690] 0x000000010000-0x000000141250 : "kernel"
 [    0.794486] 0x000000141250-0x0000007f0000 : "rootfs"
 [    0.800237] mtd: device 2 (rootfs) set to be root filesystem
 [    0.806160] 1 squashfs-split partitions found on MTD device rootfs
 [    0.812544] 0x000000680000-0x0000007f0000 : "rootfs_data"
 [    0.818750] 0x0000007f0000-0x000000800000 : "art"
 [    0.824226] 0x000000010000-0x0000007f0000 : "firmware"
 [    0.845414] libphy: ag71xx_mdio: probed
 [    1.436345] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04
 [uid=004dd042, driver=Generic PHY]
 [    1.446323] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
 [    2.035882] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
 [    2.043982] NET: Registered protocol family 10
 [    2.051836] NET: Registered protocol family 17
 [    2.056538] bridge: automatic filtering via arp/ip/ip6tables has been
 deprecated. Update your scripts to load br_netfilter if you need this.
 [    2.069608] Bridge firewalling registered
 [    2.073868] 8021q: 802.1Q VLAN Support v1.8
 [    2.084713] VFS: Mounted root (squashfs filesystem) readonly on device
 31:2.
 [    2.093492] Freeing unused kernel memory: 276K (803eb000 - 80430000)
 [    2.936328] init: Console is alive
 [    2.940017] init: - watchdog -
 [    4.535895] usbcore: registered new interface driver usbfs
 [    4.541636] usbcore: registered new interface driver hub
 [    4.547250] usbcore: registered new device driver usb
 [    4.584747] SCSI subsystem initialized
 [    4.593644] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 [    4.601624] ehci-platform: EHCI generic platform driver
 [    4.607142] ehci-platform ehci-platform.0: EHCI Host Controller
 [    4.613273] ehci-platform ehci-platform.0: new USB bus registered,
 assigned bus number 1
 [    4.623726] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
 [    4.644331] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
 [    4.651648] hub 1-0:1.0: USB hub found
 [    4.655835] hub 1-0:1.0: 1 port detected
 [    4.660184] ehci-platform ehci-platform.1: EHCI Host Controller
 [    4.666369] ehci-platform ehci-platform.1: new USB bus registered,
 assigned bus number 2
 [    4.676831] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
 [    4.694318] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
 [    4.701643] hub 2-0:1.0: USB hub found
 [    4.705821] hub 2-0:1.0: 1 port detected
 [    4.712329] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 [    4.719846] ohci-platform: OHCI generic platform driver
 [    4.727303] uhci_hcd: USB Universal Host Controller Interface driver
 [    4.737556] usbcore: registered new interface driver usb-storage
 [    4.948885] init: - preinit -
 [    5.598136] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
 [    5.620578] random: procd urandom read with 8 bits of entropy available
 [    7.615380] eth0: link up (1000Mbps/Full duplex)
 [    7.620177] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [    8.819098] mount_root: loading kmods from internal overlay
 [    9.067671] block: attempting to load /etc/config/fstab
 [    9.073232] block: unable to load configuration (fstab: Entry not
 found)
 [    9.080326] block: no usable configuration
 [    9.085118] mount_root: jffs2 not ready yet, using temporary tmpfs
 overlay
 [    9.112670] eth0: link down
 [    9.124173] procd: - early -
 [    9.127734] procd: - watchdog -
 [    9.845366] procd: - ubus -
 [   10.850912] procd: - init -
 [   11.664539] tun: Universal TUN/TAP device driver, 1.6
 [   11.669762] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
 [   11.698097] l2tp_core: L2TP core driver, V2.0
 [   11.704025] l2tp_netlink: L2TP netlink interface
 [   11.715828] sit: IPv6 over IPv4 tunneling driver
 [   11.738995] gre: GRE over IPv4 demultiplexor driver
 [   11.757738] ip_gre: GRE over IPv4 tunneling driver
 [   11.773646] ip6_gre: GRE over IPv6 tunneling driver
 [   11.789780] ip6_tables: (C) 2000-2006 Netfilter Core Team
 [   11.819628] Netfilter messages via NETLINK v0.30.
 [   11.830564] ip_set: protocol 6
 [   11.905782] Loading modules backported from Linux version
 v4.4-rc5-1913-gc8fdf68
 [   11.913421] Backport generated by backports.git
 backports-20151218-0-g2f58d9d
 [   12.067772] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
 [   12.074156] ath10k_pci 0000:00:00.0: pci irq legacy interrupts 0
 irq_mode 0 reset_mode 0
 [   12.287652] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k
 /cal-pci-0000:00:00.0.bin failed with error -2
 [   12.298372] ath10k_pci 0000:00:00.0: Falling back to user helper
 [   12.577673] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c
 chip_id 0x043222ff sub 0000:0000
 [   12.587249] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing
 0 dfs 1 testmode 1
 [   12.600285] ath10k_pci 0000:00:00.0: firmware ver 10.2.4.97 api 5
 features no-p2p crc32 f91e34f2
 [   12.649554] ath10k_pci 0000:00:00.0: Direct firmware load for
 ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
 [   12.660348] ath10k_pci 0000:00:00.0: Falling back to user helper
 [   12.733872] firmware ath10k!QCA988X!hw2.0!board-2.bin:
 firmware_loading_store: map pages failed
 [   12.747416] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32
 bebc7c08
 [   13.803209] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal
 file max-sta 128 raw 0 hwcrypto 1
 [   13.907307] ath: EEPROM regdomain: 0x0
 [   13.907322] ath: EEPROM indicates default country code should be used
 [   13.907329] ath: doing EEPROM country->regdmn map search
 [   13.907344] ath: country maps to regdmn code: 0x3a
 [   13.907353] ath: Country alpha2 being used: US
 [   13.907359] ath: Regpair used: 0x3a
 [   13.941009] arp_tables: (C) 2002 David S. Miller
 [   14.015814] Ebtables v2.0 registered
 [   14.034792] ip_tables: (C) 2000-2006 Netfilter Core Team
 [   14.055976] nf_conntrack version 0.5.0 (1963 buckets, 7852 max)
 [   14.087423] usbcore: registered new interface driver usbserial
 [   14.093530] usbcore: registered new interface driver usbserial_generic
 [   14.100410] usbserial: USB Serial support registered for generic
 [   14.125564] xt_time: kernel timezone is -0000
 [   14.136526] usbcore: registered new interface driver cdc_ether
 [   14.145956] usbcore: registered new interface driver cdc_ncm
 [   14.157608] usbcore: registered new interface driver ftdi_sio
 [   14.163625] usbserial: USB Serial support registered for FTDI USB
 Serial Device
 [   14.182666] PPP generic driver version 2.4.2
 [   14.189171] PPP MPPE Compression module registered
 [   14.195697] NET: Registered protocol family 24
 [   14.201852] PPTP driver version 0.8.5
 [   14.208729] usbcore: registered new interface driver rndis_host
 [   14.235239] ath: EEPROM regdomain: 0x0
 [   14.235255] ath: EEPROM indicates default country code should be used
 [   14.235262] ath: doing EEPROM country->regdmn map search
 [   14.235278] ath: country maps to regdmn code: 0x3a
 [   14.235286] ath: Country alpha2 being used: US
 [   14.235293] ath: Regpair used: 0x3a
 [   14.245704] ieee80211 phy1: Selected rate control algorithm
 'minstrel_ht'
 [   14.248601] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=47
 [   14.307424] l2tp_ppp: PPPoL2TP kernel driver, V2.0
 [   14.322555] usbcore: registered new interface driver option
 [   14.328445] usbserial: USB Serial support registered for GSM modem
 (1-port)
 [   21.629509] eth1: link up (1000Mbps/Full duplex)
 [   21.645914] device eth1 entered promiscuous mode
 [   21.651513] br-lan: port 1(eth1) entered forwarding state
 [   21.657164] br-lan: port 1(eth1) entered forwarding state
 [   21.771811] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
 [   22.775381] eth0: link up (1000Mbps/Full duplex)
 [   22.780347] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [   23.654307] br-lan: port 1(eth1) entered forwarding state
 [   73.864324] random: nonblocking pool is initialized
 [   74.845915] jffs2_scan_eraseblock(): End of filesystem marker found at
 0x0
 [   74.864367] jffs2_build_filesystem(): unlocking the mtd device... done.
 [   74.871234] jffs2_build_filesystem(): erasing all blocks after the end
 marker... done.
 [   80.085069] jffs2: notice: (1574) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
 xref (0 dead, 0 orphan) found.
 }}}

 `swconfig list` shows nothing

 After reverting r47981, r47982, r48650, r48651 and r48652 works fine.

--
Ticket URL: <https://dev.openwrt.org/ticket/21520#comment:12>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to