Re: [PATCH] base-files: add option to make /var persistent

2021-08-06 Thread Stijn Tintel
On 7/08/2021 02:56, Alberto Bursi wrote: > > > On 06/08/21 21:27, Stijn Tintel wrote: >> In OpenWrt, /var is symlinked to /tmp by default. This is done to reduce >> the amount of writes to the flash chip, which often don't have the >> greatest durability. As a result, things like DHCP or UPnP lease

Re: [PATCH] base-files: add option to make /var persistent

2021-08-06 Thread Alberto Bursi
On 06/08/21 21:27, Stijn Tintel wrote: In OpenWrt, /var is symlinked to /tmp by default. This is done to reduce the amount of writes to the flash chip, which often don't have the greatest durability. As a result, things like DHCP or UPnP lease files, are not persistent across reboots. Since O

[PATCH] base-files: add option to make /var persistent

2021-08-06 Thread Stijn Tintel
In OpenWrt, /var is symlinked to /tmp by default. This is done to reduce the amount of writes to the flash chip, which often don't have the greatest durability. As a result, things like DHCP or UPnP lease files, are not persistent across reboots. Since OpenWrt can run on devices with more durable

binutils: add gold linker support

2021-08-06 Thread Gérald Kerma
Héllo all, I have actually some PR which still in wait for reviews. I have a PR for OpenWrt : https://github.com/openwrt/openwrt/pull/4412 ... I have a PR for Packages, which have for requirement the first one for OpenWrt, for the CrowdSec Package : https://github.com/openwrt/packages/pull/

[PATCH firmware-utils] xiaomifw: new tool for managing Xiaomi firmwares

2021-08-06 Thread Rafał Miłecki
From: Rafał Miłecki This has been tested with Xiaomi routers images (r1cl, r1cm, r2100, r3, r3d, r3g, r4cm, ra70) but it should also be compatible with other devices as Xiaomi seems to share the same format across most of their products. The biggest & probably unresolvable problem is RSA 256 B s

[PATCH] firmware-utils: seama.h replace LGPL-2.1-or-later boilerplate with SPDX

2021-08-06 Thread Rafał Miłecki
From: Rafał Miłecki This was missed because scancode license scanner was confused by a slightly different than expected license text (96,75% license score). License text included "file" instead of "library" in the main part of the licensing info. It also used "The GNU C Library" instead of the s

[PATCH 5/5] firmware-utils: nand_ecc: replace GPL boilerplate with SPDX

2021-08-06 Thread Rafał Miłecki
From: Rafał Miłecki Cc: yajin Cc: Felix Fietkau Signed-off-by: Rafał Miłecki --- tools/firmware-utils/src/nand_ecc.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/tools/firmware-utils/src/nand_ecc.c b/tools/firmware-utils/src/nand_ecc.c index 58fb6ce0db

[PATCH 4/5] firmware-utils: trx: replace GPL-2.0-or-later boilerplate with SPDX

2021-08-06 Thread Rafał Miłecki
From: Rafał Miłecki This was missed because scancode license scanner was confused by comments about crc32buf(). Signed-off-by: Rafał Miłecki --- tools/firmware-utils/src/trx.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tools/firmware-utils/src/trx.c b/t

[PATCH 1/5] firmware-utils: mkmerakifw-old: replace GPL-2.0-only boilerplate with SPDX

2021-08-06 Thread Rafał Miłecki
From: Rafał Miłecki This was missed because scancode license scanner was confused by a comment about Cisco's GPL code github repository. Cc: Christian Lamparter Signed-off-by: Rafał Miłecki --- tools/firmware-utils/src/mkmerakifw-old.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-

[PATCH 2/5] firmware-utils: mkmylofw: replace GPL-2.0-or-later boilerplate with SPDX

2021-08-06 Thread Rafał Miłecki
From: Rafał Miłecki This was missed because scancode license scanner was confused by a comment about (no) copyrights in the init_crc_table(). Cc: Gabor Juhos Cc: Gabor Juhos Signed-off-by: Rafał Miłecki --- tools/firmware-utils/src/mkmylofw.c | 17 + 1 file changed, 1 inserti

[PATCH 3/5] firmware-utils: osbridge-crc: replace GPL-2.0-only boilerplate with SPDX

2021-08-06 Thread Rafał Miłecki
From: Rafał Miłecki This was missed because scancode license scanner was confused by comments about crc32buf(). Cc: Gabor Juhos Cc: Gabor Juhos Signed-off-by: Rafał Miłecki --- tools/firmware-utils/src/osbridge-crc.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/to