[OpenWrt-Devel] [PATCH] ath79: add support for TP-Link TL-MR6400

mail at adrianschmutzler.de mail at adrianschmutzler.de
Sun Jan 5 19:23:22 EST 2020


Hi Enrico,

> -----Original Message-----
> From: Enrico Mioso [mailto:mrkiko.rs at gmail.com]
> Sent: Dienstag, 17. September 2019 19:59
> To: mail at adrianschmutzler.de
> Cc: Filip Moc <lede at moc6.cz>; openwrt-devel at lists.openwrt.org
> Subject: RE: [OpenWrt-Devel] [PATCH] ath79: add support for TP-Link TL-
> MR6400
> 
> Thanks! I'll take a look now.
> Still, something should be interestingly wrong here:
> 
> root at OpenWrt:/# swconfig dev switch0 show|grep -i link
>          link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
>          link: port:1 link:up speed:100baseT full-duplex auto
>          link: port:2 link:down
>          link: port:3 link:down
>          link: port:4 link:down
> root at OpenWrt:/#

I've just unearthed this topic in my mailbox and tried a port myself based on your V2 patch.

You will find the updated version in a branch of my staging repo here:
https://git.openwrt.org/?p=openwrt/staging/adrian.git;a=shortlog;h=refs/heads/mr6400

(Most recent patch there.)

Despite several minor issues (sorting, rebase, etc.) I've also addressed the following major issues:
1. Use gpio-export again instead of gpio-hog, so LTE can be switched on/off
2. Added adb-enablemodem
3. Removed the phy-swap in DTS. This is not present in the mach-file for mr6400, only in the one for the fritzbox 4020 you took as blueprint.
4. Adjusted ports 2 vs. 3 in 02_network based on your assessment. This will most probably be wrong again now, as this might be influenced by the phy-swap.
5. LAN/WAN LEDs still won't work properly, as at least one will need to be changed to ucidef_set_led_switch, and I cannot check that without the device.

Best

Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200106/7b275980/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list