[OpenWrt-Devel] sysupgrade: extending firmware validation

2019-06-19 Thread Rafał Miłecki
Currently targets can implement platform_check_image() that verifies submitted firmware file. It may return a success or failure. I'm looking for more complex implementation/solution. I'd like firmware validation to provide more info like: 1) Is firmware valid 2) What makes firmware invalid if any

Re: [OpenWrt-Devel] [PATCH 6/6] build: cleanup possibly dangling Python 2 host symlink

2019-06-19 Thread Yousong Zhou
On Tue, 18 Jun 2019 at 04:10, Petr Štetiar wrote: > > When bumping buildroot to Python 3, we need to assure, that Python > symlink in staging bin directory points to Python >= 3.5 as well. I thought `ln -sf` in previous patch will update that symlink to python3. Isn't that the case? > > Signed-

Re: [OpenWrt-Devel] dnsmasq not leasing after a while. Sometimes more than 5 times a day

2019-06-19 Thread Denis Periša
This is final error message.. after this no dns works and dnsmasq needs to be rebooted.. I also checked google and found numerous users have same issue back a year or more. Error sending DHCP packet to 172.16.6.50: Resource temporarily unavailable l On Tue, May 28, 2019 at 3:15 AM Russell Se

Re: [OpenWrt-Devel] [PATCH 1/6] tools/b43-tools/b43-fwsquash: convert to Python 3 with 2-to-3

2019-06-19 Thread Yousong Zhou
On Tue, 18 Jun 2019 at 04:09, Petr Štetiar wrote: > > Let's convert the script to Python 3. > > Signed-off-by: Petr Štetiar > --- > tools/b43-tools/files/b43-fwsquash.py | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/tools/b43-tools/files/b43-fwsquash.p

Re: [OpenWrt-Devel] [PATCH 2/6] scripts/dl_github_archive.py: convert to Python 3 with 2-to-3

2019-06-19 Thread Yousong Zhou
On Tue, 18 Jun 2019 at 04:09, Petr Štetiar wrote: > > Let's convert the script to Python 3. > > Signed-off-by: Petr Štetiar > --- > scripts/dl_github_archive.py | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/scripts/dl_github_archive.py b/scripts/dl_github_ar

[OpenWrt-Devel] [PATCH v2] uqmi: add explicit check for message type when expecting a response

2019-06-19 Thread Tautvydas Belgeras
When the utility sends a request it expects a response type message, but does not explicitly check for it. When a device stays idle for some time, it switches into a sleep mode, and notifies the utility with an identification type message. In some configurations the device only sends this identific

Re: [OpenWrt-Devel] [PATCH 5/6] build: switch to Python 3

2019-06-19 Thread Petr Štetiar
Y.b. Lu [2019-06-19 03:20:43]: Hi, > > ath79/generic > > imx6/generic > > ipq40xx/generic > > lantiq/xway > > layerscape/armv7 (broken) > > layerscape/armv8_32b (broken) > > layerscape/armv8_64b (broken) thanks a lot for such quick response and the fix, layerscape builds fine now with Py