Message ID | 20210608094512.29956-1-ynezz@true.cz |
---|---|
Headers | show |
Series | ramips: mt7621: backport support for 9 devices | expand |
Hi Petr, > -----Original Message----- > From: openwrt-devel [mailto:openwrt-devel-bounces@lists.openwrt.org] > On Behalf Of Petr Štetiar > Sent: Dienstag, 8. Juni 2021 11:45 > To: openwrt-devel@lists.openwrt.org > Cc: Petr Štetiar <ynezz@true.cz> > Subject: [PATCH 21.02 00/11] ramips: mt7621: backport support for 9 devices > > Hi, > > Tee has asked today about backport for Linksys EA8100v1 on IRC, I've noticed > another such request in PR#4236[1] and decided to backport most of the > new devices as it saves time during rebasing/cherry-picks, review etc. > > All those backports are straight and clean cherry picks from master, no > modifications has been done, just simple Makefile merge conflict has been > resolved on "firmware-utils: zytrx: Add util for ZyXEL specific header". > > I've just build tested[2] that testing/mt7621-21.02-rc2-backports[3] branch > and provided all build artifacts like firmware images and packages for > download[4] to make testing easier. > > Would be nice to get some feedback and ideally your `Tested-by:` for > particular device. Thanks! > Thanks for taking of this. I've not kept track of the backport-relevant changes over the last months. However, I did a quick scan of /target/linux/ramips's git history. The only config-wise thing I found was the selective dependency for kmod-usb-serial: https://github.com/openwrt/openwrt/commit/9397b22df1473f315552578b58322db7f7750361 This was only added in master and affects ZyXEL NR7101 as far as I can tell, which will lack kmod-usb-serial in 21.02 unless added manually. Of course, we might as well just cherry-pick the referenced commit if it applies without too much work. In any case, not a big problem. Note that I only checked config-/DTS-related patches, I don't know if there are any driver- or kernel-related changes that would cause problems. Best Adrian > > 1. https://github.com/openwrt/openwrt/pull/4236 > 2. https://gitlab.com/ynezz/openwrt/-/jobs/1326795722 > 3. > https://git.openwrt.org/?p=openwrt/staging/ynezz.git;a=shortlog;h=refs/he > ads/testing/mt7621-21.02-rc2-backports > 4. https://foo.true.cz/minio/openwrt/staging-builds/testing-mt7621-21-02- > rc2-backports/2c462a29/ramips-mt7621/bin > > > Cheers, > > Petr > > Aashish Kulkarni (1): > ramips: add support for Linksys E5600 > > Andreas Böhler (1): > ramips: Add support for SERCOMM NA502 > > Bjørn Mork (2): > firmware-utils: zytrx: Add util for ZyXEL specific header > ramips: mt7621: Add support for ZyXEL NR7101 > > Chukun Pan (1): > ramips: add support for JCG Q20 > > Georgi Vlaev (1): > ramips: add support for TP-Link Archer C6U v1 (EU) > > Jonathan Sturges (1): > ramips: add support for Amped Wireless ALLY router and extender > > Kevin Darbyshire-Bryant (1): > firmware-utils: fix coverity zytrx.c resource leak > > Leon M. George (1): > ramips: add support for cudy WR2100 > > Tee Hao Wei (1): > ramips: add support for Linksys EA8100 v1 > > Vinay Patil (1): > ramips: add support for TP-Link Archer A6 v3 > > package/boot/uboot-envtools/files/ramips | 13 + > .../dts/mt7621_ampedwireless_ally-00x19k.dts | 21 ++ > .../dts/mt7621_ampedwireless_ally-r1900k.dts | 32 +++ > .../ramips/dts/mt7621_ampedwireless_ally.dtsi | 179 ++++++++++++++ > .../linux/ramips/dts/mt7621_cudy_wr2100.dts | 201 +++++++++++++++ > target/linux/ramips/dts/mt7621_jcg_q20.dts | 175 ++++++++++++++ > .../linux/ramips/dts/mt7621_linksys_e5600.dts | 182 ++++++++++++++ > .../ramips/dts/mt7621_linksys_ea8100-v1.dts | 8 + > .../linux/ramips/dts/mt7621_sercomm_na502.dts | 212 ++++++++++++++++ > .../ramips/dts/mt7621_tplink_archer-a6-v3.dts | 188 +++++++++++++++ > .../dts/mt7621_tplink_archer-c6u-v1.dts | 213 ++++++++++++++++ > .../linux/ramips/dts/mt7621_zyxel_nr7101.dts | 164 +++++++++++++ > target/linux/ramips/image/mt7621.mk | 148 ++++++++++++ > .../mt7621/base-files/etc/board.d/01_leds | 18 +- > .../mt7621/base-files/etc/board.d/02_network | 48 ++-- > .../base-files/etc/board.d/03_gpio_switches | 3 + > .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 8 +- > .../mt7621/base-files/etc/init.d/bootcount | 9 +- > .../mt7621/base-files/lib/upgrade/platform.sh | 18 ++ > tools/firmware-utils/Makefile | 1 + > tools/firmware-utils/src/tplink-safeloader.c | 75 +++++- > tools/firmware-utils/src/zytrx.c | 228 ++++++++++++++++++ > 22 files changed, 2125 insertions(+), 19 deletions(-) create mode 100644 > target/linux/ramips/dts/mt7621_ampedwireless_ally-00x19k.dts > create mode 100644 target/linux/ramips/dts/mt7621_ampedwireless_ally- > r1900k.dts > create mode 100644 > target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi > create mode 100644 target/linux/ramips/dts/mt7621_cudy_wr2100.dts > create mode 100644 target/linux/ramips/dts/mt7621_jcg_q20.dts > create mode 100644 target/linux/ramips/dts/mt7621_linksys_e5600.dts > create mode 100644 target/linux/ramips/dts/mt7621_linksys_ea8100-v1.dts > create mode 100644 target/linux/ramips/dts/mt7621_sercomm_na502.dts > create mode 100644 target/linux/ramips/dts/mt7621_tplink_archer-a6- > v3.dts > create mode 100644 target/linux/ramips/dts/mt7621_tplink_archer-c6u- > v1.dts > create mode 100644 target/linux/ramips/dts/mt7621_zyxel_nr7101.dts > create mode 100644 tools/firmware-utils/src/zytrx.c > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
On 6/8/21 11:45 AM, Petr Štetiar wrote: > Hi, > > Tee has asked today about backport for Linksys EA8100v1 on IRC, I've noticed > another such request in PR#4236[1] and decided to backport most of the new > devices as it saves time during rebasing/cherry-picks, review etc. > > All those backports are straight and clean cherry picks from master, no > modifications has been done, just simple Makefile merge conflict has been > resolved on "firmware-utils: zytrx: Add util for ZyXEL specific header". > > I've just build tested[2] that testing/mt7621-21.02-rc2-backports[3] branch > and provided all build artifacts like firmware images and packages for > download[4] to make testing easier. > > Would be nice to get some feedback and ideally your `Tested-by:` for > particular device. Thanks! > > > 1. https://github.com/openwrt/openwrt/pull/4236 > 2. https://gitlab.com/ynezz/openwrt/-/jobs/1326795722 > 3. https://git.openwrt.org/?p=openwrt/staging/ynezz.git;a=shortlog;h=refs/heads/testing/mt7621-21.02-rc2-backports > 4. https://foo.true.cz/minio/openwrt/staging-builds/testing-mt7621-21-02-rc2-backports/2c462a29/ramips-mt7621/bin > > > Cheers, > > Petr > > Aashish Kulkarni (1): > ramips: add support for Linksys E5600 > > Andreas Böhler (1): > ramips: Add support for SERCOMM NA502 > > Bjørn Mork (2): > firmware-utils: zytrx: Add util for ZyXEL specific header > ramips: mt7621: Add support for ZyXEL NR7101 > > Chukun Pan (1): > ramips: add support for JCG Q20 > > Georgi Vlaev (1): > ramips: add support for TP-Link Archer C6U v1 (EU) > > Jonathan Sturges (1): > ramips: add support for Amped Wireless ALLY router and extender > > Kevin Darbyshire-Bryant (1): > firmware-utils: fix coverity zytrx.c resource leak > > Leon M. George (1): > ramips: add support for cudy WR2100 > > Tee Hao Wei (1): > ramips: add support for Linksys EA8100 v1 > > Vinay Patil (1): > ramips: add support for TP-Link Archer A6 v3 > > package/boot/uboot-envtools/files/ramips | 13 + > .../dts/mt7621_ampedwireless_ally-00x19k.dts | 21 ++ > .../dts/mt7621_ampedwireless_ally-r1900k.dts | 32 +++ > .../ramips/dts/mt7621_ampedwireless_ally.dtsi | 179 ++++++++++++++ > .../linux/ramips/dts/mt7621_cudy_wr2100.dts | 201 +++++++++++++++ > target/linux/ramips/dts/mt7621_jcg_q20.dts | 175 ++++++++++++++ > .../linux/ramips/dts/mt7621_linksys_e5600.dts | 182 ++++++++++++++ > .../ramips/dts/mt7621_linksys_ea8100-v1.dts | 8 + > .../linux/ramips/dts/mt7621_sercomm_na502.dts | 212 ++++++++++++++++ > .../ramips/dts/mt7621_tplink_archer-a6-v3.dts | 188 +++++++++++++++ > .../dts/mt7621_tplink_archer-c6u-v1.dts | 213 ++++++++++++++++ > .../linux/ramips/dts/mt7621_zyxel_nr7101.dts | 164 +++++++++++++ > target/linux/ramips/image/mt7621.mk | 148 ++++++++++++ > .../mt7621/base-files/etc/board.d/01_leds | 18 +- > .../mt7621/base-files/etc/board.d/02_network | 48 ++-- > .../base-files/etc/board.d/03_gpio_switches | 3 + > .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 8 +- > .../mt7621/base-files/etc/init.d/bootcount | 9 +- > .../mt7621/base-files/lib/upgrade/platform.sh | 18 ++ > tools/firmware-utils/Makefile | 1 + > tools/firmware-utils/src/tplink-safeloader.c | 75 +++++- > tools/firmware-utils/src/zytrx.c | 228 ++++++++++++++++++ > 22 files changed, 2125 insertions(+), 19 deletions(-) > create mode 100644 target/linux/ramips/dts/mt7621_ampedwireless_ally-00x19k.dts > create mode 100644 target/linux/ramips/dts/mt7621_ampedwireless_ally-r1900k.dts > create mode 100644 target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi > create mode 100644 target/linux/ramips/dts/mt7621_cudy_wr2100.dts > create mode 100644 target/linux/ramips/dts/mt7621_jcg_q20.dts > create mode 100644 target/linux/ramips/dts/mt7621_linksys_e5600.dts > create mode 100644 target/linux/ramips/dts/mt7621_linksys_ea8100-v1.dts > create mode 100644 target/linux/ramips/dts/mt7621_sercomm_na502.dts > create mode 100644 target/linux/ramips/dts/mt7621_tplink_archer-a6-v3.dts > create mode 100644 target/linux/ramips/dts/mt7621_tplink_archer-c6u-v1.dts > create mode 100644 target/linux/ramips/dts/mt7621_zyxel_nr7101.dts > create mode 100644 tools/firmware-utils/src/zytrx.c Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Hi again, > -----Original Message----- > From: openwrt-devel [mailto:openwrt-devel-bounces@lists.openwrt.org] > On Behalf Of Adrian Schmutzler > Sent: Dienstag, 8. Juni 2021 21:25 > To: 'Petr Štetiar' <ynezz@true.cz>; openwrt-devel@lists.openwrt.org > Subject: RE: [PATCH 21.02 00/11] ramips: mt7621: backport support for 9 > devices > > Hi Petr, > > > -----Original Message----- > > From: openwrt-devel [mailto:openwrt-devel-bounces@lists.openwrt.org] > > On Behalf Of Petr Štetiar > > Sent: Dienstag, 8. Juni 2021 11:45 > > To: openwrt-devel@lists.openwrt.org > > Cc: Petr Štetiar <ynezz@true.cz> > > Subject: [PATCH 21.02 00/11] ramips: mt7621: backport support for 9 > > devices > > > > Hi, > > > > Tee has asked today about backport for Linksys EA8100v1 on IRC, I've > > noticed another such request in PR#4236[1] and decided to backport > > most of the new devices as it saves time during rebasing/cherry-picks, > review etc. > > > > All those backports are straight and clean cherry picks from master, > > no modifications has been done, just simple Makefile merge conflict > > has been resolved on "firmware-utils: zytrx: Add util for ZyXEL specific > header". > > > > I've just build tested[2] that testing/mt7621-21.02-rc2-backports[3] > > branch and provided all build artifacts like firmware images and > > packages for download[4] to make testing easier. > > > > Would be nice to get some feedback and ideally your `Tested-by:` for > > particular device. Thanks! > > > > Thanks for taking of this. > > I've not kept track of the backport-relevant changes over the last months. > However, I did a quick scan of /target/linux/ramips's git history. The only > config-wise thing I found was the selective dependency for kmod-usb-serial: > https://github.com/openwrt/openwrt/commit/9397b22df1473f315552578b5 > 8322db7f7750361 Since it was applying without any issues, I've just quickly cherry-picked the commit, so the kmod-usb-serial issue is resolved. Best Adrian > > This was only added in master and affects ZyXEL NR7101 as far as I can tell, > which will lack kmod-usb-serial in 21.02 unless added manually. > Of course, we might as well just cherry-pick the referenced commit if it > applies without too much work. In any case, not a big problem. > > Note that I only checked config-/DTS-related patches, I don't know if there > are any driver- or kernel-related changes that would cause problems. > > Best > > Adrian > > > > > > 1. https://github.com/openwrt/openwrt/pull/4236 > > 2. https://gitlab.com/ynezz/openwrt/-/jobs/1326795722 > > 3. > > https://git.openwrt.org/?p=openwrt/staging/ynezz.git;a=shortlog;h=refs > > /he ads/testing/mt7621-21.02-rc2-backports > > 4. > > https://foo.true.cz/minio/openwrt/staging-builds/testing-mt7621-21-02- > > rc2-backports/2c462a29/ramips-mt7621/bin > > > > > > Cheers, > > > > Petr > > > > Aashish Kulkarni (1): > > ramips: add support for Linksys E5600 > > > > Andreas Böhler (1): > > ramips: Add support for SERCOMM NA502 > > > > Bjørn Mork (2): > > firmware-utils: zytrx: Add util for ZyXEL specific header > > ramips: mt7621: Add support for ZyXEL NR7101 > > > > Chukun Pan (1): > > ramips: add support for JCG Q20 > > > > Georgi Vlaev (1): > > ramips: add support for TP-Link Archer C6U v1 (EU) > > > > Jonathan Sturges (1): > > ramips: add support for Amped Wireless ALLY router and extender > > > > Kevin Darbyshire-Bryant (1): > > firmware-utils: fix coverity zytrx.c resource leak > > > > Leon M. George (1): > > ramips: add support for cudy WR2100 > > > > Tee Hao Wei (1): > > ramips: add support for Linksys EA8100 v1 > > > > Vinay Patil (1): > > ramips: add support for TP-Link Archer A6 v3 > > > > package/boot/uboot-envtools/files/ramips | 13 + > > .../dts/mt7621_ampedwireless_ally-00x19k.dts | 21 ++ > > .../dts/mt7621_ampedwireless_ally-r1900k.dts | 32 +++ > > .../ramips/dts/mt7621_ampedwireless_ally.dtsi | 179 ++++++++++++++ > > .../linux/ramips/dts/mt7621_cudy_wr2100.dts | 201 +++++++++++++++ > > target/linux/ramips/dts/mt7621_jcg_q20.dts | 175 ++++++++++++++ > > .../linux/ramips/dts/mt7621_linksys_e5600.dts | 182 ++++++++++++++ > > .../ramips/dts/mt7621_linksys_ea8100-v1.dts | 8 + > > .../linux/ramips/dts/mt7621_sercomm_na502.dts | 212 > ++++++++++++++++ > > .../ramips/dts/mt7621_tplink_archer-a6-v3.dts | 188 +++++++++++++++ > > .../dts/mt7621_tplink_archer-c6u-v1.dts | 213 ++++++++++++++++ > > .../linux/ramips/dts/mt7621_zyxel_nr7101.dts | 164 +++++++++++++ > > target/linux/ramips/image/mt7621.mk | 148 ++++++++++++ > > .../mt7621/base-files/etc/board.d/01_leds | 18 +- > > .../mt7621/base-files/etc/board.d/02_network | 48 ++-- > > .../base-files/etc/board.d/03_gpio_switches | 3 + > > .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 8 +- > > .../mt7621/base-files/etc/init.d/bootcount | 9 +- > > .../mt7621/base-files/lib/upgrade/platform.sh | 18 ++ > > tools/firmware-utils/Makefile | 1 + > > tools/firmware-utils/src/tplink-safeloader.c | 75 +++++- > > tools/firmware-utils/src/zytrx.c | 228 ++++++++++++++++++ > > 22 files changed, 2125 insertions(+), 19 deletions(-) create mode > > 100644 target/linux/ramips/dts/mt7621_ampedwireless_ally-00x19k.dts > > create mode 100644 target/linux/ramips/dts/mt7621_ampedwireless_ally- > > r1900k.dts > > create mode 100644 > > target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi > > create mode 100644 target/linux/ramips/dts/mt7621_cudy_wr2100.dts > > create mode 100644 target/linux/ramips/dts/mt7621_jcg_q20.dts > > create mode 100644 target/linux/ramips/dts/mt7621_linksys_e5600.dts > > create mode 100644 > > target/linux/ramips/dts/mt7621_linksys_ea8100-v1.dts > > create mode 100644 target/linux/ramips/dts/mt7621_sercomm_na502.dts > > create mode 100644 target/linux/ramips/dts/mt7621_tplink_archer-a6- > > v3.dts > > create mode 100644 target/linux/ramips/dts/mt7621_tplink_archer-c6u- > > v1.dts > > create mode 100644 target/linux/ramips/dts/mt7621_zyxel_nr7101.dts > > create mode 100644 tools/firmware-utils/src/zytrx.c > > > > > > _______________________________________________ > > openwrt-devel mailing list > > openwrt-devel@lists.openwrt.org > > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
"Adrian Schmutzler" <mail@adrianschmutzler.de> writes: > The only config-wise thing I found was the selective dependency for kmod-usb-serial: > https://github.com/openwrt/openwrt/commit/9397b22df1473f315552578b58322db7f7750361 > > This was only added in master and affects ZyXEL NR7101 as far as I can > tell, which will lack kmod-usb-serial in 21.02 unless added manually. Confirmed. The NR7101 ends up with root@OpenWrt:/# opkg list|grep usb kmod-usb-core - 5.4.124-1 kmod-usb-net - 5.4.124-1 kmod-usb-net-qmi-wwan - 5.4.124-1 kmod-usb-wdm - 5.4.124-1 kmod-usb3 - 5.4.124-1 Sorry I didn't catch that in my quick test yesterday. I only verified that I could talk to the modem using QMI, and failed to notice the missing serial functions. Bjørn