Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-16 Thread Michal Hrusecky via openwrt-devel
We've been making and maintaining OpenWrt based routers (yes with our little additions on top) for over a decade. Seems like you have everything figured out already, but wanted to state the obvious anyway - if you are interested, we are here and we would be happy to help. --

Re: Question about DNS-Tap integration

2022-05-16 Thread Michal Novotny
socat to be able to transfer it using TCP/IP layer. Did I miss something? Thanks, Michal On 5/16/22 17:27, Bjørn Mork wrote: Michal Novotny writes: recently we've found a new project called DNS-Tap and it can be found on the DNSTap.info website [1]. There are several implementations avai

Question about DNS-Tap integration

2022-05-16 Thread Michal Novotny
but having the option to set DNS-Tap sender to some IP address and port using OpenWRT configuration interface (LuCI) would be a pretty nice thing. Are you planning to add such a support? Thanks a lot, Michal Novotny GREYCORTEX s.r.o. -- Michal Novotny Researcher michal.novo...@greycortex.com

[PATCH opkg] Don't filter out directories when claiming ownership of a file.

2022-05-06 Thread Michal Vasilek via openwrt-devel
Backported from: https://git.yoctoproject.org/opkg/commit/?h=opkg-0.2.x&id=3d697f6303f381a507f37f8d63129151d745dc6c Fixes: https://github.com/openwrt/openwrt/issues/7519 [add link to an openwrt issue and to the original commit from yoctoproject] Signed-off-by: Michal Vasilek --- libopkg/pkg_hash

Re: Ubuntu 21.10 fails to compile OpenWrt 21.02 hosts tools (m4)

2021-10-18 Thread Michal Vasilek
On 10/18/21 4:54 PM, Hannu Nyman wrote: I noticed that Rosen has recently updated m4 in master to 1.4.19, so I tested cherry-picking the 1.4.19 version update to openwrt-21.02, and it helps. m4 again compiles  ;-) Apparently the m4 version 1.4.19 in master contains some fixes for host gcc 11,

[OpenWrt-Devel] [PATCH] kernel: generic: 5.4: fix mtd concat panic on read/write functions

2020-03-27 Thread Michal Cieslakiewicz
e to mount root fs on unknown-block(0,0) [2.274893] Rebooting in 1 seconds.. This patch makes mtd concat to follow new mtd requirements by registering either normal or oob versions of read/write functions, but not both at the same time. OOB is used only when underlying mtd devices pro

Re: [OpenWrt-Devel] [PATCH] ath79: fix NAND driver compilation for kernel 5.4

2020-03-23 Thread Michal Cieslakiewicz
On Sun, 22 Mar 2020 20:01:57 +0100 David Bauer wrote: > Hi Michal > > > I'm not that deep into the mtd-concat hack (expecially on NAND > flash). We might also run into issues when migrating to the new NAND > interface. If you you've found a fix for this, it would

Re: [OpenWrt-Devel] [PATCH] ath79: fix NAND driver compilation for kernel 5.4

2020-03-22 Thread Michal Cieslakiewicz
Hello David, Good news, Netgear WNDR4300 runs fine on kernel 5.4 with this patch applied. Tested-by: Michal Cieslakiewicz I would also propose to mitigate two compilation warnings by introducing a return value here (by integrating into your patch): = diff --git a/target/linux/ath79/f

[OpenWrt-Devel] [PATCH] ath79: WNDR3700 v1/v2: make u-boot env partition writable

2020-02-03 Thread Michal Cieslakiewicz
Remove read-only flag from U-boot environment partition for Netgear WNDR3700 v1 and v2 so u-boot-envtools can modify data there. Signed-off-by: Michal Cieslakiewicz --- target/linux/ath79/dts/ar7161_netgear_wndr3700-v2.dts | 1 - target/linux/ath79/dts/ar7161_netgear_wndr3700.dts| 1 - 2

Re: [OpenWrt-Devel] [PATCH v2 2/2] ath79: uboot-envtools: add Netgear WNDR3700v2

2020-02-03 Thread Michal Cieslakiewicz
didn't noticed that env is marked as read-only it dts. But maybe it will be better to issue a separate patch to make uboot-env for both 3700v1 and v2 writable? 3700v1 is write-protected despite being already recognized by uboot-envtools... Regards Michal ___

Re: [OpenWrt-Devel] ath79: NAND bad eraseblocks in MikroTik RouterBOARD 922UAGS-5HPacD

2020-01-30 Thread Michal Cieslakiewicz
On Thu, 30 Jan 2020 21:40:43 +0100 "Roger Pueyo Centelles | Guifi.net" wrote: > Hi Michal, > > El 29/1/20 a les 20:07, Michal Cieslakiewicz ha escrit: > > Please try adding 'qca,nand-swap-dma;' to '&nand' section in > > router dts file

Re: [OpenWrt-Devel] ath79: NAND bad eraseblocks in MikroTik RouterBOARD 922UAGS-5HPacD

2020-01-29 Thread Michal Cieslakiewicz
By looking at C file, I have also found that this router uses model-specific ath79_nfc_set_scan_fixup() routine - a functionality that is not implemented in ath79, because there was no need for such quirks, at least not until now. Best regards Michal ___

[OpenWrt-Devel] [PATCH v2 1/2] ath79: WNDR3700v2: add dash before version in device name

2020-01-20 Thread Michal Cieslakiewicz
Adapt Netgear WNDR3700v2 device identification string to ath79 naming scheme by changing from 'wndr3700v2' to 'wndr3700-v2' (affects config, makefile, init scripts and device tree definition). Signed-off-by: Michal Cieslakiewicz --- ...etgear_wndr3700v2.dts => ar7161_

[OpenWrt-Devel] [PATCH v2 2/2] ath79: uboot-envtools: add Netgear WNDR3700v2

2020-01-20 Thread Michal Cieslakiewicz
Add Netgear WNDR3700v2 to the list of supported boards. Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files/ath79 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/boot/uboot-envtools/files/ath79 b/package/boot/uboot-envtools/files/ath79 index

[OpenWrt-Devel] [PATCH v2 0/2] ath79: update device naming for Netgear WNDR3700v2

2020-01-20 Thread Michal Cieslakiewicz
This patch changes device string to 'wndr3700-v2' (adds dash before variant) making it compatible with naming convention for ath79 target. Then board, under its new name, is added to uboot-envtools. Changes v1->v2: * SUPPORTED_DEVICES fixed to allow sysupgrading from older ath79 builds Patch lis

[OpenWrt-Devel] [PATCH] ath79: fix SUPPORTED_DEVICES for WNDR4300 and WNDR3700v4

2020-01-20 Thread Michal Cieslakiewicz
Kernel partition increase to 4 MiBs for Netgear WNDR3700v4 and WNDR4300 routers breaks sysupgrade image compatibility with ar71xx builds. Therefore, SUPPORTED_DEVICES variable has to be removed for both devices from target makefile. Signed-off-by: Michal Cieslakiewicz --- target/linux/ath79

Re: [OpenWrt-Devel] [PATCH 0/2] ath79: update device naming for Netgear WNDR3700v2

2020-01-20 Thread Michal Cieslakiewicz
ear ones like WNR612v2, WNDR4300v2 and so on. And yes, it 'breaks' smooth downgrade path to ar71xx, but please be aware that when changing branches it is always better to begin with clean/default device configuration. Best regards Michal _

Re: [OpenWrt-Devel] [PATCH 1/2] ath79: WNDR3700v2: add dash before version in device name

2020-01-20 Thread Michal Cieslakiewicz
x27;ll issue v2 soon with that one fixed. Best regards Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH 1/2] ath79: WNDR3700v2: add dash before version in device name

2020-01-19 Thread Michal Cieslakiewicz
Adapt Netgear WNDR3700v2 device identification string to ath79 naming scheme by changing from 'wndr3700v2' to 'wndr3700-v2' (affects config, makefile, init scripts and device tree definition). Signed-off-by: Michal Cieslakiewicz --- ...etgear_wndr3700v2.dts => ar7161_

[OpenWrt-Devel] [PATCH 2/2] ath79: uboot-envtools: add Netgear WNDR3700v2

2020-01-19 Thread Michal Cieslakiewicz
Add Netgear WNDR3700v2 to the list of supported boards. Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files/ath79 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/boot/uboot-envtools/files/ath79 b/package/boot/uboot-envtools/files/ath79 index

[OpenWrt-Devel] [PATCH 0/2] ath79: update device naming for Netgear WNDR3700v2

2020-01-19 Thread Michal Cieslakiewicz
This patchset changes device string to 'wndr3700-v2' (adds dash before variant) making it compatible with naming convention for ath79 target. Then board, under its new name, is added to uboot-envtools. Patch list (2): ath79: WNDR3700v2: add dash before version in device name ath79: uboot-envto

Re: [OpenWrt-Devel] OpenWrt 20.X release plans

2020-01-16 Thread Michal Cieslakiewicz
even though they were in master since the end of 2019. IMHO OpenWrt should have an one final, rock-stable release based on latest 4.x LTS kernel (4.19 that is) with ath79 replacing ar71xx whenever possible. Apologies for being so Atheros-centric :-) Cheers Michal ___

[OpenWrt-Devel] [PATCH v2 0/4] ath79: add support for QCA9563-based Netgear WNDR routers

2019-12-22 Thread Michal Cieslakiewicz
This patchset introduces support for two Netgear dual-band routers based on the same PCB (29764821) with QCA9563 SoC, AR9580 5GHz chip, 128 MiB RAM, 2 MiB SPI-NOR + 128 MiB SPI-NAND flash: * Netgear WNDR4300 v2 * Netgear WNDR4500 v3 WNDR4300v2 has been tested successfully with this patchset applie

[OpenWrt-Devel] [PATCH v2 3/4] ath79: add support for Netgear WNDR4300 v2

2019-12-22 Thread Michal Cieslakiewicz
ld configuration CONFIG_TARGET_ath79=y CONFIG_TARGET_ath79_nand=y CONFIG_TARGET_ath79_nand_DEVICE_netgear_wndr4300-v2=y CONFIG_ALL_KMODS=y CONFIG_DEVEL=y CONFIG_CCACHE=y CONFIG_COLLECT_KERNEL_DEBUG=y CONFIG_IMAGEOPT=y Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files/a

[OpenWrt-Devel] [PATCH v2 4/4] ath79: add support for Netgear WNDR4500 v3

2019-12-22 Thread Michal Cieslakiewicz
separate LEDs * USB LEDs soldered to secondary pads * WPS and RFKILL buttons soldered to secondary pads * described as N900 device with 3x3:3 MIMO for 2.4GHz radio * power supply requirement is DC 12V 2.5A * vendor HW ID suffix differs in one digit * bigger chassis Signed-off-by: Michal

[OpenWrt-Devel] [PATCH v2 2/4] ath79: WNDR4300: increase kernel partition to 4M

2019-12-22 Thread Michal Cieslakiewicz
Increase kernel partition from 2 MiB to 4 MiB for Netgear WNDR routers with NAND flash. Change affects following devices: * Netgear WNDR3700 v4 * Netgear WNDR4300 Signed-off-by: Michal Cieslakiewicz --- target/linux/ath79/dts/ar9344_netgear_wndr.dtsi | 10 +- target/linux/ath79/image

[OpenWrt-Devel] [PATCH v2 1/4] mac80211: ath9k: add GPIO mask dts property

2019-12-22 Thread Michal Cieslakiewicz
ample - it uses GPI9 for RFKILL. See ath9k/reg.h *_GPIO_MASK constants. Use with caution and expect to see stream of kernel warnings if wrong mask value is provided. Signed-off-by: Michal Cieslakiewicz --- .../patches/ath/553-ath9k_of_gpio_mask.patch | 25 +++ 1 file changed, 25

Re: [OpenWrt-Devel] [PATCH 2/3] ath79: add support for Netgear WNDR4300 v2

2019-12-21 Thread Michal Cieslakiewicz
quot;netgear,uimage" compatibility string is not used somwehere in the install/config/sysupgrade process. If not, then indeed it's redundant. Best regards Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH 0/3] ath79: add support for QCA9563-based Netgear WNDR routers

2019-12-21 Thread Michal Cieslakiewicz
(resent due to me being lazy and using reply-to, apologies and pls ignore previous thread) This patchset introduces support for two Netgear dual-band routers based on the same PCB (29764821) with QCA9563 SoC, AR9580 5GHz chip, 128 MiB RAM, 2 MiB SPI-NOR + 128 MiB SPI-NAND flash: * Netgear WNDR43

[OpenWrt-Devel] [PATCH 2/3] ath79: add support for Netgear WNDR4300 v2

2019-12-21 Thread Michal Cieslakiewicz
Test build configuration CONFIG_TARGET_ath79=y CONFIG_TARGET_ath79_nand=y CONFIG_TARGET_ath79_nand_DEVICE_netgear_wndr4300-v2=y CONFIG_ALL_KMODS=y CONFIG_DEVEL=y CONFIG_CCACHE=y CONFIG_COLLECT_KERNEL_DEBUG=y CONFIG_IMAGEOPT=y Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files/ath79

[OpenWrt-Devel] [PATCH 3/3] ath79: add support for Netgear WNDR4500 v3

2019-12-21 Thread Michal Cieslakiewicz
* WPS and RFKILL buttons soldered to secondary pads * described as N900 device with 3x3:3 MIMO for 2.4GHz radio * power supply requirement is DC 12V 2.5A * HW ID suffix differs in one digit * bigger case Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files/ath79 | 1

[OpenWrt-Devel] [PATCH 1/3] mac80211: ath9k: add GPIO mask dts property

2019-12-21 Thread Michal Cieslakiewicz
ample - it uses GPI9 for RFKILL. See ath9k/reg.h *_GPIO_MASK constants. Use with caution and expect to see stream of kernel warnings if wrong mask value is provided. Signed-off-by: Michal Cieslakiewicz --- .../patches/ath/553-ath9k_of_gpio_mask.patch | 25 +++ 1 file changed, 25

[OpenWrt-Devel] [PATCH 3/3] ath79: add support for Netgear WNDR4500 v3

2019-12-21 Thread Michal Cieslakiewicz
separate LEDs * WPS and RFKILL buttons soldered to secondary pads * described as N900 device with 3x3:3 MIMO for 2.4GHz radio * power supply requirement is DC 12V 2.5A * HW ID suffix differs in one digit * bigger case Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files

[OpenWrt-Devel] [PATCH 0/3] ath79: add support for QCA9563-based Netgear WNDR routers

2019-12-21 Thread Michal Cieslakiewicz
This patchset introduces support for two Netgear dual-band routers based on the same PCB (29764821) with QCA9563 SoC, AR9580 5GHz chip, 128 MiB RAM, 2 MiB SPI-NOR + 128 MiB SPI-NAND flash: * Netgear WNDR4300 v2 * Netgear WNDR4500 v3 WNDR4300v2 has been tested successfully with this patchset applie

[OpenWrt-Devel] [PATCH 2/3] ath79: add support for Netgear WNDR4300 v2

2019-12-21 Thread Michal Cieslakiewicz
Test build configuration CONFIG_TARGET_ath79=y CONFIG_TARGET_ath79_nand=y CONFIG_TARGET_ath79_nand_DEVICE_netgear_wndr4300-v2=y CONFIG_ALL_KMODS=y CONFIG_DEVEL=y CONFIG_CCACHE=y CONFIG_COLLECT_KERNEL_DEBUG=y CONFIG_IMAGEOPT=y Signed-off-by: Michal Cieslakiewicz --- p

[OpenWrt-Devel] [PATCH 1/3] mac80211: ath9k: add GPIO mask dts property

2019-12-21 Thread Michal Cieslakiewicz
ample - it uses GPI9 for RFKILL. See ath9k/reg.h *_GPIO_MASK constants. Use with caution and expect to see stream of kernel warnings if wrong mask value is provided. Signed-off-by: Michal Cieslakiewicz --- .../patches/ath/553-ath9k_of_gpio_mask.patch | 25 +++ 1 file changed, 25

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for Netgear WNDR4300

2019-11-19 Thread Michal Cieslakiewicz
(0xff) - so tells hexdump anyway. Both radios were tested and confirmed to work prior to submitting patch. I think it's safe to backport that to ar71xx, if not - it does no harm to have extra 0xff bytes at the end I guess. Regards Michal ___ openwrt-d

Re: [OpenWrt-Devel] [PATCH] ath79: enable all space on Netgear ar9344-based WNDR routers

2019-11-19 Thread Michal Cieslakiewicz
s). Regards Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] ath79: enable all space on Netgear ar9344-based WNDR routers

2019-11-19 Thread Michal Cieslakiewicz
> > That was my question, if the "new" OpenWrt sysupgrade.bin still works > in the initial flash. > sysupgrade.bin for this model is in format tar+metadata, it is not designed to be put into flash directly. Regards Michal ___

Re: [OpenWrt-Devel] [PATCH] ath79: enable all space on Netgear ar9344-based WNDR routers

2019-11-19 Thread Michal Cieslakiewicz
Hello, Argh, I forgot to add this to my previous email... ubi volume is successfully resized, but ubi filesystem on top of it is not - so /overlay does not benefit from extra space. Are there any methods for UBIFS online resize that complement ubirsvol? Best regards Michal

Re: [OpenWrt-Devel] [PATCH] ath79: enable all space on Netgear ar9344-based WNDR routers

2019-11-19 Thread Michal Cieslakiewicz
. I hope this answers your question. Best regards Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] ath79: enable all space on Netgear ar9344-based WNDR routers

2019-11-19 Thread Michal Cieslakiewicz
{ local board_name="$(cat /tmp/sysinfo/board_name || echo '')" case "$board_name" in netgear,wndr3700-v4|\ netgear,wndr4300) grow_ubi_volume 1

Re: [OpenWrt-Devel] [PATCH] ath79: enable all space on Netgear ar9344-based WNDR routers

2019-11-12 Thread Michal Cieslakiewicz
On Tue, 12 Nov 2019 17:15:17 +0100 David Bauer wrote: > Hello Michal, > > Have you tried if this breaks sysupgrade from an older OpenWrt > firmware? I'm not sure if an UBI resize works without additional > steps. > > Best wishes > David > Hello David, T

Re: [OpenWrt-Devel] [PATCH] ath79: enable all space on Netgear ar9344-based WNDR routers

2019-11-12 Thread Michal Cieslakiewicz
s used somehow by vendor firmware in a way that I wasn't able to investigate. My WNDR4300 (bought used) had this whole area erased. I do not know if that was default setup or deliberate action of previous owner. Vendor firmware does not reflash that partition

[OpenWrt-Devel] [PATCH] ath79: enable all space on Netgear ar9344-based WNDR routers

2019-11-12 Thread Michal Cieslakiewicz
kup' while preserving ART backup. No data is wiped or moved away. This increases area for OS ubi volumes from 23 to 119 Megabytes. Signed-off-by: Michal Cieslakiewicz --- .../linux/ath79/dts/ar9344_netgear_wndr.dtsi | 25 +++ 1 file changed, 20 insertions(+), 5 deletions(-

[OpenWrt-Devel] [PATCH] ath79: split dts file for Netgear WNDR4300

2019-11-12 Thread Michal Cieslakiewicz
Move board configuration to dtsi file in preparation for WNDR3700v4 router support. Signed-off-by: Michal Cieslakiewicz --- .../linux/ath79/dts/ar9344_netgear_wndr.dtsi | 290 ++ .../ath79/dts/ar9344_netgear_wndr4300.dts | 286 + 2 files changed, 291

[OpenWrt-Devel] [PATCH] ar71xx: update uboot-envtools for Netgear WNR routers

2019-11-06 Thread Michal Cieslakiewicz
Boards added: WNR1000v2, WNR2000v3, WNR2200, WNR612v2, WNDR4300. Boards changed: WNDR3700 (u-boot env size is 2 sectors not 1). Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files/ar71xx | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a

[OpenWrt-Devel] [PATCH] ath79: update uboot-envtools for Netgear WNR routers

2019-11-06 Thread Michal Cieslakiewicz
Boards added: WNR1000v2, WNR2000v3, WNR612v2, WNDR3700. Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files/ath79 | 6 ++ 1 file changed, 6 insertions(+) diff --git a/package/boot/uboot-envtools/files/ath79 b/package/boot/uboot-envtools/files/ath79 index 5da5df2420

[OpenWrt-Devel] ath79: add support for Netgear WNDR4300 - patches mixed

2019-11-02 Thread Michal Cieslakiewicz
cd87272eb241b1ea7955c1631ad2bb8d38e9fae9 - this is part of obsolete v2 than creates nand-netgear.mk file and includes it in Makefile... ...so in effect now there are duplicated makefiles for WNDR4300. My advice is to revert the latter one. Best regards Michal

[OpenWrt-Devel] [PATCH v3] ath79: add support for Netgear WNDR4300

2019-10-31 Thread Michal Cieslakiewicz
NFIG_IMAGEOPT=y Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files/ath79 | 3 + .../ath79/dts/ar9344_netgear_wndr4300.dts | 293 ++ target/linux/ath79/image/nand.mk | 32 ++ .../ath79/nand/base-files/etc/board.d/01_leds | 3 + .../nand

Re: [OpenWrt-Devel] [PATCH v3] ath79: add support for Netgear WNDR4300

2019-10-31 Thread Michal Cieslakiewicz
h vendor and ar71xx labels, so this hasn't been changed. Regards Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for Netgear WNR2200

2019-10-31 Thread Michal Cieslakiewicz
and applied without problems on clean clone as well... Regards Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for Netgear WNDR4300

2019-10-30 Thread Michal Cieslakiewicz
used for that very > reason. > It is for compatibility with vendor naming 'scheme' (which I agree is inconsistent by itself), there is also 'caldata_backup' partition that is a copy of 'caldata'. Cheers Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH v2] ath79: add support for Netgear WNR2200

2019-10-30 Thread Michal Cieslakiewicz
CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files/ath79 | 2 + .../ath79/dts/ar7241_netgear_wnr2200-16m.dts | 34 +++ .../ath79/dts/ar7241_netgear_wnr2200-8m.dts | 34 +++ .../ath79/dts/ar7241_netgear_wnr2200.dtsi | 207 ++ .../generic

[OpenWrt-Devel] [PATCH v2] ath79: add support for Netgear WNDR4300

2019-10-30 Thread Michal Cieslakiewicz
NFIG_IMAGEOPT=y Signed-off-by: Michal Cieslakiewicz --- package/boot/uboot-envtools/files/ath79 | 3 + .../ath79/dts/ar9344_netgear_wndr4300.dts | 293 ++ target/linux/ath79/image/Makefile | 1 + target/linux/ath79/image/nand-netgear.mk | 34 ++ .../ath79/

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for Netgear WNR2200

2019-10-30 Thread Michal Cieslakiewicz
to match Netgear file, now it can be accepted and flashed using vendor's firmware web interface; flashing via uboot/recovery/sysupgrade is not affected Best regards Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for Netgear WNDR4300

2019-10-30 Thread Michal Cieslakiewicz
have been fixed since old patchset and it works now. Best regards Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH 2/2] ath79: Prepare NAND subtarget for upstream support of SPI NAND

2019-10-26 Thread Michal Cieslakiewicz
On Thu, 24 Oct 2019 20:55:01 -0700 Jeff Kletsky wrote: > > Cc: Michal Cieslakiewicz > > [...] > > diff --git a/target/linux/ath79/nand/config-default > b/target/linux/ath79/nand/config-default index c8114a4985..695afdce88 > 100644 --- a/target/linux/ath79/nand/confi

[OpenWrt-Devel] [PATCH] ath79: add support for Netgear WNR2200

2019-10-22 Thread Michal Cieslakiewicz
CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 4 +- .../ath79/base-files/etc/board.d/02_network | 2 + .../etc/hotplug.d/firmware/10-ath9k-eeprom| 2 + .../ath79/dts/ar7241_netgear_wnr2200-16m.dts | 34 +++ .../ath79/dts

[OpenWrt-Devel] [PATCH] ath79: wnr1000v2: fix image header information

2019-10-22 Thread Michal Cieslakiewicz
Factory image generated for Netgear WNR1000 v2 has incorrect device and hardware ID information in header due to missing makefile variables. This fix adds them to device section. Signed-off-by: Michal Cieslakiewicz --- target/linux/ath79/image/tiny-netgear.mk | 2 ++ 1 file changed, 2

Re: [OpenWrt-Devel] [PATCH v5 2/5] ath79: WNR612v2: improve device support

2019-10-16 Thread Michal Cieslakiewicz
are set from art > but Wifi needs to be calculated. > > Best > > Adrian Hello Adrian, Yes, you've raised this topic, albeit without above offsets: https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg47839.html Anyway, verified again for 612v2, nothing resembling hw

[OpenWrt-Devel] [PATCH v5 1/5] ath79: add LAN LEDs control bits for AR724x GPIO function pinmux

2019-10-16 Thread Michal Cieslakiewicz
ontrol all GPIO-connected LEDs and buttons on device. Signed-off-by: Michal Cieslakiewicz --- target/linux/ath79/dts/ar724x.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/target/linux/ath79/dts/ar724x.dtsi b/target/linux/ath79/dts/ar724x.dtsi index b2844bf179..

[OpenWrt-Devel] [PATCH v5 3/5] ath79: add support for Netgear WNR2000 v3

2019-10-16 Thread Michal Cieslakiewicz
CONFIG_DEVEL=y CONFIG_CCACHE=y CONFIG_COLLECT_KERNEL_DEBUG=y CONFIG_IMAGEOPT=y CONFIG_KERNEL_DEBUG_INFO=y CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 11 + .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d

[OpenWrt-Devel] [PATCH v5 5/5] ath79: add support for Netgear WNR2200

2019-10-16 Thread Michal Cieslakiewicz
CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 4 +- .../ath79/base-files/etc/board.d/02_network | 2 + .../etc/hotplug.d/firmware/10-ath9k-eeprom| 2 + .../ath79/dts/ar7241_netgear_wnr2200-16m.dts | 34 +++ .../ath79/dts

[OpenWrt-Devel] [PATCH v5 2/5] ath79: WNR612v2: improve device support

2019-10-16 Thread Michal Cieslakiewicz
to 'ath9k-keys' * dts: 'label-mac-device' set to eth1 (LAN) * dts: formatting adjustments Signed-off-by: Michal Cieslakiewicz --- .../ath79/dts/ar7240_netgear_wnr612-v2.dts| 2 +- .../ath79/dts/ar7240_netgear_wnr612-v2.dtsi | 23 +-- target/linux/ath79/d

[OpenWrt-Devel] [PATCH v5 0/5] ath79: add support for some Netgear WNR routers

2019-10-16 Thread Michal Cieslakiewicz
This patchset enables ath79 target for following Netgear ar724x-based routers currently supported by ar71xx: * Netgear WNR1000v2 (tiny, 4_32) * Netgear WNR2000v3 (tiny, 4_32) * Netgear WNR2200 (generic, 8_64 and 16_64, USB) and improves existing support for: * Netgear WNR612v2 (tiny, 4_32) For al

[OpenWrt-Devel] [PATCH v5 4/5] ath79: add support for Netgear WNR1000 v2

2019-10-16 Thread Michal Cieslakiewicz
CONFIG_DEVEL=y CONFIG_CCACHE=y CONFIG_COLLECT_KERNEL_DEBUG=y CONFIG_IMAGEOPT=y CONFIG_KERNEL_DEBUG_INFO=y CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 1 + .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d

Re: [OpenWrt-Devel] [PATCH 1/2] ath79: add support for Netgear WNDR4300

2019-10-14 Thread Michal Cieslakiewicz
ion. I will use that one. Thanks! Regards Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] ath79: add AR934x NAND Flash Controller driver

2019-10-14 Thread Michal Cieslakiewicz
On Mon, 14 Oct 2019 12:57:29 +0200 David Bauer wrote: > Hello Michal > > On 10/14/19 12:22 AM, Michal Cieslakiewicz wrote: > > Hello David, > > > > Yes, please update my commit. > > > > Thank you for your feedback, review and tests. Indeed I (wrongly

Re: [OpenWrt-Devel] [PATCH] ath79: add AR934x NAND Flash Controller driver

2019-10-13 Thread Michal Cieslakiewicz
On Sun, 13 Oct 2019 21:12:28 +0200 David Bauer wrote: > Hello Michal, > > I've tested your patch on my Aerohive HiveAP-121 (patch to follow). > While it worked most of the times, in around 1 out of 5 boot > attempts, the driver will fail to probe: > > [3.

Re: [OpenWrt-Devel] [PATCH 1/2] ath79: add support for Netgear WNDR4300

2019-10-11 Thread Michal Cieslakiewicz
en though vendor u-boot does not put Wifi into use, it defines where wmac address is for u-boot commands like 'wmacset' etc. We should consider leaving it as it is now, as long as we decide to honour u-boot as the valid option/tool for changing device configuration. It l

Re: [OpenWrt-Devel] [PATCH 1/2] ath79: add support for Netgear WNDR4300

2019-10-11 Thread Michal Cieslakiewicz
ied it > against stock firmware? > > lan art 0x0 > wan art 0x6 > 2.4 GHz art 0x0 > 5 GHz art 0xc > I can confirm this layout is identical to both stock firmware and ar71xx version. > Have you checked that there are no usable addresses in 0x1002 and > 0x5006? > Yes, ther

[OpenWrt-Devel] [PATCH] image: add magic number option for append-uImage-fakehdr

2019-10-11 Thread Michal Cieslakiewicz
'append-uImage-fakehdr' can now accept magic number as a second, optional parameter (passed directly to 'mkimage' command with '-M' option). This enables construction of proper Netgear-specific fake rootfs images (required for flashing WNDR4300 for example). Signe

[OpenWrt-Devel] [PATCH 1/2] ath79: add support for Netgear WNDR4300

2019-10-11 Thread Michal Cieslakiewicz
EL_DEBUG=y CONFIG_IMAGEOPT=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 3 + .../ath79/base-files/etc/board.d/02_network | 5 + .../etc/hotplug.d/firmware/10-ath9k-eeprom| 6 + .../ath79/dts/ar9344_netgear_wndr4300.dts

[OpenWrt-Devel] [PATCH 0/2] ar71xx: standarize Netgear WNDR4300 controls

2019-10-11 Thread Michal Cieslakiewicz
Two patches attached here are intended to make Netgear WNDR4300 behaviour more consistent with other routers running OpenWrt. Changes: * buttons are renamed to standard ones ("reset", "wps", "rfkill") so /etc/rc.button.d/ scripts can handle them by default * WAN LED colour is no longer indicating

[OpenWrt-Devel] [PATCH 2/2] base-files: fix sysupgrade for Netgear WNDR4300

2019-10-11 Thread Michal Cieslakiewicz
This patch provides correct flashing via sysupgrade for Netgear WNDR4300 router with NAND flash memory. Without this fix upgrade process is not aware of UBI layer and corrupts volume data putting router in Firmware Recovery mode. Signed-off-by: Michal Cieslakiewicz --- target/linux/ath79/base

[OpenWrt-Devel] [PATCH] ath79: add AR934x NAND Flash Controller driver

2019-10-11 Thread Michal Cieslakiewicz
il() function pair replaced by using recommended nand_scan() with attach_chip() callback * ECC is set to hardware by default, can be overriden by standard DT 'nand-ecc-*' properties (software Hamming or BCH are other options) This driver has been successfully tested on Netgear WNDR4300 ru

[OpenWrt-Devel] [PATCH 0/2] ath79: add support for Netgear WNDR4300

2019-10-11 Thread Michal Cieslakiewicz
This patchset enables ath79 target for Netgear WNDR4300 (version 1). The goal is to provide full functionality in ath79, on a par with ar71xx target. For OpenWrt to build and operate correctly on this equipment, two prerequisite patches are required: * "ath79: add AR934x NAND Flash Controller dri

[OpenWrt-Devel] [PATCH 1/2] ar71xx: WNDR4300: use standard labels for buttons

2019-10-11 Thread Michal Cieslakiewicz
GPIO key labels have been changed to standard ones (rfkill, reset, wps). It does not affect button functionality. Signed-off-by: Michal Cieslakiewicz --- target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target

[OpenWrt-Devel] [PATCH 2/2] ar71xx: WNDR4300: fix WAN LED behaviour

2019-10-11 Thread Michal Cieslakiewicz
Change WAN LED behaviour to be consistent with other Netgear routers running OpenWrt. Instead of link speed, use amber colour to indicate link status. Green LED should be used when Internet connection is up and running. Signed-off-by: Michal Cieslakiewicz --- target/linux/ar71xx/base-files/etc

Re: [OpenWrt-Devel] ath9k: mtd-cal-data vs firmware bin file

2019-08-16 Thread Michal Cieslakiewicz
sparing this 4k (even less, as I guess it's squashed) will yield any reasonable gain for tiny flash devices, it was more of internal design curiosity. Best regards Michal ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists

[OpenWrt-Devel] ath9k: mtd-cal-data vs firmware bin file

2019-08-14 Thread Michal Cieslakiewicz
ted, ath9k initialization ends with error) I recall there was no such operation in ar71xx target and older kernels... Best regards Michal -BEGIN PGP SIGNATURE- iQIzBAEBCAAdFiEEi7ylFMzTSbpOuOZIHU8//LdGKWsFAl1TzWoACgkQHU8//LdG KWs+Bw/8DJHoJV8rfG8DYDHriwRa9vmRH8Ay4PVA7VDSoA1BJwE990

Re: [OpenWrt-Devel] [PATCH v4 3/5] ath79: add support for Netgear WNR2000 v3

2019-08-13 Thread Michal Cieslakiewicz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Tue, 13 Aug 2019 13:03:55 +0200 "Adrian Schmutzler" wrote: > > -Original Message- > > From: openwrt-devel > > [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of > > Michal Cieslakiewicz Sen

Re: [OpenWrt-Devel] [PATCH v4 4/5] ath79: add support for Netgear WNR1000 v2

2019-08-13 Thread Michal Cieslakiewicz
> I'd use "ath9k-keys" here and also in 5/5 ... > > Best > > Adrian Hi, Well, I had identical doubts, but now IRQ keys are reality, so it is indeed a good idea to emphasize that. Scheduled for v5. Regards Michal -BEGIN PGP SIGNATURE- iQIyBAEBCAAdFi

[OpenWrt-Devel] [PATCH v4 3/5] ath79: add support for Netgear WNR2000 v3

2019-08-13 Thread Michal Cieslakiewicz
=y CONFIG_IMAGEOPT=y CONFIG_KERNEL_DEBUG_INFO=y CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 12 + .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d/firmware/10-ath9k-eeprom| 1 + .../ath79/dts

[OpenWrt-Devel] [PATCH v4 1/5] ath79: add LAN LEDs control bits for AR724x GPIO function pinmux

2019-08-13 Thread Michal Cieslakiewicz
ontrol all GPIO-connected LEDs and buttons on device. Signed-off-by: Michal Cieslakiewicz --- target/linux/ath79/dts/ar724x.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/target/linux/ath79/dts/ar724x.dtsi b/target/linux/ath79/dts/ar724x.dtsi index b2844bf179..

[OpenWrt-Devel] [PATCH v4 2/5] ath79: WNR612v2: improve device support

2019-08-13 Thread Michal Cieslakiewicz
DT files Signed-off-by: Michal Cieslakiewicz --- .../ath79/dts/ar7240_netgear_wnr612-v2.dts| 2 +- .../ath79/dts/ar7240_netgear_wnr612-v2.dtsi | 20 +-- target/linux/ath79/dts/ar7240_on_n150r.dts| 2 +- target/linux/ath79/image/tiny-netgear.mk | 2 +- 4 files

[OpenWrt-Devel] [PATCH v4 4/5] ath79: add support for Netgear WNR1000 v2

2019-08-13 Thread Michal Cieslakiewicz
CONFIG_DEVEL=y CONFIG_CCACHE=y CONFIG_COLLECT_KERNEL_DEBUG=y CONFIG_IMAGEOPT=y CONFIG_KERNEL_DEBUG_INFO=y CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 1 + .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d

[OpenWrt-Devel] [PATCH v4 5/5] ath79: add support for Netgear WNR2200

2019-08-13 Thread Michal Cieslakiewicz
CONFIG_COLLECT_KERNEL_DEBUG=y CONFIG_IMAGEOPT=y CONFIG_KERNEL_DEBUG_INFO=y CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 3 +- .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d/firmware/10-ath9k-eeprom| 1 + .../ath79

[OpenWrt-Devel] [PATCH v4 0/5] ath79: add support for some Netgear WNR routers

2019-08-13 Thread Michal Cieslakiewicz
This patchset enables ath79 target for following Netgear ar724x-based routers currently supported by ar71xx: * Netgear WNR1000v2 (tiny, 4_32) * Netgear WNR2000v3 (tiny, 4_32) * Netgear WNR2200 (generic, 8_64 + USB) and improves existing support for: * Netgear WNR612v2 (tiny, 4_32) For all above r

Re: [OpenWrt-Devel] [PATCH v3 2/5] ath79: WNR612v2: improve device support

2019-08-12 Thread Michal Cieslakiewicz
ey (ON) cared to recompile their own u-boot and OS but I do not have such device to verify that claim. Cheers Michal -BEGIN PGP SIGNATURE- iQIzBAEBCAAdFiEEi7ylFMzTSbpOuOZIHU8//LdGKWsFAl1RtHEACgkQHU8//LdG KWtkxBAArK1IYjkgCfXSG1B4cE3WH4xshdA88S7jLKOxN8+gIl2J91abNPvxipFe Dpwn+xC3D7irqguEgW95f8RI8

Re: [OpenWrt-Devel] [PATCH v3 5/5] ath79: add support for Netgear WNR2200

2019-08-12 Thread Michal Cieslakiewicz
each WNR* router in separate DTS for clarity sake, I hope it is OK for you. Should I reply with v4 patches here or create new v4 thread ? Best regards Michal -BEGIN PGP SIGNATURE- iQIzBAEBCAAdFiEEi7ylFMzTSbpOuOZIHU8//LdGKWsFAl1RffgACgkQHU8//LdG KWvJMRAAnwKfdFXQgyvSXHZCBaE3QHkrinSyDA

Re: [OpenWrt-Devel] [PATCH v3 2/5] ath79: WNR612v2: improve device support

2019-08-12 Thread Michal Cieslakiewicz
setup here will persist or > being overwritten by some "wrong" address during calibration anyway. > (Then one would have to use ath9k_patch_fw_mac in the linked file. > MAC addresses for all interfaces are correctly assigned with this

Re: [OpenWrt-Devel] [PATCH v3 3/5] ath79: add support for Netgear WNR2000 v3

2019-08-12 Thread Michal Cieslakiewicz
3 and apparently 10-ath9k-eeprom is the working solution. So mtd-cal-data will be removed in v4 patches from all WNR* DTSes. > > + }; > > +}; > > + > > +&uart { > > + status = "okay"; > > +}; > > + > > +&gpio { > > +

[OpenWrt-Devel] [PATCH v3 4/5] ath79: add support for Netgear WNR1000 v2

2019-08-11 Thread Michal Cieslakiewicz
CONFIG_DEVEL=y CONFIG_CCACHE=y CONFIG_COLLECT_KERNEL_DEBUG=y CONFIG_IMAGEOPT=y CONFIG_KERNEL_DEBUG_INFO=y CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 1 + .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d

[OpenWrt-Devel] [PATCH v3 1/5] ath79: add LAN LEDs control bits for AR724x GPIO function pinmux

2019-08-11 Thread Michal Cieslakiewicz
ontrol all GPIO-connected LEDs and buttons on device. Signed-off-by: Michal Cieslakiewicz --- target/linux/ath79/dts/ar724x.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/target/linux/ath79/dts/ar724x.dtsi b/target/linux/ath79/dts/ar724x.dtsi index b2844bf179..

[OpenWrt-Devel] [PATCH v3 2/5] ath79: WNR612v2: improve device support

2019-08-11 Thread Michal Cieslakiewicz
DT files Signed-off-by: Michal Cieslakiewicz --- .../ath79/dts/ar7240_netgear_wnr612-v2.dts| 2 +- .../ath79/dts/ar7240_netgear_wnr612-v2.dtsi | 20 +-- target/linux/ath79/dts/ar7240_on_n150r.dts| 2 +- target/linux/ath79/image/tiny-netgear.mk | 2 +- 4 files

[OpenWrt-Devel] [PATCH v3 5/5] ath79: add support for Netgear WNR2200

2019-08-11 Thread Michal Cieslakiewicz
CONFIG_COLLECT_KERNEL_DEBUG=y CONFIG_IMAGEOPT=y CONFIG_KERNEL_DEBUG_INFO=y CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 3 +- .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d/firmware/10-ath9k-eeprom| 1 + .../ath79

[OpenWrt-Devel] [PATCH v3 0/5] ath79: add support for some Netgear WNR routers

2019-08-11 Thread Michal Cieslakiewicz
This patchset enables ath79 target for following Netgear ar724x-based routers currently supported by ar71xx: * Netgear WNR1000v2 (tiny, 4_32) * Netgear WNR2000v3 (tiny, 4_32) * Netgear WNR2200 (generic, 8_64 + USB) and improves existing support for: * Netgear WNR612v2 (tiny, 4_32) For all above r

[OpenWrt-Devel] [PATCH v3 3/5] ath79: add support for Netgear WNR2000 v3

2019-08-11 Thread Michal Cieslakiewicz
=y CONFIG_IMAGEOPT=y CONFIG_KERNEL_DEBUG_INFO=y CONFIG_KERNEL_DEBUG_KERNEL=y Signed-off-by: Michal Cieslakiewicz --- .../ath79/base-files/etc/board.d/01_leds | 12 + .../ath79/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d/firmware/10-ath9k-eeprom| 1 + .../ath79/dts

  1   2   3   >