OpenWrt Forum Archive

Topic: TP-Link MR3220V2

The content of this topic has been archived between 7 Oct 2014 and 6 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Hello.

I've successfully run OpenWRT from trunk on this router (TL-MR3220v2).

I have a problem with USB on this router. I have a custom board with FT232RL on it. It worked great on TL-MR3220v1. Now it also works, but USB host on router is crashing.

When I run my program on it, You can see ongoing communication on LED's (USB led on router is flashing, RX led on my device is also flashing). After a while (sometimes 10s, but not more than 10 minutes) communication stops. USB LED on router is constantly on, RX LED is off. I's a hardware fallout for sure. When I connect it through USB Hub it works a lot better. But its also not ideal. When i start some 230V device close to cable (fluorescent lamp 20W) its also crashes.

I found that USB socket shield is connected through 1nF capacitor. It's different than in devices I've had before. As far as i know this filter is for high freq EMI. I've try to connect it directly to GND, but it didn't helped.

================EDIT===================

found my answer here https://forum.openwrt.org/viewtopic.php … 68#p190168
Any clues?

Take care.

(Last edited by hot-dog on 28 Jan 2013, 00:28)

Hi,

First, big big thank you to all the contributors of this thread, my MR3220v2 is finally doing a good job here. Following this thread since weeks.
So many thanks to cindy, nebbia88, MBS and others.


hot-dog wrote:

I've successfully run OpenWRT from trunk on this router (TL-MR3220v2)

All firmware images linked by contributors in previous posts worked fine, and I finally took the option to use the trunk version, to manage the additional packages to install by myself.
Success smile

hot-dog wrote:

I have a problem with USB on this router. I have a custom board with FT232RL on it. It worked great on TL-MR3220v1. Now it also works, but USB host on router is crashing.


When I run my program on it, You can see ongoing communication on LED's (USB led on router is flashing, RX led on my device is also flashing). After a while (sometimes 10s, but not more than 10 minutes) communication stops. USB LED on router is constantly on, RX LED is off. I's a hardware fallout for sure. When I connect it through USB Hub it works a lot better. But its also not ideal. When i start some 230V device close to cable (fluorescent lamp 20W) its also crashes.

Here is the only issue I encountered is the USB port. Same problem, connection with 3G USB modem (tested several models) is lost at random interval time - --> can see a reset on USB port, probably EMI or not enough power.
Using an active USB hub solved the problem. At this moment final user is reporting an uptime of 10 days without disconnection.

I am new to Open WRT or any type of alternate firmware. It is happy to see that MR3220 is now supported by Open WRT. I have a new MR3220 which version in V2.2 can I use firmware from cindy.wijaya with my router ?

Hello!

I am trying to build a custom FW for TL-MR3220 V2.

The first problem I am facing is, that I can't find the option for V2 in Target Profile, just TP-Link TL-MR3220.
Is this normal?

I have AA revision 35685.

After the compilation is finished I see following files in .../bin/ ar71xx dir:

-openwrt-ar71xx-generic-nbg460n_550n_550nh-u-boot.bin
-openwrt-ar71xx-generic-root.squashfs
-openwrt-ar71xx-generic-root.squashfs-64k
-openwrt-ar71xx-generic-uImage-gzip.bin
-openwrt-ar71xx-generic-uImage-lzma.bin
-openwrt-ar71xx-generic-vmlinux.bin
-openwrt-ar71xx-generic-vmlinux.elf
-openwrt-ar71xx-generic-vmlinux.gz
-openwrt-ar71xx-generic-vmlinux.lzma
-openwrt-ar71xx-generic-vmlinux-lzma.elf

I am assuming that the FW for flashing the router is "openwrt-ar71xx-generic-root.squashfs"
and that it contains the support for V2, although there is no V2 in the FW name?

Two more questions:

-what is the "64k" FW for?
-where can I find the guide for "safe flashing"? Till now I have been working only with Asus WL500g and Linksys NSLU2.

Thank you,
Davor.

-what is the "64k" FW for?

JFFS2 rootfs image for flash chips with 64k eraseblock size and JFFS2 rootfs image for flash chips with 128k eraseblock size.

PVi1, thank you for the explanation.

Can you tell me, which FW should I use to flash MR3220?

(Last edited by davor128 on 20 Feb 2013, 01:01)

davor128 wrote:

I am assuming that the FW for flashing the router is "openwrt-ar71xx-generic-root.squashfs"
and that it contains the support for V2, although there is no V2 in the FW name?

No, it's openwrt-ar71xx-generic-tl-mr3220-v2-squashfs-factory.bin

Found the answer here - https://forum.openwrt.org/viewtopic.php?id=32219 - after compiling vith V=99.
Images are too big, but there is no warning when just running make.

(Last edited by davor128 on 20 Feb 2013, 02:41)

anishpsla wrote:

I am new to Open WRT or any type of alternate firmware. It is happy to see that MR3220 is now supported by Open WRT. I have a new MR3220 which version in V2.2 can I use firmware from cindy.wijaya with my router ?


Friends, it's working without any problem. I think V2 and V2.2 are using same hardware. Even TP-Link using same firmware for V2 and V2.2

Having recently bought a MR3220 v2, I want to have a UI for Wake on Lan (WOL), similar to what I had on my WRTL54G with DD-WRT (which has a whole tab dedicated to WOL in the router's configuration UI). I've read that this could be accomplished on the MR3220 v2 through OpenWRT+Gargoyle or OpenWRT+Lucy+WoLPackage.

The problem is that I'm completely new to OpenWRT and, although I've already identified (what I think is the) right .bin to upgrade (openwrt-ar71xx-generic-tl-mr3220-v2-squashfs-factory.bin), I have no clue on how to install the UI (Luci or Gargoyle). Additionally, due to my lack of knowledge in SSH/PuTTy, there's no way I can do it without a comprehensive step-by-step guide.

Would it be possible for someone to post some sort of compiled image of the latest trunk (openwrt-ar71xx-generic-tl-mr3220-v2-squashfs-factory.bin) with a UI that includes WOL? Is this possible, at all, or am I asking for the impossible?


Thanks!!!

Here you go:
OpenWrt Barrier Breaker r35096 / LuCI Trunk (trunk+svn9605)
http://www46.zippyshare.com/v/93902503/file.html

md5sums

f3f85c27ee5d1b63e151d282b2263af2  openwrt-ar71xx-generic-tl-mr3220-v2-squashfs-factory.bin
0f8485841babb7d860bd75cf07596411  openwrt-ar71xx-generic-tl-mr3220-v2-squashfs-sysupgrade.bin

It's the current one that I use. I don't have WOL installed, but you could try to install it manually. It's NOT the newest one, but works just fine for me. It includes LuCI and a little of other features like auto turning on wifi on boot, 3g usb support (haven't checked because i dont use it much), & other small ones.

Package that you would probably need is luci-app-wol.

(Last edited by evo on 28 Feb 2013, 18:42)

cindy.wijaya wrote:

Adding support to TP-LINK MR3220 V.2 + MR3420 V.2
OpenWrt Attitude Adjustment 12.09-rc1

Download (iix)
http://openwrt.agromapia.com/firmware/aarc1/

folder contains:

md5sums
openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
openwrt-ar71xx-generic-tl-mr3220-v1-squashfs-factory.bin
openwrt-ar71xx-generic-tl-mr3220-v2-squashfs-factory.bin
openwrt-ar71xx-generic-tl-mr3420-v1-squashfs-factory.bin
openwrt-ar71xx-generic-tl-mr3420-v2-squashfs-factory.bin

hi, i have installed this firmware (3220v2) and installed the ah9k_htc package to use a tp-722wn usb and when connect the dongle does this:

log

[   84.840000] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
[   84.970000] usb 1-1.4: ath9k_htc: Firmware htc_9271.fw requested
[   85.390000] usb 1-1.4: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[   85.390000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 8006ee3c, ra == 8006b760
[   85.400000] Oops[#1]:
[   85.400000] Cpu 0
[   85.400000] $ 0   : 00000000 80310000 00000000 00000000
[   85.400000] $ 4   : 00000001 00004000 00000001 00004000
[   85.400000] $ 8   : 00000002 00000200 802d62ec 00000018
[   85.400000] $12   : 802d6318 00000000 8027d420 80407e90
[   85.400000] $16   : 82000000 00000001 80330000 00000000
[   85.400000] $20   : 00000002 00000000 80f70000 81759b00
[   85.400000] $24   : 00000000 8006a0c0                  
[   85.400000] $28   : 8060e000 8060fd98 816cc858 8006b760
[   85.400000] Hi    : 00000000
[   85.400000] Lo    : b61f0000
[   85.400000] epc   : 8006ee3c 0x8006ee3c
[   85.400000]     Tainted: G           O
[   85.400000] ra    : 8006b760 0x8006b760
[   85.400000] Status: 1000fc03    KERNEL EXL IE 
[   85.400000] Cause : 00800008
[   85.400000] BadVA : 00000000
[   85.400000] PrId  : 00019374 (MIPS 24Kc)
[   85.400000] Modules linked in: visor ti_usb_3410_5052 qcserial pl2303 oti6858 option moto_modem mos7720 mct_u232 keyspan ipw ftdi_sio cypress_m8 cp210x ch341 belkin_sa ark3116 sg rndis_host usb_wwan hso cdc_ether ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda sierra_net(O) sierra(O) usbserial usbnet usbatm cdc_acm ath9k_htc(O) ath79_wdt ledtrig_usbdev ledtrig_netdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_recent xt_helper xt_connmark xt_connbytes pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables tun ppp_async ppp_generic slhc vfat fat br2684 atm ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) nls_utf8 nls_koi8_r nls_iso8859_2 nls_iso8859_15 nls_iso8859_13 nls_iso8859_1 nls_cp866 nls_cp852 nls_cp850 nls_cp775 nls_cp437 nls_cp1251 nls_cp1250 mac80211(O) rfkill crc_ccitt cfg80211(O) compat(O) arc4 aes_generic usb_storage uhci_hcd ohci_hcd ehci_hcd sd_mod ext4 jbd2 mbcache usbcore usb_common scsi_mod nls_base crc16 crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[   85.400000] Process firmware/htc_92 (pid: 1766, threadinfo=8060e000, task=814e5d18, tls=00000000)
[   85.400000] Stack : 802d6270 00000000 01ffffff 00000000 00001000 8006b760 00000001 802d682c
[   85.400000]         00000001 814e5d18 80666c80 802c3e98 81ac0000 81be639c 8060fe4c 00000001
[   85.400000]         c09c9848 802d6270 00000002 00000000 00001000 80666c80 81ac0000 80666c88
[   85.400000]         80ce6d80 000000d0 80f70000 80f70000 81759b00 81be7090 816cc858 800b0120
[   85.400000]         81bf6a90 81ab0180 80ce6d80 000000d0 80ce6d80 801dba48 00000001 80f70000
[   85.400000]         ...
[   85.400000] Call Trace:[<8006b760>] 0x8006b760
[   85.400000] [<81be639c>] 0x81be639c
[   85.400000] [<81be7090>] 0x81be7090
[   85.400000] [<800b0120>] 0x800b0120
[   85.400000] [<801dba48>] 0x801dba48
[   85.400000] [<80f61af8>] 0x80f61af8
[   85.400000] [<8019b560>] 0x8019b560
[   85.400000] [<801a2f54>] 0x801a2f54
[   85.400000] [<801a3010>] 0x801a3010
[   85.400000] [<8008a234>] 0x8008a234
[   85.400000] [<800c71a4>] 0x800c71a4
[   85.400000] [<80064af0>] 0x80064af0
[   85.400000] [<8008a1ac>] 0x8008a1ac
[   85.400000] [<80064ae0>] 0x80064ae0
[   85.400000] 
[   85.400000] 
[   85.400000] Code: 0801bb98  00000000  00821024 <bc550000> 2484ffff  00852821  2403ffe0  00a32824  bcb50000 
[   85.710000] ---[ end trace a321031b1c0f6ffe ]---

what's the problem?

regards.

Thank you to everyone who have compiled and shared their builds.  I have tried pretty much all the builds here...

I am very new to openwrt..I have the MR3220 V2 ..But i have one problem, all the builds here leave only so much room to install anything else.. biggest room i had left was around 232 K with one of cindy's builds..

I need to install libstdcpp and libpthread.  And I need to have custom software for around 404 KB.  I would only need to wifi to work and regular wan and lan.  I would need the bare minimum stuff on it.. I wouldn't need any bells or whistles on it.

I belive these are packages I could do without.. (in cindy's builds..aarc1)

blkid
block-mount
chat
ddns-scripts
huaweiaktbbo
kmod-atm
kmod-fs-ext4
kmod-fs-vfat
kmod-nls-xxxx (I am not sure what they are for)

I am sure there more packages. but i couldn't be sure if they are need to router to work ..

If some one would be kind enough the compile the build with enough space for the package I  listed above.. I would appreciate it very much.  Thank you.

(Last edited by test.stuff.2009 on 8 Mar 2013, 06:21)

Foto MR3220 v2.1 :
http://5.firepic.org/5/images/2013-03/15/jvk7z2s7fzu3.jpg
http://5.firepic.org/5/images/2013-03/15/og07bobx4c1q.jpg

(Last edited by sharahome on 15 Mar 2013, 20:07)

Hello, someone so good as to make me a fresh Trunk just with e398 huawei support and wlan / lan?

Start a NEW thread Please!!

Hello my friends. Please compile DC + + firmware or show how to do it. Thanks to those who help)))

can someone pls do test of write and read  speed's on a usb storage using ftp/samba/http ... on this router thank's in advance smile

(Last edited by ysf.zer on 9 Dec 2013, 20:35)

ysf.zer wrote:

can someone pls do test of write and read  speed's on a usb storage using ftp/samba/http ... on this router thank's in advance smile

ftp/samba
usb storage etx4 (Kingston 4MB) download - 7MBIT upload - 4MBIT
usb-HDD etx4 (Kingston 750GB) download - 4MBIT upload - 0.3MBIT

(Last edited by melsem on 9 Dec 2013, 21:02)

thank's brother smile

hi everybody
I will probably buy a MR3220 or MR3420. but before I need to know if everything I need is working. I red this thread but I'm still unsure which firmware I should use. Is it the aarc1+patch by cindy? or trunk-version?
I need working usb soundcare, usb storage, wifi routed client mode
@viraga84: I have already build this with a MR3020. now I want to build it with MR3220. do you have it built already? which firmware?
thanks a lot
j

Hi! everybody.

How do I flash Open WRT on this router? Can some one give step by step instructions. I need to have USB and ehternet working. Wifi is not such a big isuue. Do most USB devices work? Is it risky to do this?

(Last edited by Thebatman on 4 Jan 2014, 19:09)

Hi!

I'm sorry because of the late answer. I don't have time for this project, rarely check the topic and the router data sheet but it is still in trunk status. I use the trunk-version firmware but the memory wasn't enough to install the programs requisted for internet radio. I bought an usb hub now and I have old usb sticks to expand the free space but have not tried these yet. The trunk firmware works nice for me (internet on PC and wifi are OK). If you build the radio I accept information happily. smile Thanks.
Have a nice day!

dddesign wrote:

hi everybody
I will probably buy a MR3220 or MR3420. but before I need to know if everything I need is working. I red this thread but I'm still unsure which firmware I should use. Is it the aarc1+patch by cindy? or trunk-version?
I need working usb soundcare, usb storage, wifi routed client mode
@viraga84: I have already build this with a MR3020. now I want to build it with MR3220. do you have it built already? which firmware?
thanks a lot
j

Could anybody please provide ImageBuilder for MR3220v2 patched 12.09 final?
I tried to build it myself, but met three errors in a row, and i can't find any solution to the last one.

(Last edited by acaN on 7 Sep 2014, 14:18)