[OpenWrt-Devel] Replying to old mails (Was: Re: [OpenWrt-Devel, v5, 2/2] Allow sysupgrade restore on ER)

2020-01-03 Thread Paul Fertser
Hi, Somewhat related, On Fri, Jan 03, 2020 at 01:34:43PM +0100, m...@adrianschmutzler.de wrote: > I do not have the old e-mails for those changes, thus I cannot respond > correctly. One can do wget http://lists.infradead.org/mailman/private/openwrt-devel.mbox/openwrt-devel.mbox?username=\&pas

Re: [OpenWrt-Devel] [PATCH] ath79: move lzma-loader to the end of available RAM

2020-01-21 Thread Paul Fertser
Hi, On Tue, Jan 21, 2020 at 10:48:28PM +0100, m...@adrianschmutzler.de wrote: > I can't tell you why overwrite works this direction without further > research though. "If a variable has been set with a command argument (*note Overriding Variables: Overriding.), then ordinary assignments in the ma

[PATCH] config/Config-images: fix unit of partition sizes

2021-06-16 Thread Paul Fertser
The code interprets these config values as Mebibytes rather than Megabytes so modify the description accordingly. Signed-off-by: Paul Fertser --- config/Config-images.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/Config-images.in b/config/Config-images.in

[PATCH] realtek: fix RTL8231 gpio expander for high GPIOs

2021-09-17 Thread Paul Fertser
GPIOs > 31 require special handling. This patch fixes both the initialisation (defaulting to input) and direction get/set operations. Runtime-tested on D-Link DGS-1210-10P-R1 which has "reset" button on GPIO[33]. Signed-off-by: Paul Fertser --- .../realtek/files-5.4/drivers/gpio/g

[PATCH] realtek: add support for D-Link DGS-1210-10P H/W:R1

2021-09-17 Thread Paul Fertser
booted reconfigure your client to use VID 100 and DHCP, scp the sysupgrade image to /tmp and run sysupgrade. [0] https://git.openwrt.org/?p=openwrt/staging/blogic.git;a=tree;f=package/rtl83xx-poe;hb=2540faec92abf8f5e52eae0e77bfbdb47457252d Signed-off-by: Paul Fertser --- .../realtek/base-fil

[PATCH v2] realtek: fix RTL8231 gpio expander for high GPIOs

2021-09-20 Thread Paul Fertser
GPIOs > 31 require special handling. This patch fixes both the initialisation and direction get/set operations. Signed-off-by: Paul Fertser --- Notes: Changes from v1: - Do not modify high GPIOs direction bits on init .../realtek/files-5.4/drivers/gpio/gpio-rtl8231.c |

Re: [PATCH] realtek: fix RTL8231 gpio expander for high GPIOs

2021-09-20 Thread Paul Fertser
Hi Sander, Thank you for review, it made me think about consistency. On Mon, Sep 20, 2021 at 05:45:06PM +0200, Sander Vanheule wrote: > On Fri, 2021-09-17 at 16:11 +0300, Paul Fertser wrote: > > rtl8231_write(gpios, RTL8231_GPIO_PIN_SEL(0), 0x); > > rtl8

Re: [PATCH] realtek-poe: add support for PoE on Realtek switches

2021-09-22 Thread Paul Fertser
Hello John, Thank you for the rather useful tool. One comment below. On Tue, May 11, 2021 at 05:22:43PM +0200, John Crispin wrote: > +/* 0x17 - Set power management mode > + * 0: None (No Power Management mode) (Default in Semi-Auto mode) > + * 1: Static Power Management with Port Priority(De

[PATCH] dnsmasq: add match_tag for --dhcp-host

2021-09-23 Thread Paul Fertser
*' list match_tag 'switch.10' list match_tag 'udhcp' option ip '192.168.25.10' Signed-off-by: Paul Fertser --- package/network/services/dnsmasq/files/dnsmasq.init | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) mode cha

Re: [PATCH] realtek: add support for D-Link DGS-1210-10P H/W:R1

2021-09-24 Thread Paul Fertser
Hi Adrian, On Fri, Sep 24, 2021 at 11:36:39PM +0200, Adrian Schmutzler wrote: > > Subject: [PATCH] realtek: add support for D-Link DGS-1210-10P H/W:R1 > > Some mostly nitpick comments below. ... Appreciated, all noted, will take everything into account when preparing v2. Chances are we'll have a

[PATCH] dnsmasq: add explicit "set:" for client-matching options

2021-09-25 Thread Paul Fertser
Bring the usage in line with the dnsmasq man page and the other options where set: is mandatory. No functional change. Signed-off-by: Paul Fertser --- package/network/services/dnsmasq/files/dnsmasq.init | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package

[PATCH] realtek: ensure output drivers are enabled in RTL8231

2021-09-29 Thread Paul Fertser
(e.g. pulling SoC's reset to 0) reconfigure everything as input. Thanks to Sander Vanheule for telling about LED_Start. Signed-off-by: Paul Fertser --- My previous patch to this part of the code is marked Accepted in the Patchwork so this one is on top of it. Feel free to squash the

[PATCH v2] realtek: ensure output drivers are enabled in RTL8231

2021-09-30 Thread Paul Fertser
(e.g. pulling SoC's reset to 0) reconfigure everything as input. Signed-off-by: Paul Fertser --- Notes: Changes from v1: - Fix comment to mention we affect two extra GPIOs - Remove unused "v" declaration. .../realtek/files-5.4/drivers/gpio/gpio-rtl8231.c| 12

[PATCH v3] realtek: ensure output drivers are enabled in RTL8231

2021-10-01 Thread Paul Fertser
(e.g. pulling SoC's reset to 0) reconfigure everything as input. Reviewed-by: Sander Vanheule Signed-off-by: Paul Fertser --- Notes: Changes from v2: - Fix 5.10 as well Changes from v1: - Fix comment to mention we affect two extra GPIOs - Remove unused "

Re: [PATCH v3] realtek: ensure output drivers are enabled in RTL8231

2021-10-02 Thread Paul Fertser
input but output > > operations will have no effect. ... > > Reviewed-by: Sander Vanheule > > Signed-off-by: Paul Fertser > > I added > > Fixes: 16ae56b4f9ec ("realtek: fix RTL8231 gpio expander for high GPIOs") Even though the patch changes the code that was int

[PATCH] realtek: do not hardcode restart handler and enable gpio-restart

2021-10-05 Thread Paul Fertser
Most boards supported by this target have a dedicated GPIO line connected to SoC's /RESET to allow full clean reliable reboot. Use regular kernel notifier methods for default restart routines to allow higher-priority handlers (such as gpio-restart) to override it. Signed-off-by: Paul Fe

[RFT 1/5] realtek: split DGS-1210-10P DTS

2021-10-05 Thread Paul Fertser
In preparations to add support for more similar boards the common part is split into a DTSI. The model that's currently supported is known to be revision F1 so mark it accordingly and provide appropriate compatible string for sysupgrade to work. Signed-off-by: Paul Fertser --- ...0

[RFT 0/5] realtek: support boards similar to DGS-1210-10

2021-10-05 Thread Paul Fertser
I only have D-Link DGS-1210-10P R1 for testing but other devices should be very similar judging by the photos. Would be nice to share support for all the features available rather than get just R1 fully working. Paul Fertser (5): realtek: split DGS-1210-10P DTS realtek: add all LEDs, buttons

[RFT 2/5] realtek: add all LEDs, buttons and SFP signals to DGS-1210-10

2021-10-05 Thread Paul Fertser
These GPIO numbers were obtained by physically inspecting a DGS-1210-10P R1 board but should be common for other devices based on same PCB layout. Signed-off-by: Paul Fertser --- .../dts-5.10/rtl8380_d-link_dgs-1210-10.dtsi | 88 +-- 1 file changed, 83 insertions(+), 5

[RFT 3/5] realtek: add non-PoE version of DGS-1210-10 F1

2021-10-05 Thread Paul Fertser
Signed-off-by: Paul Fertser --- .../rtl8380_d-link_dgs-1210-10-f1.dts | 8 +++ .../rtl8380_d-link_dgs-1210-10-f1.dtsi| 61 +++ .../rtl8380_d-link_dgs-1210-10p-f1.dts| 60 +- target/linux/realtek/image/Makefile | 10 ++- 4 files

[RFT 5/5] realtek: support Trendnet TPE-082WS V1

2021-10-05 Thread Paul Fertser
According to photos and specs for Trendnet TPE-082WS V1.2R it should be the same as D-Link DGS-1210-10P R1 but with more powerful PSU (90 W) so the PoE budget is specified as 75 W. Signed-off-by: Paul Fertser --- .../realtek/base-files/etc/board.d/02_network | 3 + .../rtl8380_trendnet_tpe

[RFT 4/5] realtek: support D-Link DGS-1210-10P H/W:R1

2021-10-05 Thread Paul Fertser
neric-d-link_dgs-1210-10p-r1-initramfs-kernel.bin > bootm * Once OpenWrt has booted reconfigure your client to use VID 100 and DHCP, scp the sysupgrade image to /tmp and run sysupgrade. [0] https://patchwork.ozlabs.org/project/openwrt/patch/20210511152243.1167160-1-j...@phrozen.or

Re: [PATCH v4 5/5] realtek: Remove _machine_restart and _machine_halt

2021-11-15 Thread Paul Fertser
Hello, On Sun, Nov 14, 2021 at 07:45:34PM +0100, Sander Vanheule wrote: > By dropping _machine_restart, users can provide more reliable or > device-specific restart modes. For the whole series Tested-by: Paul Fertser The tests were performed on D-Link DGS-1210-10P R1 (RTL8380), both

Re: [RFT 1/5] realtek: split DGS-1210-10P DTS

2022-01-10 Thread Paul Fertser
Hi Adrian, Thank you very much for the review of these patches, all comments make sense to me, and I would have fixed that all BUT Apparently finding even a single person to actually test this code on older revision or on similar Trendnet device is impossible so I guess the best I can do is to se

[PATCH] x86: geode: use kernel [hwrng] to provide randomness

2022-01-21 Thread Paul Fertser
s upstream as I have no idea how to estimate quality properly. Tested-by: timur_davletshin Signed-off-by: Paul Fertser --- target/linux/x86/geode/target.mk | 1 + .../960-hwrng-geode-set-quality-to-1000.patch| 12 2 files changed, 13 insertions(+) create

[PATCH] x86: geode: add kmod-crypto-ebc needed for hw acceleration

2022-01-21 Thread Paul Fertser
Module kmod-crypto-hw-geode provides accelerated cbc(aes) and ecb(aes) but the software implementation is also needed when AES key size isn't 128 so that the operation can fall back. Add the kmod so that it would all work as expected out of the box. Tested-by: timur_davletshin Signed-off-by:

Re: [RFT 0/5] realtek: support boards similar to DGS-1210-10

2022-07-17 Thread Paul Fertser
On Sat, Jul 16, 2022 at 11:32:52PM -0300, Luiz Angelo Daros de Luca wrote: > It uses SOC := rtl8380 while all existing dgs-1210 F1 variants use > rtl8382 (except for the pending -52 variant). The commit didn't > mention why that happened. It's just cosmetic AFAICT but the datasheet clearly states

[PATCH] Remove ccache wrappers

2023-01-20 Thread Paul Fertser
s with "ccache". [1] https://github.com/ccache/ccache/blob/master/src/ccache.cpp#L2105 [2] https://github.com/ccache/ccache/blob/master/src/Util.cpp#L802 Reported-by: Karl Palsson Signed-off-by: Paul Fertser --- I tried CONFIG_ALL=y build and fixed bad packaging where I noticed:

Re: [OpenWrt-Devel] How can I include strace into the firmware?

2020-03-24 Thread Paul Fertser
Hello, On Tue, Mar 24, 2020 at 07:39:05PM +0900, Jeonghum Joh wrote: > I'd like to use "strace" in openwrt firmware. Just install "strace" package, it's in base. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com _

Re: [OpenWrt-Devel] How can I include strace into the firmware?

2020-03-24 Thread Paul Fertser
On Tue, Mar 24, 2020 at 08:08:08PM +0900, Jeonghum Joh wrote: > Do you have some suggestion for me? opkg update before trying to install -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com ___ openwr

Re: [OpenWrt-Devel] [PATCH v1] umdns: suppress address-of-packed-member warning

2020-04-04 Thread Paul Fertser
Hello, On Sat, Apr 04, 2020 at 09:27:34AM +0100, Kevin Darbyshire-Bryant wrote: > dns.c:261:2: error: converting a packed ‘struct dns_question’ pointer > (alignment 1) to a ‘uint16_t’ {aka ‘short unsigned int’} pointer > (alignment 2) may result in an unaligned pointer value > [-Werror=address-of-

Re: [OpenWrt-Devel] Openwrt TpLink Archer D2

2020-04-06 Thread Paul Fertser
Hello, On Mon, Apr 06, 2020 at 07:05:44PM +0200, Martin Heck via openwrt-devel wrote: > i have a Tp Link Archer D2 Router This page https://openwrt.org/toh/tp-link/archer_d2_ac750 tells me it has 64 MiB RAM. > DDR size from 0xa000 - 0xa3ff This confirms the size. > DRAM:  64 MiB And t

Re: [OpenWrt-Devel] [PATCH] generic: spi-nor: rework broken-flash-reset

2020-04-08 Thread Paul Fertser
Hello, On Mon, Apr 06, 2020 at 07:44:28PM +0800, Chuanhong Guo wrote: > Instead of resetting flash to 3B address on remove hook, this > implementation only enters 4B mode when needed, which prevents more > unexpected reboot stuck. Probably a naive question, but does this have any measurable perfo

Re: [OpenWrt-Devel] [PATCH] om-watchdog: Add support for GL-X1200 (GL.iNet)

2020-04-10 Thread Paul Fertser
Hi, On Fri, Apr 10, 2020 at 06:55:59PM +0800, guilin.wang wrote: > but found that the dog could not be fed successfully. Why exactly? > Our external microcontroller feeds the dog. The cpu just gives the > microcontroller a trigger signal, but I tested that the > microcontroller cannot detect the

Re: [OpenWrt-Devel] [PATCH] om-watchdog: Add support for GL-X1200 (GL.iNet)

2020-04-11 Thread Paul Fertser
Hi, On Fri, Apr 10, 2020 at 07:23:44PM +0800, guilin.wang wrote: > now the external single-chip cannot detect the level change of GPIO How often do you really need to feed the watchdog? Why do you have an additional MCU taking care of capturing the level change, what else is it doing? Can this MC

[OpenWrt-Devel] Booting boards with UART attached (was: Re: [PATCH] ramips: mt7621: use lzma-loader for D-Link DIR-860L B1)

2020-04-20 Thread Paul Fertser
Hello, On Mon, Apr 20, 2020 at 11:01:46AM +0200, Szabolcs Hubai wrote: > I have a CP2102 USB to TTL module, and used with "minicom -D /dev/ttyUSB0". > > > Intereestingly, when I connected with serial to the router it was > sometime unstable: > * refuse to start > * freeze at boot soon after: "Er

Re: [OpenWrt-Devel] [PATCH v2] wireguard-tools: fix version indicator

2020-05-11 Thread Paul Fertser
Hello, I'm not talking about this specific patch but rather about the general problem I'm aware of, in this specific case it might be not applicable. On Mon, May 11, 2020 at 04:25:42PM +0200, Petr Štetiar wrote: > > If we execute `wg --version` we get a diffrent version string that does > > not m

Re: [OpenWrt-Devel] [PATCH v2] wireguard-tools: fix version indicator

2020-05-11 Thread Paul Fertser
On Mon, May 11, 2020 at 05:43:56PM +0300, Paul Fertser wrote: > Probably the right way to solve this would be to have means to > override the default git describe behaviour (and force specific > version string instead) by a configure (or similar) flag. Another (probably sick) idea: afte

Re: [OpenWrt-Devel] [PATCH] base-files: add list-enabled/disabled to service function in /etc/profile

2020-06-04 Thread Paul Fertser
On Thu, Jun 04, 2020 at 02:56:31AM -0700, Stan Grishin wrote: > If there's a one/two liner to figure out if a service is running or > not, ubus call service list '{ "verbose": true, "name": "openvpn" }' | \ jsonfilter -e '@.openvpn.instances["foo"].running -- Be free, use free (http://www.g

Re: [OpenWrt-Devel] [PATCH] base-files: add list-enabled/disabled to service function in /etc/profile

2020-06-04 Thread Paul Fertser
On Thu, Jun 04, 2020 at 06:31:36AM -0700, Stan Grishin wrote: > Thanks. Should I replace list-enabled and list-disabled with list, doing this: I'm not sure it's anywhere close to the optimal solution with ubus and jsonfilter, but I'm not well-versed in the area enough to suggest a proper one, sorr

Re: [OpenWrt-Devel] Build error on latest trunk: meson, python, zstd

2020-06-09 Thread Paul Fertser
Hello, On Tue, Jun 09, 2020 at 11:11:06AM +0200, Reiner Karlsberg wrote: > ['/etc/openwrt/WE826/staging_dir/host/bin/python']> is not a valid python or > it is missing setuptools OpenWrt build system checks for Python3 presence in the prereq stage but it doesn't check if it has setuptools install

ipq806x: add support for TP-Link Talon AD7200

2020-10-11 Thread Paul Fertser
From: Gary Cooper Device hardware: https://deviwiki.com/wiki/TP-LINK_AD7200_(Talon) The Talon AD7200 is basically an Archer C2600 with larger flash, a third PCIe lane and an 802.11ad radio. It comes in a different housing reminiscent of the Archers C3200 and C5400. Specifications ---

Re: ipq806x: add support for TP-Link Talon AD7200

2020-10-12 Thread Paul Fertser
Hey Robert, On Mon, Oct 12, 2020 at 09:52:07AM +0200, Robert Marko wrote: > Paul, where did you get the 802.11ad support code for OpenWrt? I just forwarded Gary's commit to the mailing list as somehow the subscription confirmation mail doesn't get through to him. That said, the commit doesn't fe

[PATCH] mac80211: fix MAC address allocations when local bit set on base addr

2020-10-16 Thread Paul Fertser
: Zero_Chaos Signed-off-by: Paul Fertser --- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211

[PATCH] ath79: fix ath10k caldata extraction on some D-Link DIR-842 C3 devices

2020-10-26 Thread Paul Fertser
https://forum.openwrt.org/t/d-link-dir-842-cant-access-firmware-upload-form/65454 Signed-off-by: Paul Fertser --- .../generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-a

[PATCH v2] ath79: fix ath10k caldata extraction on some D-Link DIR-842 C3 devices

2020-10-27 Thread Paul Fertser
https://forum.openwrt.org/t/d-link-dir-842-cant-access-firmware-upload-form/65454 Signed-off-by: Paul Fertser --- Changes in v2: - Separate out nec,wg1200cr section as those boards do not even have a "reserved" partition (Adrian Schmutzler) .../base-files/etc/hotplug.d/firmware/11

Re: [OpenWrt-Devel] add new router

2013-02-25 Thread Paul Fertser
Hi, BTW, is there any relationship between Trendnet and Upvel? Дмитрий Лебедев writes: > +const struct flash_platform_data ur_336n4g_flash = { > + .type = "mx25l3205d", > +}; Apparently the inline patch has tabs converted to single spaces, the attached one seems to be fine though. > --- target

[OpenWrt-Devel] [PATCH] wview: fix segmentation fault in WMR USB driver

2013-03-10 Thread Paul Fertser
Do not overflow the input buffer. This happens on slow hosts that take long time to recompute the data on start. Signed-off-by: Paul Fertser --- This is really important because without this patch the weather daemon can't start at all after having collected some statistics over the m

[OpenWrt-Devel] Generic MAC guidelines for new ports (was: Re: [PATCH] [ar71xx] Add support for D-link DIR 632 A1 router)

2013-04-20 Thread Paul Fertser
Hi, Andrew McDonnell writes: > 7. MAC addresses - I am not sure what the policy should be - the factory sets > them all to the stickered MAC address, but DD-WRT reads a different MAC > address from the ART partition. Currently I set the stickered MAC as the > default for the WLAN, and use the AR

[OpenWrt-Devel] [PATCH] packages: postgresql: install host tools to host/bin

2013-06-17 Thread Paul Fertser
Host tools should go to host/bin, not usr/bin. Signed-off-by: Paul Fertser --- libs/postgresql/Makefile |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 37ae8f6..6307887 100644 --- a/libs/postgresql/Makefile

[OpenWrt-Devel] DIR-615 E4 (and possibly DIR600A1, DIR601A, FR54RTR, DIR825C1, DIR835A1) factory image padding size

2013-09-22 Thread Paul Fertser
Hi, When I tried to flash DIR-615 E4 with OpenWrt factory image via the vendor's web-interface, it refused to accept the new firmware. After some digging I think I found the issue and it possibly affects also DIR600A1, DIR601A, FR54RTR, DIR825C1 and DIR835A1. The way Cameo7240 profile currently w

[OpenWrt-Devel] Target kernel config changes not triggering rebuild? (was: Re: DIR-615 E4 factory image padding size)

2013-09-24 Thread Paul Fertser
Hello, Gabor Juhos writes: > Yes, the 'Image/Build/Cameo' macro is broken. > Don't need to send a patch, I'm working on that already. Great cleanup and the fixes on top, thank you! Can you please explain what is this "mac" partition about, what does it hold? I know wireless "eeprom" is in the l

Re: [OpenWrt-Devel] Target kernel config changes not triggering rebuild?

2013-09-26 Thread Paul Fertser
On Thu, Sep 26, 2013 at 08:12:13PM +0200, Gabor Juhos wrote: > On the DIR-600-Ex, the 'mac' partition contains the board specific MAC > addresses > at least, and it seems that there are other data as well. I guess that the > original firmware uses this data to reinialize the nvram variables during

Re: [OpenWrt-Devel] Target kernel config changes not triggering rebuild?

2013-09-28 Thread Paul Fertser
On Thu, Sep 26, 2013 at 08:19:59PM +0100, Florian Fainelli wrote: > > This one is sort of nasty, I'm not one of those who gets upset when he > > needs to attach a serial console, but it would still be nice to avoid, > > as the majority of users is apparently not always ready for > > that. Should I

[OpenWrt-Devel] [PATCH] packages: add reaver-wps WPS penetration testing utility

2012-07-12 Thread Paul Fertser
Signed-off-by: Paul Fertser --- net/reaver/Makefile| 53 ++ .../patches/0001-wpscrack-big-endian-fixes.patch | 565 ...rent-directory-for-storing-and-loading-se.patch | 53 ++ ...-use-less-useless-spaces-in-output-to-fit.patch | 38

[OpenWrt-Devel] [PATCH 2/3] ramips: provide means to specify custom "image name" for uImages, use for DIR-620

2012-07-18 Thread Paul Fertser
D-Link's DIR-620 allows to flash a uImage directly from its web-interface but for that the image name should be set to DIR_620. Signed-off-by: Paul Fertser --- target/linux/ramips/image/Makefile |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/target/linux/r

[OpenWrt-Devel] [PATCH 3/3] ramips: watchdog: use maximum possible timeout by default

2012-07-18 Thread Paul Fertser
ocked at 384MHz instead of the current 20s default. Signed-off-by: Paul Fertser --- .../ramips/files/drivers/watchdog/ramips_wdt.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/ramips/files/drivers/watchdog/ramips_wdt.c b/target/linux/ramips/

[OpenWrt-Devel] [PATCH 1/3] ramips: add D-Link DIR-620 A1 support

2012-07-18 Thread Paul Fertser
Full functionality runtime tested, installation via the OEM firmware web-interface requires a follow-up patch. Signed-off-by: Paul Fertser --- .../etc/hotplug.d/firmware/10-rt2x00-eeprom|1 + .../ramips/base-files/lib/preinit/06_set_iface_mac |1 + target/linux/ramips/base-files

[OpenWrt-Devel] [PATCH v2 1/3] ramips: add D-Link DIR-620 A1 support

2012-07-18 Thread Paul Fertser
Full functionality runtime tested, installation via OEM web-interface requires a follow-up patch. Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing bits. Signed-off-by: Paul Fertser --- target/linux/ramips/base-files/etc/diag.sh |2 +- .../etc/hotplug.d

Re: [OpenWrt-Devel] [PATCH 2/3] ramips: provide means to specify custom "image name" for uImages, use for DIR-620

2012-07-18 Thread Paul Fertser
Hi, Сергей Василюгин writes: > 19.07.2012, 02:33, "Paul Fertser" : >> D-Link's DIR-620 allows to flash a uImage directly from its web-interface but >> for that the image name should be set to DIR_620. >> > But very first dlink firmware has different forma

Re: [OpenWrt-Devel] [PATCH 1/3] ramips: add D-Link DIR-620 A1 support

2012-07-18 Thread Paul Fertser
Сергей Василюгин writes: > 19.07.2012, 02:33, "Paul Fertser" : >> Full functionality runtime tested, installation via the OEM firmware >> web-interface requires a follow-up patch. >> > It's great! But DIR300B_WPS_BLUE != DIR620_WPS_BLUE (I've both devic

[OpenWrt-Devel] [PATCH v3 1/3] ramips: add D-Link DIR-620 A1 support

2012-07-19 Thread Paul Fertser
Full functionality runtime tested, installation via OEM web-interface requires a follow-up patch. Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing bits (including the antiparallel wps led). Signed-off-by: Paul Fertser --- Changes since v2: - implemented better wps

[OpenWrt-Devel] [PATCH] [packages] wview/radlib: new package, automated weather station software

2012-07-29 Thread Paul Fertser
Signed-off-by: Paul Fertser --- This patch might be a bit problematic to apply with git because some of the new patches are amending wview sources that use the DOS line-endings convention. It applies and works fine with patch -p1 though. Please advice me how to proceed if that's unaccep

[OpenWrt-Devel] [PATCH 1/2] [packages] radlib: bump version to 2.12.0, add sqlite variant

2012-07-30 Thread Paul Fertser
This is the latest official version. Currently tested only with wview as there are no other packages in the repository depending on radlib. Signed-off-by: Paul Fertser --- libs/radlib/Makefile | 44 +--- .../patches/001-cross_compile_link_bug.patch

[OpenWrt-Devel] [PATCH 2/2] [packages] wview: new package, automated weather station software

2012-07-30 Thread Paul Fertser
This is runtime tested on a MIPS-based DIR-620 with a simulator station. Signed-off-by: Paul Fertser --- utils/wview/Makefile| 170 utils/wview/files/etc/init.d/wview | 55 +++ utils/wview/patches/010-fix-cross-compile.patch | 499

[OpenWrt-Devel] [PATCH] [packages] autossh: pass env variables on init properly

2012-08-05 Thread Paul Fertser
Busybox's ash doesn't pass unexported environment variables to processes started from within a function, so a service started with MMM=xyz service_start blablabla will never see the MMM variable. Fix this by exporting the important variables. Signed-off-by: Paul Fertser --- net/aut

[OpenWrt-Devel] [PATCH] [packages] tinyproxy: fix default config binary flags

2012-08-05 Thread Paul Fertser
The init script expects uci-style 1/0 and not Yes/No or On/Off in the config. Amend the commented-out configuration directives accordingly. Signed-off-by: Paul Fertser --- net/tinyproxy/files/tinyproxy.config | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a

Re: [OpenWrt-Devel] [PATCH 1/2] [packages] radlib: bump version to 2.12.0, add sqlite variant

2012-08-08 Thread Paul Fertser
Hello, On Wed, Aug 08, 2012 at 05:36:42PM +0200, Florian Fainelli wrote: > This specific patch: 001-cross_compile_link_bug.patch does not apply to the > vanilla radlib sources: Oh my, plain text e-mail has eaten the \r's inside the patch and those are needed because radlib sources are that way :

[OpenWrt-Devel] [PATCH][Urgent?] Unbreak building images for TL-WR1043ND, TL-WR1041N-v2, TL-WR2543N

2012-08-25 Thread Paul Fertser
o grep -q ,$i, Makefile || echo $i; done > missing-boards.new Reported-by: Casper on IRC Signed-off-by: Paul Fertser --- I hope i got it right, if not, sorry :) Please also consider removing the corresponding images from the snapshots download area for the time being. target/li

Re: [OpenWrt-Devel] TP-Link WA7510N support (trunk)

2012-10-20 Thread Paul Fertser
Hi, Stefan Helmert writes: > [0.10] MIPS: machine is TP-LINK TL-WA7510N v1 ... > [0.51] m25p80 spi0.0: s25sl032a (4096 Kbytes) > [0.51] Creating 5 MTD partitions on "spi0.0": > [0.52] 0x-0x0002 : "redboot" This partition name suggests you're no

Re: [OpenWrt-Devel] [PATCH] Add support for TP-Link WA7510N

2012-10-26 Thread Paul Fertser
Stefan Helmert writes: > + * Copyright (C) 2009-2012 Gabor Juhos Assuming he didn't write it himself this looks a bit strange (though i understand it's his code but slightly modified). I'm not sure but probably it'd be better to write "Copyright (C) 2012 OpenWrt.org" here. > +$(eval $(call >

Re: [OpenWrt-Devel] [PATCHv2] Add support for TP-Link WA7510N

2012-10-27 Thread Paul Fertser
Hi, Stefan Helmert writes: > hope there are no thunderbird created linebreaks. ... > + * under the terms of the GNU General Public License version 2 as > published Looks like the patch is messed up again... -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fe

[OpenWrt-Devel] [PATCH] ramips: add DIR-615 D userspace support

2012-11-24 Thread Paul Fertser
ade support and default led configuration are missing. An IRC user reported these changes allowed him to use wifi on his hardware. Signed-off-by: Paul Fertser --- target/linux/ramips/base-files/etc/diag.sh |2 +- .../etc/hotplug.d/firmware/10-rt2x00-eeprom|1 + .../linux/ramips

[OpenWrt-Devel] [PATCH] ramips: ramips_eth: use Kconfig definition to enable debug

2012-11-24 Thread Paul Fertser
The Kconfig identifier to enable debugging in the driver was different from the actually used one. Fix that. Signed-off-by: Paul Fertser --- .../drivers/net/ethernet/ramips/ramips_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target/linux/ramips/files

[OpenWrt-Devel] [PATCH] wpa_supplicant.sh: always use parameters from the current section

2012-12-01 Thread Paul Fertser
es to use the "adhoc" key instead (1 by default). Signed-off-by: Paul Fertser --- .../services/hostapd/files/wpa_supplicant.sh |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/package/network/services/hostapd/files/wpa_supplicant.sh b/package/

[OpenWrt-Devel] [PATCH 1/2] sysupgrade: do not require an extra argument after --restore-backup

2012-12-02 Thread Paul Fertser
Neither --create-backup nor --restore-backup need an image name (following the backup filename). Treat them in uniform way. Mostly fixes #12346. Signed-off-by: Paul Fertser --- package/base-files/files/sbin/sysupgrade | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff

[OpenWrt-Devel] [PATCH 2/2] sysupgrade: clarify online help

2012-12-02 Thread Paul Fertser
Fixes #12346. Signed-off-by: Paul Fertser --- package/base-files/files/sbin/sysupgrade | 27 +++ 1 files changed, 15 insertions(+), 12 deletions(-) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 4b009ad..6701930

Re: [OpenWrt-Devel] Looking for Openwrt programmers to customize Open-Mesh router code

2012-12-03 Thread Paul Fertser
Hi, Brian Epstein writes: > Assuming Gold’s Gym is now the official Gym sponsor for all Wyndham > hotels. Now for example when anyone searches for the word “Gym” or > “step class” on Google.com at any Super8 from behind our equipment, > the search is modified prior to being sent to Google.com su

Re: [OpenWrt-Devel] Keep settings broken on NetGear WNDR3800

2012-12-04 Thread Paul Fertser
Hi, John Lauro writes: > One of the larger differences is I use jffs2 and you have squashfs. > Any chance that is related to my issue with loosing settings when > doing a full image upgrade? Yes, it might affect how the configs are restored. Probably it's broken for jffs2 since most users are us

[OpenWrt-Devel] [PATCH] mtd: cosmetic: correct help for default jffs2write directory

2012-12-05 Thread Paul Fertser
Signed-off-by: Paul Fertser --- package/mtd/src/mtd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c index bdbaab5..fa5521e 100644 --- a/package/mtd/src/mtd.c +++ b/package/mtd/src/mtd.c @@ -532,7 +532,7 @@ static void

[OpenWrt-Devel] [packages][PATCH] wview: fix operation for low temperatures for WMRUSB

2012-12-15 Thread Paul Fertser
Signed-off-by: Paul Fertser --- utils/wview/Makefile |2 +- .../040-WMRUSB-process-absent-dewpoint.patch | 29 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 utils/wview/patches/040-WMRUSB-process-absent-dewp

[OpenWrt-Devel] [PATCH] utils/mtd-utils: flash_eraseall must depend on flash_erase

2012-12-30 Thread Paul Fertser
Since a8801d8665bcc94c63a798e291a03c88f2af0215 upstream commit flash_eraseall is a shell wrapper around flash_erase. Signed-off-by: Paul Fertser --- utils/mtd-utils/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mtd-utils/Makefile b/utils/mtd-utils

Re: [OpenWrt-Devel] [PATCH] ddns-scripts: Ensure busybox wget dependency

2012-12-31 Thread Paul Fertser
Bastian Bittorf writes: >> [2] wget >> http://user:p...@dyn.dns.he.net/nic/update?hostname=example.org&myip=10.0.0.1 >> # GNU Wget >> [4] wget --no-http-keep-alive >> http://user:p...@dyn.dns.he.net/nic/update?hostname=example.org&myip=10.0.0.1 >> # GNU Wget without HTTP keep-alive > > i und

[OpenWrt-Devel] [PATCH] ramips: do not stop the build if some targets fail

2013-01-07 Thread Paul Fertser
This becomes crucial when you are using a generic profile to build an image larger than 4M, e.g. for w502u. Signed-off-by: Paul Fertser --- target/linux/ramips/image/Makefile |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ramips/image/Makefile b

[OpenWrt-Devel] [PATCH] ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0

2013-01-07 Thread Paul Fertser
;file" utility. Signed-off-by: Paul Fertser --- target/linux/ramips/image/Makefile | 25 +++-- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index d9e562f..1e6d482 100644 --- a/ta

Re: [OpenWrt-Devel] [PATCH] ramips: Add Tenda 3G300M

2013-01-09 Thread Paul Fertser
Cezary Jackiewicz writes: > +define Profile/3G300M > + NAME:=Tenda 3G300M > + PACKAGES:=\ > + kmod-usb-core kmod-usb-rt305x-dwc_otg \ > + kmod-ledtrig-usbdev > +endef What is the motivation to have a dedicated profile that's exactly the same as the default one? >

Re: [OpenWrt-Devel] [PATCH] ramips: Add Tenda 3G300M

2013-01-09 Thread Paul Fertser
Hi, I'm repeating here my previous reply sent to you in private in reply to your private mail. On Wed, Jan 09, 2013 at 06:08:13PM +0100, Cezary Jackiewicz wrote: > Dnia 2013-01-09, o godz. 20:51:04 > Paul Fertser napisał(a): > > > Cezary Jackiewicz writes: > >

Re: [OpenWrt-Devel] [PATCH] ramips: do not stop the build if some targets fail

2013-01-18 Thread Paul Fertser
On Fri, Jan 18, 2013 at 01:57:52PM +0100, Florian Fainelli wrote: > On 01/07/2013 03:15 PM, Paul Fertser wrote: >> This becomes crucial when you are using a generic profile to build an image >> larger than 4M, e.g. for w502u. > > Is that really such a good idea? I am afrai

[OpenWrt-Devel] Generated firmware binaries naming (was: Re: [PATCH] ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0)

2013-01-19 Thread Paul Fertser
Hi, On Sat, Jan 19, 2013 at 04:38:34PM +0100, Gabor Juhos wrote: > 2013.01.07. 16:59 keltezéssel, Paul Fertser írta: > > These targets need custom image names specified in the uImage header. > > MkImage accepts an optional 4th argument to do exactly that. Reuse the > > facili

Re: [OpenWrt-Devel] Generated firmware binaries naming

2013-01-19 Thread Paul Fertser
On Sat, Jan 19, 2013 at 05:34:05PM +0100, Gabor Juhos wrote: > > As far as i understand, the way you did it will produce both > > factory.bin files (suitable for the sysupgrade utility and the > > vendor's interface) and sysupgrade.bin (that would work only with the > > sysupgrade utility). Isn't t

[OpenWrt-Devel] [PATCH] Fix build for individual profiles with dashes in names

2014-01-12 Thread Paul Fertser
Config symbols can have regular dashes, e.g. CONFIG_TARGET_ramips_rt305x_UR-336UN=y So no substitution should be performed on the last part of the symbol. Signed-off-by: Paul Fertser --- include/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/target.mk b

[OpenWrt-Devel] [PATCH] ramips: add support for MIFI F5

2014-01-12 Thread Paul Fertser
"mtd_write" command (which is actually an illegal copy of OpenWrt's "mtd"), as well as flashing a squashfs image on top of the vendor's one. Serial, leds, button, wifi, usb real-life tested. Wired ethernet is possibly broken. Signed-off-by: Paul Fertser --- target/

Re: [OpenWrt-Devel] [PATCH] ramips: add support for MIFI F5

2014-01-14 Thread Paul Fertser
Paul Fertser writes: > This adds support for an unbranded small rt5350-based device. PCB > silkscreen layer has "MIFI-F5 V1.0" marking. Commonly available from > eBay as "2G/3G/4G WiFi router", it has 1 Ethernet port and 1 USB2.0 > host connector, wireless is

Re: [OpenWrt-Devel] [PATCH] ramips: add support for MIFI F5

2014-01-14 Thread Paul Fertser
Michel Stempin writes: > I got my MIFI-F5s @ 8.45 USD on AliBaba during Black Friday sales: the > best price I could find for a HAME MPR-A1 on eBay is around 15 USD... [1] seems to be MIFI-F5, AU$11.93, [2] seems to be HAME MPR-A1, $10.94; MPR-A1 seems to be just about $0.135 more "costly". >> I

Re: [OpenWrt-Devel] [PATCH] ramips: add support for MIFI F5

2014-01-16 Thread Paul Fertser
Hi, On Tue, Jan 14, 2014 at 03:46:00PM +0100, Michel Stempin wrote: > > Well, one can relatively easily "debrick" by flashing directly to the > > serial chip with some external device such as ftdi board or raspberrypi. > > Yes, provided you did a backup of the partitions first thing:) That's the

[OpenWrt-Devel] Custom kernel source and OpenWrt generic kernel patches

2011-10-04 Thread Paul Fertser
Hi, I was working to get OpenWrt running on a custom ARM board and of course had a git tree (in fact just some minor modifications on top of the vanilla, but i see no reason to use Quilt when there's a nice comfortable git repository) lying around. So i've set KERNEL_GIT_CLONE_URI accordingly and

[OpenWrt-Devel] [PATCH] package/yaddns: bump version, add uci compatibility

2010-12-25 Thread Paul Fertser
Use a newer multi-service version, and integrate into the UCI configuration system properly (should work with luci too). Signed-off-by: Paul Fertser --- Though this is using a pre-release version, it seems to work nicely for me with dyndns service. net/yaddns/Makefile

[OpenWrt-Devel] OpenWrt server SSL configuration: problems validating server certificate

2011-04-02 Thread Paul Fertser
Hi, I noticed your server certificate is issued by a commonly trusted authority but in some circumstances clients still have difficulties validating it. The reason for that is that your certificate is issued by "CN = Starfield Secure Certification Authority" which is an intermediate certificate a

Re: ToH / Wiki Page Entry

2024-12-08 Thread Paul Fertser
Hi Mauri, On Sat, Dec 07, 2024 at 10:37:32AM +0200, Mauri Sandberg wrote: > Is there someone who can help with adding a new ToH entry and a new > device manufacturer? I previously inquired at the forums (1) That forum thread is asking for "DNA", "HP", "HPE" and "switch" (?) to be added, do I get

<    1   2