[PATCH 2/2] ipq-wifi: add Pakedge WR-1 support

2022-08-24 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Calibration variants: Pakedge-WR-1ETSI, FCC and IC-2.4GHz Pakedge-WR-1-ACMA ACMA Pakedge-WR-1-IC IC-5GHz Pakedge-WR-1-SRRC SRRC Signed-off-by: Tomasz Maciej Nowak --- package/firmware/ipq-wifi/Makefile | 2 ++

[PATCH v3 1/2] ath79: mikrotik: stack ar9344 devices to single dtsi

2022-08-24 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Most of boards from MikroTik with AR9344 SoC (supported and un-supported) replicate the same schematic, so stack common device nodes to a single dtsi. ar9344_mikrotik_routerboard-16m-nor.dtsi: - remove include paragraph and wmac node, make it single nor flash node

[PATCH v3 2/2] ath79: add support for MikroTik RouterBOARD 911 Lite2/Lite5

2022-08-24 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Forward-port from ar71xx target the board introduced in commit eb9e3651dd1a (" ar71xx: add support for the MikroTik RB911-2Hn/5Hn boards"). Citing: The patch adds support for the MikroTik RB911-2Hn (911 Lite2) and the RB911-5Hn (911 Lite5) boards:

Re: howto support ramoops (former crashlog.o)

2022-08-24 Thread Bastian Bittorf
On Tue, Aug 23, 2022 at 07:53:53PM +0200, Daniel Golle wrote: > pstore/ramoops can only work on platforms which do NOT clear DRAM > content on (re-)boot. Many of the $vendor loaders unfortunately do that. > Archer C6U being an MT7621-based unit will probably need a replacement > bootloader in

[PATCH] ipq40xx: point to externally compiled dtbs in recipes

2022-08-24 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Adjusting dts will cause a rebuild of whole kernel as the buildroot considers this a part of kernel source. It's a royal PITA when trying to prepare support for new device, since this takes a lot of time on slower systems. As it stands, buildroot itself, with own rule,

[PATCH 1/2] ipq40xx: add support for Pakedge WR-1

2022-08-24 Thread Tomasz Maciej Nowak
From: Tomasz Maciej Nowak Pakedge WR-1 is a dual-band wireless router. Specification SoC: Qualcomm Atheros IPQ4018 RAM: 256 MB DDR3 Flash: 32 MB SPI NOR WIFI: 2.4 GHz 2T2R integrated 5 GHz 2T2R integrated Ethernet: 5x 10/100/1000 Mbps QCA8075 USB: 1x 2.0 LEDS: 8x (3 GPIO controlled, 5

[PATCH rpcd] sys: mitigate possible strncpy string truncation

2022-08-24 Thread Petr Štetiar
gcc 10 with -O2 reports following: In function ‘strncpy’, inlined from ‘rpc_sys_packagelist’ at /opt/devel/openwrt/c-projects/rpcd/sys.c:244:4: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 128 equals destination size

Re: [PATCH rpcd] sys: mitigate possible strncpy string truncation

2022-08-24 Thread Jo-Philipp Wich
Hi, comment below. ~ Jo On 8/24/22 10:14 AM, Petr Štetiar wrote: > [...] > --- a/sys.c > +++ b/sys.c > @@ -224,7 +224,8 @@ procstr: > continue; > > if (!strcmp(var, "Package:")) { > - strncpy(pkg, p1, sizeof(pkg)); > +