Port README to 21st century

2020-07-25 Thread Paul Spooren
Hi, I created a pull request on GitHub[0] with a reworked and extended README. Essentially it uses Markdown instead of plain text and embed the new logo and handy links to documentation and community resources. Adrian requested to announce the idea on the lists as it's basically the

Re: [RFC PATCH 5/5] ipq40xx: add target for Google WiFi (Gale)

2020-07-25 Thread computersforpeace
On Wed, Jul 22, 2020 at 03:58:34PM +0200, m...@adrianschmutzler.de wrote: > > Thanks for the scrutiny! I do have some questions here: is the > > VENDOR/MODEL supposed to match closer to a marketing-friendly/user- > > friendly name, or a developer/low-level name? > > I typically prefer something

Re: [PATCH 3/3] treewide: switch to HTTPS by default

2020-07-25 Thread Paul Spooren
On 24.07.20 04:29, Petr Štetiar wrote: As there is now WolfSSL included by default due to SAE/WPA3 we can finally switch to TLS/SSL in other parts as well. Signed-off-by: Petr Štetiar --- README | 2 +- include/target.mk | 6 +- include/version.mk | 2 +- 3 files

Re: [PATCH 4/4] lantiq: disable default build for devices with 4M flash

2020-07-25 Thread Paul Spooren
On 25.07.20 11:21, m...@adrianschmutzler.de wrote: -Original Message- From: Paul Spooren [mailto:m...@aparcar.org] Sent: Samstag, 25. Juli 2020 23:19 To: Adrian Schmutzler ; openwrt- de...@lists.openwrt.org Subject: Re: [PATCH 4/4] lantiq: disable default build for devices with 4M

RE: [PATCH 4/4] lantiq: disable default build for devices with 4M flash

2020-07-25 Thread mail
> -Original Message- > From: Paul Spooren [mailto:m...@aparcar.org] > Sent: Samstag, 25. Juli 2020 23:19 > To: Adrian Schmutzler ; openwrt- > de...@lists.openwrt.org > Subject: Re: [PATCH 4/4] lantiq: disable default build for devices with 4M > flash > > On 25.07.20 08:29, Adrian

Re: [PATCH 4/4] lantiq: disable default build for devices with 4M flash

2020-07-25 Thread Paul Spooren
On 25.07.20 08:29, Adrian Schmutzler wrote: It has been decided that the 19.07 release will be last one to include 4/32 devices. This disables default build for all devices with 4M flash on lantiq. Note that this will affect _all_ devices for amazonse ("ase") and xway_legacy subtarget. Isn't it

[PATCH v2] dropbear: Enable Ed25519 for normal devices

2020-07-25 Thread Paul Spooren
The Ed25519 key pairs are much shorter than RSA pairs and are supported by default in OpenSSH. Looking at websites explaining how to create new SSH keys, many suggest using Ed25519 rather than RSA, however consider the former as not yet widely established. OpenWrt likely has a positive influence

[PATCH 4/4] lantiq: disable default build for devices with 4M flash

2020-07-25 Thread Adrian Schmutzler
It has been decided that the 19.07 release will be last one to include 4/32 devices. This disables default build for all devices with 4M flash on lantiq. Note that this will affect _all_ devices for amazonse ("ase") and xway_legacy subtarget. Signed-off-by: Adrian Schmutzler --- As this will

[PATCH 2/4] ath79: disable default build for devices with 4M flash

2020-07-25 Thread Adrian Schmutzler
It has been decided that the 19.07 release will be last one to include 4/32 devices. This disables default build for the remaining devices with 4M flash on ath79. Note that this will leave exactly one enabled device for ath79/tiny subtarget, PQI Air-Pen, which was moved there due to kernel size

[PATCH 1/4] ath79: reorganize common image definitions for Netgear

2020-07-25 Thread Adrian Schmutzler
Netgear currently has a special definition for tiny devices, which is only used by two devices. Despite, it sets ups the IMAGE/default definition individually for all devices, although there is actually only one exception. This merges the common parts into a single netgear_generic definition (in

[PATCH 3/4] lantiq: fix cosmetic issues with partition offsets and sizes

2020-07-25 Thread Adrian Schmutzler
This fixes a few cosmetic issues with partition offset and size that are inconsistent probably due to copy/pasting. Signed-off-by: Adrian Schmutzler --- .../arch/mips/boot/dts/lantiq/amazonse_netgear_dgn1000b.dts | 4 ++-- .../mips/boot/dts/lantiq/danube_arcadyan_arv4518pwr01.dtsi| 2 +-

[PATCH 0/4] disable default build on remaining 4M devices

2020-07-25 Thread Adrian Schmutzler
This disables the remaining 4M flash devices not yet taken care of. bcm63xx and ramips have already been covered in earlier patches. I didn't do anything about bcm47xx and bcm53xx, as I'm not familiar enough with these target. Somebody else should take care there. Adrian Schmutzler (4):

RE: [PATCH 1/1] tools: add firmware utils for linksys-addfwhdr generation. Needed for openwrt-factory flashing over the stock WEB interface for Linksys E8350-v1(and other linksys devices) The tool sou

2020-07-25 Thread mail
Hi Todor, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Todor Colov > Sent: Samstag, 25. Juli 2020 18:30 > To: openwrt-devel@lists.openwrt.org > Cc: Todor Colov > Subject: [PATCH 1/1] tools: add firmware utils for

[PATCH 1/1] tools: add firmware utils for linksys-addfwhdr

2020-07-25 Thread Todor Colov
Needed for openwrt-factory flashing over the stock WEB interface for Linksys E8350-v1(and other linksys devices) The tool source files for "addfwhdr" are placed in a separate sub-directory src/linksys - following naming convention for Manufacturer. Signed-off-by: Todor Colov ---

[PATCH 0/1] tools: add firmware util linksys-addfwhdr

2020-07-25 Thread Todor Colov
tools: add firmware utils for linksys-addfwhdr generation. Needed for openwrt-factory flashing over the stock WEB interface for Linksys E8350-v1(and other linksys devices) The tool source files for "addfwhdr" are placed in a separate sub-directory src/linksys - following naming convention for

[PATCH 1/1] base-files: fix nand.sh to remove metadata before ubiformat

2020-07-25 Thread Todor Colov
Signed-off-by: Todor Colov --- package/base-files/files/lib/upgrade/nand.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/lib/upgrade/nand.sh b/package/base-files/files/lib/upgrade/nand.sh index e7d7bf8d13..923c01a72d 100644 ---

[PATCH 0/1] base-files: fix nand.sh to remove metadata before ubiformat command

2020-07-25 Thread Todor Colov
Required for sysupgrade with KERNEL_IN_UBI ubinized volumes Todor Colov (1): base-files: fix nand.sh to remove metadata before ubiformat command package/base-files/files/lib/upgrade/nand.sh | 1 + 1 file changed, 1 insertion(+) -- 2.27.0 ___

[PATCH 1/1] tools: add firmware utils for linksys-addfwhdr generation. Needed for openwrt-factory flashing over the stock WEB interface for Linksys E8350-v1(and other linksys devices) The tool source

2020-07-25 Thread Todor Colov
Signed-off-by: Todor Colov --- tools/firmware-utils/Makefile | 4 +- tools/firmware-utils/src/linksys/addfwhdr.c | 195 tools/firmware-utils/src/linksys/bcmdefs.h| 318 + .../firmware-utils/src/linksys/code_pattern.h | 396

[PATCH 0/1] tools: add firmware util addfwhdr for linksys firmware header generation needed for Linksys E8350-v1.

2020-07-25 Thread Todor Colov
tools: add firmware utils for linksys-addfwhdr generation. Needed for openwrt-factory flashing over the stock WEB interface for Linksys E8350-v1(and other linksys devices) The tool source files for "addfwhdr" are placed in a separate sub-directory src/linksys - following naming convention for

[PATCH 1/1] ipq806x: Add support for Linksys E8350-v1

2020-07-25 Thread Todor Colov
Signed-off-by: Todor Colov --- .../ipq806x/base-files/etc/board.d/01_leds| 3 + .../ipq806x/base-files/etc/board.d/02_network | 1 + .../base-files/lib/upgrade/platform.sh| 3 +- .../arm/boot/dts/qcom-ipq8064-e8350-v1.dts| 246 ++

[PATCH 0/1] ipq806x: add support for Linksys E8350-v1

2020-07-25 Thread Todor Colov
Linksys E8350 is AC2350 (802.11ac Wave-2) router Device specifications: ArchitectureARM (armv7l cortex-a15+neon vfpv4) Vendor Linksys Bootloader U-Boot System-On-Chip Qualcomm IPQ8064 @ 1.4 GHz CPU/Speed 2 x 1.4 GHz Flash-Chips SPI MX25U3235F + NAND MT29F1G08ABBDAH4 Flash

RE: [PATCH 2/3] treewide: use wpad-basic-wolfssl as default

2020-07-25 Thread mail
> Understandably so. But like you said, they already have limited functionality > at this point: wpad-mini versus wpad-basic. At the same time, a lot of those > devices are EOL with 19.07, as you pointed out. So it would make more sense > to just keep them on wpad-mini - and maybe, to make the end

[PATCH] kernel: bump 5.4 to 5.4.53

2020-07-25 Thread Kevin Darbyshire-Bryant
Refresh patches. Remove upstreamed patches: bcm63xx/patches-5.4/022-v5.8-mtd-rawnand-brcmnand-correctly-verify-erased-pages.patch bcm63xx/patches-5.4/024-v5.8-mtd-rawnand-brcmnand-fix-CS0-layout.patch Drop the cake hack as upstream have backported the changes themselves, but in a slightly

[PATCH] mbedtls: update to 2.16.7

2020-07-25 Thread Magnus Kroken
Mbed TLS 2.16.7 is a maintenance release of the Mbed TLS 2.16 branch, and provides bug fixes and minor enhancements. This release includes fixes for security issues and the most severe one is described in more detail in a security advisory:

Re: [PATCH 2/3] treewide: use wpad-basic-wolfssl as default

2020-07-25 Thread Stijn Segers
Hi, Op zaterdag 25 juli 2020 om 11u28 schreef Petr Štetiar : Stijn Segers [2020-07-25 10:24:42]: Hi, I read Adrian's reply as 'we'll keep ath79/tiny out of the wpad SSL push?' but I might be mistaken of course. the idea of this patch series is to have the _same_ baseline in _all_

Re: [PATCH 2/3] treewide: use wpad-basic-wolfssl as default

2020-07-25 Thread Daniel Golle
On Sat, Jul 25, 2020 at 10:24:42AM +0200, Stijn Segers wrote: > ... > P.S. Is there a way to use mbedtTLS with wpad? That would be neat since one > could have > LuCI SSL and wpad lean on the same crypto library. I am now building images > with mbedTLS > for LuCI and wolfssl for wpad; it's still

Re: [PATCH 2/3] treewide: use wpad-basic-wolfssl as default

2020-07-25 Thread Rosen Penev
> On Jul 25, 2020, at 1:36 AM, Stijn Segers wrote: > > Hi Petr, > > Op zaterdag 25 juli 2020 om 10u08 schreef Petr Štetiar : >> m...@adrianschmutzler.de [2020-07-24 17:36:08]: >> Hi, >>> I would prefer to not touch ar71xx here, as this is essentially only used >>> for backporting, and

Re: [PATCH 2/3] treewide: use wpad-basic-wolfssl as default

2020-07-25 Thread Petr Štetiar
Stijn Segers [2020-07-25 10:24:42]: Hi, > I read Adrian's reply as 'we'll keep ath79/tiny out of the wpad SSL push?' > but I might be mistaken of course. the idea of this patch series is to have the _same_ baseline in _all_ images, so HTTPS and WPA3-Personal by default. It wouldn't make much

Re: [PATCH 1/3] hostapd: add wpad-basic-wolfssl variant

2020-07-25 Thread Daniel Golle
On Sat, Jul 25, 2020 at 10:44:46AM +0200, Petr Štetiar wrote: > Daniel Golle [2020-07-24 15:51:27]: > > Hi, > > > On Fri, Jul 24, 2020 at 04:29:38PM +0200, Petr Štetiar wrote: > > > Add package which provides wpad with WPA-PSK, SAE (WPA3-Personal), > > > 802.11r and 802.11w support. > > > > I

Re: [PATCH 1/3] hostapd: add wpad-basic-wolfssl variant

2020-07-25 Thread Petr Štetiar
Daniel Golle [2020-07-24 15:51:27]: Hi, > On Fri, Jul 24, 2020 at 04:29:38PM +0200, Petr Štetiar wrote: > > Add package which provides wpad with WPA-PSK, SAE (WPA3-Personal), > > 802.11r and 802.11w support. > > I think this should be merged with wpad-mesh. It's almost the same, but > only

Re: [PATCH 2/3] treewide: use wpad-basic-wolfssl as default

2020-07-25 Thread Stijn Segers
Hi Petr, Op zaterdag 25 juli 2020 om 10u08 schreef Petr Štetiar : m...@adrianschmutzler.de [2020-07-24 17:36:08]: Hi, I would prefer to not touch ar71xx here, as this is essentially only used for backporting, and changing stuff would only make these backports more complicated, while

[PATCH uhttpd] ubus: drop unused "obj" arguments

2020-07-25 Thread Rafał Miłecki
From: Rafał Miłecki Both: uh_ubus_send_request() and uh_ubus_send_list() don't use it. Signed-off-by: Rafał Miłecki --- ubus.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ubus.c b/ubus.c index 97cc1e2..51c58b5 100644 --- a/ubus.c +++ b/ubus.c @@ -288,7 +288,7 @@

[PATCH uhttpd] ubus: use BLOBMSG_TYPE_UNSPEC for "params" JSON attribute

2020-07-25 Thread Rafał Miłecki
From: Rafał Miłecki According to the JSON-RPC 2.0 specification "params" value can be either an Array or Object. This change makes parse_json_rpc() accept both. Type validation should be handled by a function that actually reads "params" depending on expected format. This doesn't change

Re: [PATCH 2/3] treewide: use wpad-basic-wolfssl as default

2020-07-25 Thread Petr Štetiar
m...@adrianschmutzler.de [2020-07-24 17:36:08]: Hi, > I would prefer to not touch ar71xx here, as this is essentially only used > for backporting, and changing stuff would only make these backports more > complicated, while not really providing a benefit. (I'm not sure whether it > can be still