[PATCHv3 2/3] busybox: update to 1.33

2021-01-07 Thread Rosen Penev
Remove stime backport. Remove static libgcc patch as upstream fixed it with BUSYBOX_DEFAULT_STATIC_LIBGCC which defauls to off. Remove date -k patch as it no longer applies. It's also pointless as busybox' hwclock utility can do the same thing. Remove ntpd patch as that seems to have been

[PATCHv3 3/3] busybox: remove useless busybox patches

2021-01-07 Thread Rosen Penev
The first two are useless as /bin/sh can execute those scripts just fine. Shellcheck reports no problems. Telnet patch is useless as telnet is no longer used in OpenWrt. Signed-off-by: Rosen Penev --- package/utils/busybox/patches/100-trylink_bash.patch | 8

[PATCHv3 1/3] base-files: use hwclock --systz

2021-01-07 Thread Rosen Penev
The date -k patch is non standard and will be removed in the next commit. Tested behavior to be identical with a simple C program: #define _GNU_SOURCE #include #include #include #include int main() { struct timezone tt; struct timezone tz; int a =

[PATCH] wireguard-tools: allow generating private_key

2021-01-07 Thread Leonardo Mörlein
When the uci configuration is created automatically during a very early stage, where no entropy daemon is set up, generating the key directly is not an option. Therefore we allow to set the private_key to "generate" and generate the private key directly before the interface is taken up.

[PATCH] iw: enable HE PHY information for iw-tiny

2021-01-07 Thread David Bauer
Currently PHY information obtained from "iw phy" lacks information about a PHYs HE capabilities when using the by default installed iw-tiny. As there are already 802.11ax supported devices, enabled printing this information for the by-default installed iw variant. Signed-off-by: David Bauer ---

RE: [PATCH 4/5] realtek: introduce shared DTSI for GS1900-HP series

2021-01-07 Thread Adrian Schmutzler
Hi, > -Original Message- > From: Stijn Segers [mailto:f...@volatilesystems.org] > Sent: Donnerstag, 7. Januar 2021 22:23 > To: Adrian Schmutzler > Cc: openwrt-devel@lists.openwrt.org > Subject: RE: [PATCH 4/5] realtek: introduce shared DTSI for GS1900-HP series > > Hi Adrian, > > Op

[PATCH 1/2] realtek: introduce shared DTSI for GS1900-HP series

2021-01-07 Thread Stijn Segers
The ZyXEL GS1900-8HP v1, v2 and GS1900-10HP are all built on a similar Realtek RTL8380M platform. Create a common DTSI in preparation for GS1900-8HP support, and switch to the macros defined in rtl838x.dtsi. Signed-off-by: Stijn Segers --- .../realtek/dts/rtl8380_zyxel_gs1900-10hp.dts | 189

RE: [PATCH 4/5] realtek: introduce shared DTSI for GS1900-HP series

2021-01-07 Thread Stijn Segers
Hi Adrian, Op donderdag 7 januari 2021 om 19:54 schreef Adrian Schmutzler : Hi, -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Stijn Segers Sent: Mittwoch, 6. Januar 2021 22:45 To: openwrt-devel@lists.openwrt.org Subject:

[PATCH 2/2] realtek: add support for ZyXEL GS1900-8HP v1 and v2

2021-01-07 Thread Stijn Segers
The ZyXEL GS1900-8HP is an 8 port gigabit switch with PoE+ support. There are two versions on the market (v1 & v2) which share similar specs (same flash size and flash layout, same RAM size, same PoE+ power envelope) but have a different case and board layout that they each share with other GS1900

[PATCH v2 3/3] uboot-envtools: use `commitcount` for release

2021-01-07 Thread Paul Spooren
Use `commitcount` function rather than manually setting a PKG_RELEASE. Signed-off-by: Paul Spooren --- package/boot/uboot-envtools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index

[PATCH v2 2/3] base-files: replace PKG_RELEASE with commitcount

2021-01-07 Thread Paul Spooren
The newly added `commitcount` function does automatic versioning based on the number of Git commits of a package. Replace *tedious to bump* and *merge conflict causing* `PKG_RELEASE` and replace it with `commitcount`. Signed-off-by: Paul Spooren --- package/base-files/Makefile | 3 +-- 1 file

[PATCH v2 1/3] rules: add commitcount function

2021-01-07 Thread Paul Spooren
`commitcount` returns the number of commits affecting the current folder. The newly added function can be used for packages that do not follow a traditional versioning schema, most prominent `base-files` which requires tedious `PKG_RELEASE` bumps. Below a naming example:

RE: [PATCH 4/5] realtek: introduce shared DTSI for GS1900-HP series

2021-01-07 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Stijn Segers > Sent: Mittwoch, 6. Januar 2021 22:45 > To: openwrt-devel@lists.openwrt.org > Subject: [PATCH 4/5] realtek: introduce shared DTSI for GS1900-HP series > > The

Upgrading Mikrotik RB922 (19.07 ar71xx -> 20.x ath79)

2021-01-07 Thread Koen Vandeputte
Hi all, I'm playing around with Mikrotik stuff to test flashing from 19.07 ar71xx towards master using sysupgrade. Trying this natively using sysupgrade shows Invalid firmware image: dd 'if=/tmp/openwrt-ath79-mikrotik-mikrotik_routerboard-922uags-5hpacd-squashfs-sysupgrade.bin' 'skip=0'

Re: [PATCH 1/3] rules: add commitcount function

2021-01-07 Thread Jo-Philipp Wich
Hi, I think this change will introduce massive overhead during the DUMP phase of the buildroot when scanning package metadata. You should wrap the logic into an `ifneq ($(DUMP),1)` or similar and simply return a static placeholder value if DUMP==1 ~ Jo signature.asc Description: OpenPGP

[PATCH 2/3] base-files: replace PKG_RELEASE with commitcount

2021-01-07 Thread Paul Spooren
The newly added `commitcount` function does automatic versioning based on the number of Git commits of a package. Replace *tedious to bump* and *merge conflict causing* `PKG_RELEASE` and replace it with `commitcount`. Signed-off-by: Paul Spooren --- package/base-files/Makefile | 3 +-- 1 file

[PATCH 3/3] uboot-envtools: use `commitcount` for release

2021-01-07 Thread Paul Spooren
Use `commitcount` function rather than manually setting a PKG_RELEASE. Signed-off-by: Paul Spooren --- package/boot/uboot-envtools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index

[PATCH 1/3] rules: add commitcount function

2021-01-07 Thread Paul Spooren
`commitcount` returns the number of commits affecting the current folder. The newly added function can be used for packages that do not follow a traditional versioning schema, most prominent `base-files` which requires tedious `PKG_RELEASE` bumps. Below a naming example: