[OpenWrt-Devel] [PATCH] lua: create "lua" symlink in staging dir

2019-07-23 Thread Rafał Miłecki
From: Rafał Miłecki Packages using host lua expect /bin/lua which has been recently renamed to /bin/lua5.1. Create symlink for them. This fixes e.g. following error with gluon: /bin/sh: 1: openwrt/staging_dir/hostpkg/bin/lua: not found Fixes: fe59b46ca7e0 ("lua: include version number in instal

[OpenWrt-Devel] [PATCH] toolchain: fix gcc depends on kernel headers

2019-07-23 Thread Hauke Mehrtens
GCC needs the kernel headers to compile. Some GCC file includes asm/unistd.h which is provided by the kernel headers. Normally the kernel headers build is very fast and ready before the gcc uses it, but if it clones the kernel from a slow git repository it takes longer and then it could be that the

[OpenWrt-Devel] OpenWRT Summit.... 2019????

2019-07-23 Thread Michael Richardson
Are there any plans to host an OpenWRT summit in 2019? I learnt of the 2018 summit in Lisbon the week after :-( and I'd like to make better plans, if it will happen. I notice that prplFoundation is planning an event in October in Berlin. -- ] Never tell me the odds!

[OpenWrt-Devel] [PATCH 2/2] treewide: remove now default USE_PROCD=1 from init scripts

2019-07-23 Thread Petr Štetiar
commit 08abd36204a8 ("base-files: make USE_PROCD=1 default") made USE_PROCD=1 default, so let's remove this line from all init scripts. Signed-off-by: Petr Štetiar --- package/base-files/files/etc/init.d/gpio_switch | 1 - package/base-files/files/etc/init.d/system| 1 -

[OpenWrt-Devel] [PATCH 1/2] base-files: make USE_PROCD=1 default

2019-07-23 Thread Petr Štetiar
Transition period for init script migration was long enough, let's make USE_PROCD=1 default now so there's enough time to convert the remaining services/init scripts for the next release. Signed-off-by: Petr Štetiar --- package/base-files/files/etc/rc.common | 113 ++--- 1 fi

Re: [OpenWrt-Devel] [PATCH] ath79: add support for gl-ar750

2019-07-23 Thread Chongjun.Luo
Hi,Adrian The MAC address is the MAC address on the label Best regards Luochongjun --原始邮件-- 发件人:"Adrian Schmutzler "; 发送时间:2019年7月23日(星期二) 晚上7:41 收件人:"'Luochongjun'" ;"openwrt-devel" ; 主题:RE: [OpenWrt-Devel] [PATCH] ath79: add support for gl-ar750 -

Re: [OpenWrt-Devel] [PATCH 2/2] netifd, lldpd, rpcd, log: use generic service_running

2019-07-23 Thread Petr Štetiar
Yousong Zhou [2019-07-23 19:51:34]: > > -service_running() { > > - ubus -t 30 wait_for network.interface > > - /sbin/wifi reload_legacy > > -} > > - > > Likely we should keep this. If not, a note in the commit message could help. It's broken anyway: $ /etc/init.d/network stop; se

Re: [OpenWrt-Devel] [PATCH 2/2] netifd, lldpd, rpcd, log: use generic service_running

2019-07-23 Thread Yousong Zhou
On Tue, 23 Jul 2019 at 18:25, Petr Štetiar wrote: > > commit eb204d14f75c ("base-files: implement generic service_running") > introduced generic service_running so it's not needed to copy&paste same > 3 lines over and over again. > > Signed-off-by: Petr Štetiar > --- > package/network/config/net

Re: [OpenWrt-Devel] [PATCH 1/2] base-files: implement generic service_running

2019-07-23 Thread Yousong Zhou
On Tue, 23 Jul 2019 at 18:25, Petr Štetiar wrote: > > DRY is good, otherwise we're going to suffer with a copy&paste disease > in the init scripts. > > Signed-off-by: Petr Štetiar > --- > package/base-files/files/etc/rc.common | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > d

Re: [OpenWrt-Devel] [PATCH] ath79: add support for gl-ar750

2019-07-23 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Luochongjun > Sent: Dienstag, 23. Juli 2019 09:45 > To: openwrt-devel@lists.openwrt.org > Cc: Luochongjun > Subject: [OpenWrt-Devel] [PATCH] ath79: add support for gl-ar750 > >

Re: [OpenWrt-Devel] [PATCH] ath79: add support for gl-ar750

2019-07-23 Thread Chongjun . Luo
My local openwrt tree has not been updated to the latest, so DEVICE_VENDOR and DEVICE_MODEL are not yet used Date: Tue, 23 Jul 2019 12:27:03 +0200 From: Moritz Warning To: openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH] ath79: add support for gl-ar750 Message-ID: <47ab81c8-b

Re: [OpenWrt-Devel] [PATCH] build: rules.mk: allow overriding of HOSTCC and HOSTCXX

2019-07-23 Thread Petr Štetiar
Yousong Zhou [2019-07-23 18:57:32]: Hi, > Variables specified as command arguments can override `:=` assignment. thanks, didn't know about this. > But the change is still helpful if such HOSTCC and HOSTCXX are from > environment. I think, that current default is better, I'm able to override i

Re: [OpenWrt-Devel] [PATCH] build: rules.mk: allow overriding of HOSTCC and HOSTCXX

2019-07-23 Thread Yousong Zhou
On Tue, 23 Jul 2019 at 18:23, Petr Štetiar wrote: > > Currently it's not possible to change the host compiler version during > devlopment/test/fixing and one has to always hand edit rules.mk which is > tiresome, so let's allow changing of those variables from make/env vars. > > Signed-off-by: Petr

Re: [OpenWrt-Devel] [PATCH] ath79: add support for gl-ar750

2019-07-23 Thread Moritz Warning
It would be a good idea to rewrite DEVICE_TITLE := GL.iNet GL-AR750 to DEVICE_VENDOR := GL.iNet DEVICE_MODEL := GL-AR750 See https://github.com/openwrt/openwrt/pull/2124 On 7/23/19 9:45 AM, Luochongjun wrote: > This patch supports gl-ar750, which was previously supported by ar71xx. > > Specifi

[OpenWrt-Devel] [PATCH 2/2] netifd, lldpd, rpcd, log: use generic service_running

2019-07-23 Thread Petr Štetiar
commit eb204d14f75c ("base-files: implement generic service_running") introduced generic service_running so it's not needed to copy&paste same 3 lines over and over again. Signed-off-by: Petr Štetiar --- package/network/config/netifd/files/etc/init.d/network | 5 - package/network/services/l

[OpenWrt-Devel] [PATCH 1/2] base-files: implement generic service_running

2019-07-23 Thread Petr Štetiar
DRY is good, otherwise we're going to suffer with a copy&paste disease in the init scripts. Signed-off-by: Petr Štetiar --- package/base-files/files/etc/rc.common | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/base-files/files/etc/rc.common b/package/base-fi

[OpenWrt-Devel] [PATCH] build: rules.mk: allow overriding of HOSTCC and HOSTCXX

2019-07-23 Thread Petr Štetiar
Currently it's not possible to change the host compiler version during devlopment/test/fixing and one has to always hand edit rules.mk which is tiresome, so let's allow changing of those variables from make/env vars. Signed-off-by: Petr Štetiar --- rules.mk | 4 ++-- 1 file changed, 2 insertions

[OpenWrt-Devel] [PATCH] ath79: add support for gl-ar750

2019-07-23 Thread Luochongjun
This patch supports gl-ar750, which was previously supported by ar71xx. Specification: - SOC: QCA9531 (650MHz) - Flash: 16 MiB (W25Q128FVSG) - RAM: 128 MiB DDR2 - Ethernet: 10/100: 2xLAN + 10/100: 1xWAN - Wireless: 2.4GHz (bgn) and 5GHz (ac) - USB: 1x USB 2.0 port - Switch: 1x switch - Button: 1x