[PATCH firmware-utils 2/2] otrx: allow validating TRX from stdin

2021-11-25 Thread Rafał Miłecki
From: Rafał Miłecki This makes "otrx check" work with stdin to allow e.g. dd if=firmware.chk skip=1 bs=58 | otrx check - Signed-off-by: Rafał Miłecki --- src/otrx.c | 50 +++--- 1 file changed, 47 insertions(+), 3 deletions(-) diff --git

[PATCH firmware-utils 1/2] otrx: avoid unneeded fseek() when calculating CRC32

2021-11-25 Thread Rafał Miłecki
From: Rafał Miłecki Just use already read data. Signed-off-by: Rafał Miłecki --- src/otrx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/otrx.c b/src/otrx.c index b5cd70d..aa81c96 100644 --- a/src/otrx.c +++ b/src/otrx.c @@ -193,8 +193,8 @@ static int

Re: [PATCH 0/1] build: scripts/config - update to kconfig-v5.14

2021-11-25 Thread Eneas U de Queiroz
On Thu, Nov 25, 2021 at 4:54 AM Florian Eckert wrote: > > Hello Eneas, > > > I've been looking at this too and wanted to update. > Since I wasn't there from the beginning, I don't know what all OpenWrt > changes. > Hence my suggestion: > Can't we put the changes OpenWrt makes to the source code

Re: [PATCH 0/1] build: scripts/config - update to kconfig-v5.14

2021-11-25 Thread Florian Eckert
Hello Eneas, On 2021-11-24 22:25, Eneas U de Queiroz wrote: I'm updating the Kconfig programs in scripts/config, from Linux 5.6 to 5.14. The changes are not crytical to openwrt, but regular updates ease the transition to an eventual newer version with more desirable features. I've been