OpenWrt Forum Archive

Topic: TP-LINK WR843N wanted

The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, buddy, I'm searching the arch patch of wr843n, an new router provided by tp-link, some guys has hack it. and I cound not find the patch in trunk branch. I strongly expecting the patch of it.

here a dmesg.

root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.3.3 (gzanan@qq810091899) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #3 Mon Apr 30 16:27:19 CST 2012
[    0.000000] MyLoader: sysp=7e32261f, boardp=2eeaf96f, parts=7e16f0c5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9341 rev 1
[    0.000000] Clocks: CPU:525.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802cd4c0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    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: 8128
[    0.000000] Kernel command line:  board=TL-WR843N console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29288k/32768k available (2087k kernel code, 3480k reserved, 399k data, 200k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] Calibrating delay loop... 261.73 BogoMIPS (lpj=1308672)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-WR843N
[    0.510000] bio: create slab <bio-0> at 0
[    0.520000] Switching to clocksource MIPS
[    0.530000] NET: Registered protocol family 2
[    0.530000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.530000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.540000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.540000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.550000] TCP reno registered
[    0.550000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.560000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.560000] NET: Registered protocol family 1
[    0.570000] PCI: CLS 0 bytes, default 32
[    0.590000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.590000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.600000] msgmni has been set to 57
[    0.610000] io scheduler noop registered
[    0.610000] io scheduler deadline registered (default)
[    0.610000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.640000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.650000] console [ttyS0] enabled, bootconsole disabled
[    0.660000] m25p80 spi0.0: found w25q32, expected m25p80
[    0.670000] m25p80 spi0.0: w25q32 (4096 Kbytes)
[    0.670000] 5 tp-link partitions found on MTD device spi0.0
[    0.680000] Creating 5 MTD partitions on "spi0.0":
[    0.690000] 0x000000000000-0x000000020000 : "u-boot"
[    0.690000] 0x000000020000-0x0000000fd978 : "kernel"
[    0.700000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.710000] 0x0000000fd978-0x0000003f0000 : "rootfs"
[    0.720000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.730000] mtd: partition "rootfs" set to be root filesystem
[    0.740000] mtd: partition "rootfs_data" created automatically, ofs=3A0000, len=50000
[    0.750000] 0x0000003a0000-0x0000003f0000 : "rootfs_data"
[    0.760000] 0x0000003f0000-0x000000400000 : "art"
[    0.760000] 0x000000020000-0x0000003f0000 : "firmware"
[    1.010000] ag71xx_mdio: probed
[    1.030000] ag71xx_mdio: probed
[    1.030000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    1.630000] eth0: Found an AR934X built-in switch
[    2.860000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[    3.470000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    3.480000] TCP westwood registered
[    3.480000] NET: Registered protocol family 17
[    3.480000] 8021q: 802.1Q VLAN Support v1.8
[    3.490000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.500000] Freeing unused kernel memory: 200k freed
[    6.760000] Registered led device: tp-link:green:3g
[    6.760000] Registered led device: tp-link:green:system
[    6.760000] Registered led device: tp-link:green:wps
[    6.760000] Registered led device: tp-link:green:wlan
[    6.760000] Registered led device: tp-link:green:wan
[    6.760000] Registered led device: tp-link:green:lan1
[    6.760000] Registered led device: tp-link:green:lan2
[    6.760000] Registered led device: tp-link:green:lan3
[    6.760000] Registered led device: tp-link:green:lan4
[    7.530000] eth0: link up (1000Mbps/Full duplex)
[   10.020000] JFFS2 notice: (561) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 15 of xref (0 dead, 2 orphan) found.
[   10.630000] SCSI subsystem initialized
[   10.780000] usbcore: registered new interface driver usbfs
[   10.780000] usbcore: registered new interface driver hub
[   10.790000] usbcore: registered new device driver usb
[   11.120000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.130000] ath79-ehci ar934x-ehci: Atheros built-in EHCI controller
[   11.140000] ath79-ehci ar934x-ehci: new USB bus registered, assigned bus number 1
[   11.180000] ath79-ehci ar934x-ehci: irq 3, io mem 0x1b000000
[   11.200000] ath79-ehci ar934x-ehci: USB 2.0 started, EHCI 1.00
[   11.200000] hub 1-0:1.0: USB hub found
[   11.210000] hub 1-0:1.0: 1 port detected
[   11.230000] Initializing USB Mass Storage driver...
[   11.230000] usbcore: registered new interface driver usb-storage
[   11.240000] USB Mass Storage support registered.
[   31.610000] eth0: link down
[   32.990000] Compat-wireless backport release: compat-wireless-2012-04-17-1-r31537
[   32.990000] Backport based on wireless-testing.git master-2012-04-17
[   33.050000] cfg80211: Calling CRDA to update world regulatory domain
[   33.470000] cfg80211: World regulatory domain updated:
[   33.470000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   33.480000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   33.490000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   33.500000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   33.510000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   33.520000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   34.130000] ath: EEPROM regdomain: 0x0
[   34.130000] ath: EEPROM indicates default country code should be used
[   34.130000] ath: doing EEPROM country->regdmn map search
[   34.130000] ath: country maps to regdmn code: 0x3a
[   34.130000] ath: Country alpha2 being used: US
[   34.130000] ath: Regpair used: 0x3a
[   34.130000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   34.130000] Registered led device: ath9k-phy0
[   34.130000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[   34.140000] cfg80211: Calling CRDA for country: US
[   34.240000] cfg80211: Regulatory domain changed to country: US
[   34.240000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   34.250000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   34.260000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   34.270000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   34.280000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   34.280000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   34.290000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   34.700000] PPP generic driver version 2.4.2
[   34.910000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   35.040000] NET: Registered protocol family 24
[   35.110000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)
[   35.520000] xt_time: kernel timezone is -0000
[   36.070000] usbcore: registered new interface driver ums-alauda
[   36.090000] usbcore: registered new interface driver ums-cypress
[   36.110000] usbcore: registered new interface driver ums-datafab
[   36.130000] usbcore: registered new interface driver ums-freecom
[   36.160000] usbcore: registered new interface driver ums-isd200
[   36.180000] usbcore: registered new interface driver ums-jumpshot
[   36.200000] usbcore: registered new interface driver ums-karma
[   36.300000] usbcore: registered new interface driver ums-sddr09
[   36.320000] usbcore: registered new interface driver ums-sddr55
[   36.340000] usbcore: registered new interface driver ums-usbat
[   46.340000] device eth0 entered promiscuous mode
[   48.760000] eth0: link up (1000Mbps/Full duplex)
[   48.760000] br-lan: port 1(eth0) entered forwarding state
[   48.770000] br-lan: port 1(eth0) entered forwarding state
[   49.100000] eth1: link up (100Mbps/Full duplex)
[119529.860000] eth1: link up (10Mbps/Half duplex)
[119531.980000] eth1: link up (100Mbps/Full duplex)
[163956.180000] eth1: link down
[163957.300000] eth1: link up (100Mbps/Full duplex)
[164274.440000] eth0: link down
[164274.440000] br-lan: port 1(eth0) entered disabled state
[164275.040000] eth0: link up (1000Mbps/Full duplex)
[164275.040000] br-lan: port 1(eth0) entered forwarding state
[164275.050000] br-lan: port 1(eth0) entered forwarding state
[309450.200000] eth0: link down
[309450.200000] br-lan: port 1(eth0) entered disabled state
[309450.800000] eth0: link up (1000Mbps/Full duplex)
[309450.800000] br-lan: port 1(eth0) entered forwarding state
[309450.810000] br-lan: port 1(eth0) entered forwarding state
[337821.380000] eth1: link up (10Mbps/Half duplex)
[337823.500000] eth1: link up (100Mbps/Full duplex)
[421139.020000] eth1: link down
[421140.140000] eth1: link up (100Mbps/Full duplex)
[448797.380000] eth1: link up (10Mbps/Half duplex)
[448799.500000] eth1: link up (100Mbps/Full duplex)
[460974.540000] eth1: link up (10Mbps/Half duplex)
[460976.660000] eth1: link up (100Mbps/Full duplex)
[501228.800000] eth1: link up (10Mbps/Half duplex)
[501230.920000] eth1: link up (100Mbps/Full duplex)
[506236.280000] eth0: link down
[506236.280000] br-lan: port 1(eth0) entered disabled state
[506236.880000] eth0: link up (1000Mbps/Full duplex)
[506236.880000] br-lan: port 1(eth0) entered forwarding state
[506236.890000] br-lan: port 1(eth0) entered forwarding state
[560306.560000] eth0: link down
[560306.560000] br-lan: port 1(eth0) entered disabled state
[560307.160000] eth0: link up (1000Mbps/Full duplex)
[560307.160000] br-lan: port 1(eth0) entered forwarding state
[560307.170000] br-lan: port 1(eth0) entered forwarding state
[630421.440000] eth0: link down
[630421.440000] br-lan: port 1(eth0) entered disabled state
[630422.040000] eth0: link up (1000Mbps/Full duplex)
[630422.040000] br-lan: port 1(eth0) entered forwarding state
[630422.050000] br-lan: port 1(eth0) entered forwarding state
root@OpenWrt:~#

The discussion might have continued from here.