Re: [OpenWrt-Devel] add support for netgear R6020

2020-05-30 Thread Evan Jobling
Hi, >Typically, frequency can be raised with substantial gains in read speed. I can increase if required. Not sure how fast is reasonable/required? At this stage I would rather not set up an oscilloscope to experiment with how fast I can push it? Datasheet of flash ic is 80MHz or so? Not sure

[OpenWrt-Devel] Odp: ZNC openwrt variant

2020-05-30 Thread a
why its required to have that part  under /etc/config/znc config znc list listener 192.168.1.1 1234 while i want to use external  znc_config_path ? Next, znc --makeconf is generating in different way password comparing to znc -makepass which is causing problem under

Re: [OpenWrt-Devel] [PATCH 3/3] treewide: rename DEVICE_TYPE to DEFAULT_TYPE

2020-05-30 Thread Linus Walleij
On Sat, May 30, 2020 at 12:20 PM mans0n wrote: > Busybox hdparm is about 8k and full hdparm is about 93k. I think most > NAS devices can manage that space, so I agree with Matthias. > But the problem is that full hdparm is in the package feed, so it > shouldn't be included in DEFAULT_PACKAGES

[OpenWrt-Devel] [PATCH v2 0/3] treewide: tidy up use of DEVICE_TYPE

2020-05-30 Thread Adrian Schmutzler
For this second patchset, I have focussed on the patches that "fix" actual problems, and thus dropped the former 3/3 which is a conceptual change needing further discussion/improvements. The remainder should be fine to be merged relatively quickly. While patches 1 and 2 are effectively

[OpenWrt-Devel] [PATCH v2 3/3] apm821xx: set DEVICE_TYPE to "nas" for sata subtarget

2020-05-30 Thread Adrian Schmutzler
Since DEVICE_TYPE cannot be set per device, just set DEVICE_TYPE to "nas" for the entire subtarget, which only contains this single device. Note that while this looks like a cosmetic change in combination with the previous patches, this particular patch actually changes the packages for the

[OpenWrt-Devel] [PATCH v2 2/3] treewide: provide consistent basic DEVICE_TYPE

2020-05-30 Thread Adrian Schmutzler
While the effective "default" based on frequent use is "router", the DEVICE_TYPE variable actually provides a "basic" configuration without selecting any additional packages. This is currently set up with the identifier "bootloader", which seems to be not used at all. However, the only targets

[OpenWrt-Devel] [PATCH v2 1/3] treewide: drop DEVICE_TYPE when used as device variable

2020-05-30 Thread Adrian Schmutzler
DEVICE_TYPE is a target/subtarget variable, and it does not have any effect when set in a device definition. It can only be set in a target's or subtarget's Makefile. Consequently, having it set anyway is misleading, so this drops all cases. This effectively reverts the following commits:

Re: [OpenWrt-Devel] [PATCH 3/3] treewide: rename DEVICE_TYPE to DEFAULT_TYPE

2020-05-30 Thread mans0n
Hi Adrian, Matthias, I was preparing my own patch for converting DEVICE_TYPE to a device-specific variable. https://github.com/mans0n/openwrt/commit/4d41dd963ae8d595ef38ea0a38ea08abdac1415d But I stumbled on some blockers so I left it behind... One of the blockers was the busybox hdparm. I'd

Re: [OpenWrt-Devel] [PATCH] build: reflect DEVICE_TYPE to top level config

2020-05-30 Thread Linus Walleij
On Fri, May 29, 2020 at 7:39 PM wrote: > sorry for intruding into this subject, but this has annoyed me for a long > time already. I am very happy that you are taking up the subject :D > I've just sent a small patchset to tidy up the existing situation. Excellent, will look. > As you stated

Re: [OpenWrt-Devel] [PATCH 3/3] treewide: rename DEVICE_TYPE to DEFAULT_TYPE

2020-05-30 Thread Linus Walleij
On Fri, May 29, 2020 at 11:12 PM Matthias Schiffer wrote: > Meanwhile I've found another target-specific config setting in the busybox > package: BUSYBOX_DEFAULT_TRUNCATE is enabled for TARGET_bcm53xx only. > > I assume "truncate" is tiny enough that it doesn't really justify making > busybox

[OpenWrt-Devel] [PATCH] ipq40xx: disable DSA and Switchdev drivers

2020-05-30 Thread DENG Qingfang
They are not used at all. Signed-off-by: DENG Qingfang --- target/linux/ipq40xx/config-4.19 | 5 - target/linux/ipq40xx/config-5.4 | 6 -- 2 files changed, 11 deletions(-) diff --git a/target/linux/ipq40xx/config-4.19 b/target/linux/ipq40xx/config-4.19 index 23eb5ca589..7cea66e50d

Re: [OpenWrt-Devel] [PATCH 3/3] treewide: rename DEVICE_TYPE to DEFAULT_TYPE

2020-05-30 Thread Matthias Schiffer
On 5/30/20 12:20 PM, mans0n wrote: > Hi Adrian, Matthias, > > I was preparing my own patch for converting DEVICE_TYPE to a > device-specific variable. > https://github.com/mans0n/openwrt/commit/4d41dd963ae8d595ef38ea0a38ea08abdac1415d > > But I stumbled on some blockers so I left it behind... >

Re: [OpenWrt-Devel] [PATCH 3/3] treewide: rename DEVICE_TYPE to DEFAULT_TYPE

2020-05-30 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of mans0n > Sent: Samstag, 30. Mai 2020 12:20 > To: 'Matthias Schiffer' ; > m...@adrianschmutzler.de > Cc: 'Linus Walleij' ; openwrt- > de...@lists.openwrt.org > Subject: Re:

Re: [OpenWrt-Devel] [PATCH 3/3] treewide: rename DEVICE_TYPE to DEFAULT_TYPE

2020-05-30 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Matthias Schiffer > Sent: Samstag, 30. Mai 2020 16:45 > To: mans0n > Cc: 'Linus Walleij' ; openwrt- > de...@lists.openwrt.org; m...@adrianschmutzler.de > Subject: Re: [OpenWrt-Devel]

Re: [OpenWrt-Devel] [PATCH 3/3] treewide: rename DEVICE_TYPE to DEFAULT_TYPE

2020-05-30 Thread Matthias Schiffer
On 5/31/20 12:06 AM, Adrian Schmutzler wrote: > Hi, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of mans0n >> Sent: Samstag, 30. Mai 2020 12:20 >> To: 'Matthias Schiffer' ; >> m...@adrianschmutzler.de >> Cc: 'Linus Walleij' ;