[OpenWrt-Devel] [PATCH v2] lantiq: enable LEDS_TRIGGER_MTD support

2018-11-29 Thread Florian Eckert
Enable mtd led trigger for lantiq/xrx200 devices by default to show MTD activity Signed-off-by: Florian Eckert --- target/linux/lantiq/xrx200/config-4.14 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/lantiq/xrx200/config-4.14 b/target/linux/lantiq/xrx200/config-4.14 index

Re: [OpenWrt-Devel] [PATCH 1/2] lantiq: sync kernel CONFIG_TARGET

2018-11-29 Thread Florian Eckert
Hello Matihas It works slightly different. I have not seen any howto about this topic. I thought it is OK to call only make kernel_menuconfig CONFIG_TARGET=subtarget and every thing is in sync. I guess I made a mistake. Regards Flo ___

Re: [OpenWrt-Devel] [PATCH] ath79:add partition compatiable gl_x750 and ar300m_nor

2018-11-29 Thread Petr Štetiar
Luochongjun [2018-11-30 10:32:25]: Hi, > This commit adds firmware partition compatible for the gl-x750 and > gl-ar300m-nor I've prepared pull request[1] which should add that compatible property to all ath79 boards, could you please check the boards you know about, if the values are correct?

[OpenWrt-Devel] [PATCH] ath79:add partition compatiable gl_x750 and ar300m_nor

2018-11-29 Thread Luochongjun
This commit adds firmware partition compatible for the gl-x750 and gl-ar300m-nor Signed-off-by: Luo chongjun --- target/linux/ath79/dts/qca9533_glinet_ar300m_nor.dts | 1 + target/linux/ath79/dts/qca9533_glinet_gl-x750.dts| 1 + 2 files changed, 2 insertions(+) diff --git

Re: [OpenWrt-Devel] [RFC 26/27] kernel: netfilter: Adapt merge ipv4/ipv6 masquerade code

2018-11-29 Thread Yousong Zhou
On Fri, 30 Nov 2018 at 06:26, Hauke Mehrtens wrote: > > On 11/28/18 6:53 AM, Yousong Zhou wrote: > > On Wed, 28 Nov 2018 at 07:21, Hauke Mehrtens wrote: > >> > >> In kernel commit 0168e8b361 ("netfilter: nat: merge ipv4/ipv6 masquerade > >> code into main nat module") the

Re: [OpenWrt-Devel] [PATCH 1/2] lantiq: sync kernel CONFIG_TARGET

2018-11-29 Thread Mathias Kresin
29/11/2018 14:25, Florian Eckert: Sync target config changes with the following command make kernel_menuconfig=target It works slightly different. The final kernel config is generated by merging target/linux/generic/config-4.14 + target/linux/lantiq/config-4.14 +

Re: [OpenWrt-Devel] [PATCH 2/2] lantiq: enable LEDS_TRIGGER_MTD support

2018-11-29 Thread Mathias Kresin
29/11/2018 14:25, Florian Eckert: Enable mtd led trigger for lantiq devices by default to show MTD activity Signed-off-by: Florian Eckert --- target/linux/lantiq/config-4.14 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/lantiq/config-4.14 b/target/linux/lantiq/config-4.14

Re: [OpenWrt-Devel] [RFC 26/27] kernel: netfilter: Adapt merge ipv4/ipv6 masquerade code

2018-11-29 Thread Hauke Mehrtens
On 11/28/18 6:53 AM, Yousong Zhou wrote: > On Wed, 28 Nov 2018 at 07:21, Hauke Mehrtens wrote: >> >> In kernel commit 0168e8b361 ("netfilter: nat: merge ipv4/ipv6 masquerade >> code into main nat module") the CONFIG_NF_NAT_MASQUERADE_IPV4 and >> CONFIG_NF_NAT_MASQUERADE_IPV6 kernel configuration

Re: [OpenWrt-Devel] [RFC 06/27] kernel: Add kmod-phy-realtek

2018-11-29 Thread Hauke Mehrtens
On 11/28/18 6:32 AM, Yousong Zhou wrote: > On Wed, 28 Nov 2018 at 07:17, Hauke Mehrtens wrote: >> >> The r8169 driver uses the phy lib with the realtek phy driver in kernel >> 4.19 instead of integrating the phy driver into the mac driver. >> Add the new phy driver and add this missing

Re: [OpenWrt-Devel] [PATCH 0/1] libubox installs incorrectly on Ubuntu due to incorrect LUAPATH

2018-11-29 Thread Sergey Ponomarev
Hi and thank for the review, We have two situations: installing from source (and in this situation it's ok to use /usr/local/) and installation as part generating a *.deb package and here we can't use /usr/local. I checked my system and lua is installed properly but lua's package.cpath anyway

Re: [OpenWrt-Devel] [PATCH 1/1] libubox/lua/CMakeLists.txt: fix LUAPATH so it will use /usr/lib/ instead of /usr/local/lib/

2018-11-29 Thread Petr Štetiar
Sergey Ponomarev [2018-11-29 17:20:08]: BTW, you're missing commit message here, and you don't usually send cover letters for single patches like this one. It's enough to do: git format-patch -s1 git send-email ... > IF(NOT LUAPATH) > EXECUTE_PROCESS( > - COMMAND lua -e

Re: [OpenWrt-Devel] [PATCH 0/1] libubox installs incorrectly on Ubuntu due to incorrect LUAPATH

2018-11-29 Thread Petr Štetiar
Sergey Ponomarev [2018-11-29 17:20:07]: Hi, > I'm working on porting openwrt utils like UCI and UHTTPD to Ubuntu and trying > to create a PPA. > During creation of a debian package for libubox it's build failed with: > dh_install: Cannot find (any matches for) >

[OpenWrt-Devel] [PATCH 1/1] libubox/lua/CMakeLists.txt: fix LUAPATH so it will use /usr/lib/ instead of /usr/local/lib/

2018-11-29 Thread Sergey Ponomarev
Signed-off-by: Sergey Ponomarev --- lua/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/CMakeLists.txt b/lua/CMakeLists.txt index 34c9ab1..4a114f6 100644 --- a/lua/CMakeLists.txt +++ b/lua/CMakeLists.txt @@ -17,7 +17,7 @@ ENDIF(APPLE) IF(NOT LUAPATH)

[OpenWrt-Devel] [PATCH 0/1] libubox installs incorrectly on Ubuntu due to incorrect LUAPATH

2018-11-29 Thread Sergey Ponomarev
I'm working on porting openwrt utils like UCI and UHTTPD to Ubuntu and trying to create a PPA. During creation of a debian package for libubox it's build failed with: dh_install: Cannot find (any matches for) "/usr/lib/x86_64-linux-gnu/lua/5.1/uloop.so" (tried in ., debian/tmp) After

[OpenWrt-Devel] [PATCH 1/2] lantiq: sync kernel CONFIG_TARGET

2018-11-29 Thread Florian Eckert
Sync target config changes with the following command make kernel_menuconfig=target Signed-off-by: Florian Eckert --- target/linux/lantiq/config-4.14 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/target/linux/lantiq/config-4.14 b/target/linux/lantiq/config-4.14 index

[OpenWrt-Devel] [PATCH 0/2] lantiq: udpate kernel config

2018-11-29 Thread Florian Eckert
- Sync kernel config 4.14 with the command make kernel_menuconfig CONFIG_TARGET=target - Enable MTD LEDs trigger for lantiq target. Florian Eckert (2): lantiq: sync kernel CONFIG_TARGET lantiq: enable LEDS_TRIGGER_MTD support target/linux/lantiq/config-4.14 | 6 +++--- 1 file changed, 3

[OpenWrt-Devel] [PATCH 2/2] lantiq: enable LEDS_TRIGGER_MTD support

2018-11-29 Thread Florian Eckert
Enable mtd led trigger for lantiq devices by default to show MTD activity Signed-off-by: Florian Eckert --- target/linux/lantiq/config-4.14 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/lantiq/config-4.14 b/target/linux/lantiq/config-4.14 index 055a428792..938aafc1f5 100644

Re: [OpenWrt-Devel] [PATCH] x86: make sysupgrade.tgz reachable again

2018-11-29 Thread Lucian Cristian
On 28.11.2018 21:44, Tomasz Maciej Nowak wrote: Moving binding mount before check for saved sysupgrade configuration made it unreachable. Fix it by moving binding mount after the check. Fixes: f78b2616 (x86: mount writable bootfs) Reported-by: Lucian Cristian Signed-off-by: Tomasz Maciej Nowak

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for TP-Link Archer A7

2018-11-29 Thread David Bauer
Hello Karl, just as a heads-up for your v3: On 23.11.18 22:00, Karl-Felix Glatzer wrote: > --- a/target/linux/ath79/image/common-tp-link.mk > +++ b/target/linux/ath79/image/common-tp-link.mk > @@ -39,6 +39,15 @@ define Build/mktplinkfw-combined > @mv $@.new $@ > endef > > +define

[OpenWrt-Devel] [PATCH] ramips: upgrade: Enable checking of image metadata

2018-11-29 Thread Petr Štetiar
Checking metadata in image before flashing is nice for a good user experience and bricking protection as well, so enable it by default for all boards but the four legacy ones. Cc: Mathias Kresin Signed-off-by: Petr Štetiar --- target/linux/ramips/base-files/lib/upgrade/platform.sh | 17