Right now the usb port is not stable.Hope juhosg can fix it.Details was posted 
here.
https://lists.openwrt.org/pipermail/openwrt-devel/2012-May/015243.html
 
 
------------------ Original ------------------
From:  "axishero"<axish...@foxmail.com>;
Date:  Thu, May 10, 2012 12:06 PM
To:  "openwrt-devel"<openwrt-devel@lists.openwrt.org>; 
"juhosg"<juh...@openwrt.org>; 

Subject:  [OpenWrt-Devel] Add support for tl-wr743n v2,a 3g router based on 
ar9331

 
Tplink wr743n is a wireless router with 1 wan 4 lan and a usb port based on 
ar9331 which sold in China.The ports are reversed compared to wr741nd v4.
http://img.mydigit.net/Mon_1202/88_785197_280cee23642a9a1.jpg
I don't know how to change gmac.So I just simply removed gmac_setup to get the 
ports in right place.


patch-by:Vince Huang


This machine patch has been tested.
Serial messages:




[    0.000000] Linux version 3.3.5 (gzanan@qq810091899) (gcc version 4.6.3 
20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Thu May 10 09:48:20 CST 2012
[    0.000000] MyLoader: sysp=ce9223b0, boardp=5f286e34, parts=fef2633b
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, 
Ref:25.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 PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 802cd4c0, node_mem_map 
81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    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: 16256
[    0.000000] Kernel command line:  board=TL-WR743N-v2 console=ttyATH0,115200 
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] 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: 61776k/65536k available (2091k kernel code, 3760k 
reserved, 394k 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... 265.42 BogoMIPS (lpj=1327104)
[    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 29 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-WR743N v2
[    0.540000] bio: create slab <bio-0> at 0
[    0.540000] Switching to clocksource MIPS
[    0.550000] NET: Registered protocol family 2
[    0.550000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.560000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.570000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.570000] TCP: Hash tables configured (established 2048 bind 2048)
[    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.590000] NET: Registered protocol family 1
[    0.600000] PCI: CLS 0 bytes, default 32
[    0.620000] 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 120
[    0.630000] io scheduler noop registered
[    0.640000] io scheduler deadline registered (default)
[    0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.650000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X 
UART
[    0.650000] console [ttyATH0] enabled, bootconsole disabled
[    0.670000] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.670000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.680000] 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-0x0000000fdf04 : "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] 0x0000000fdf04-0x0000007f0000 : "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.730000] mtd: partition "rootfs_data" created automatically, ofs=540000, 
len=2B0000 
[    0.740000] 0x000000540000-0x0000007f0000 : "rootfs_data"
[    0.750000] 0x0000007f0000-0x000000800000 : "art"
[    0.750000] 0x000000020000-0x0000007f0000 : "firmware"
[    1.000000] ag71xx_mdio: probed
[    1.000000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    1.590000] eth0: Found an AR7240/AR9330 built-in switch
[    2.820000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[    3.430000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 
[uid=004dd041, driver=Generic PHY]
[    3.430000] TCP westwood registered
[    3.440000] NET: Registered protocol family 17
[    3.440000] 8021q: 802.1Q VLAN Support v1.8
[    3.450000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.460000] Freeing unused kernel memory: 200k freed
[    7.250000] Registered led device: tp-link:green:3g
[    7.260000] Registered led device: tp-link:green:lan1
[    7.260000] Registered led device: tp-link:green:lan2
[    7.260000] Registered led device: tp-link:green:lan3
[    7.260000] Registered led device: tp-link:green:lan4
[    7.260000] Registered led device: tp-link:green:wps
[    7.260000] Registered led device: tp-link:green:system
[    7.260000] Registered led device: tp-link:green:wan
[    7.260000] Registered led device: tp-link:green:wlan
[    7.810000] eth0: link up (1000Mbps/Full duplex)
[   10.790000] eth0: link down
[   13.170000] Compat-wireless backport release: 
compat-wireless-2012-04-17-2-r31650
[   13.180000] Backport based on wireless-testing.git master-2012-04-17
[   13.220000] cfg80211: Calling CRDA to update world regulatory domain
[   13.820000] cfg80211: World regulatory domain updated:
[   13.820000] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[   13.830000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[   13.830000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[   13.840000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[   13.850000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[   13.860000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[   13.880000] NET: Registered protocol family 10
[   14.440000] SCSI subsystem initialized
[   14.630000] usbcore: registered new interface driver usbfs
[   14.630000] usbcore: registered new interface driver hub
[   14.640000] usbcore: registered new device driver usb
[   15.330000] ath: EEPROM regdomain: 0x0
[   15.330000] ath: EEPROM indicates default country code should be used
[   15.330000] ath: doing EEPROM country->regdmn map search
[   15.330000] ath: country maps to regdmn code: 0x3a
[   15.330000] ath: Country alpha2 being used: US
[   15.330000] ath: Regpair used: 0x3a
[   15.330000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.330000] Registered led device: ath9k-phy0
[   15.330000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   15.340000] cfg80211: Calling CRDA for country: US
[   15.530000] cfg80211: Regulatory domain changed to country: US
[   15.530000] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[   15.540000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[   15.550000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[   15.560000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[   15.560000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[   15.570000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[   15.580000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[   16.270000] PPP generic driver version 2.4.2
[   16.320000] IPv6 over IPv4 tunneling driver
[   16.450000] GRE over IPv4 demultiplexor driver
[   16.470000] GRE over IPv4 tunneling driver
[   16.700000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.950000] NET: Registered protocol family 24
[   17.180000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.180000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   17.190000] ehci-platform ehci-platform: new USB bus registered, assigned 
bus number 1
[   17.230000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   17.250000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   17.250000] hub 1-0:1.0: USB hub found
[   17.250000] hub 1-0:1.0: 1 port detected
[   17.380000] nf_conntrack version 0.5.0 (968 buckets, 3872 max)
[   18.330000] xt_time: kernel timezone is -0000
[   19.010000] usbcore: registered new interface driver usblp
[   19.120000] Initializing USB Mass Storage driver...
[   19.130000] usbcore: registered new interface driver usb-storage
[   19.130000] USB Mass Storage support registered.
[   19.150000] usbcore: registered new interface driver ums-alauda
[   19.170000] usbcore: registered new interface driver ums-cypress
[   19.190000] usbcore: registered new interface driver ums-datafab
[   19.220000] usbcore: registered new interface driver ums-freecom
[   19.240000] usbcore: registered new interface driver ums-isd200
[   19.260000] usbcore: registered new interface driver ums-jumpshot
[   19.280000] usbcore: registered new interface driver ums-karma
[   19.300000] usbcore: registered new interface driver ums-sddr09
[   19.320000] usbcore: registered new interface driver ums-sddr55
[   19.340000] usbcore: registered new interface driver ums-usbat
[   25.000000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   27.790000] eth0: link up (1000Mbps/Full duplex)
[   27.790000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   31.510000] device eth0 entered promiscuous mode
[   31.630000] br-lan: port 1(eth0) entered forwarding state
[   31.640000] br-lan: port 1(eth0) entered forwarding state
[   32.350000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[   50.820000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   50.830000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   50.830000] jffs2_build_filesystem(): erasing all blocks after the end 
marker... done.
[   57.000000] JFFS2 notice: (1898) jffs2_build_xattr_subsystem: complete 
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 
dead, 0 orphan) found.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to