[LEDE-DEV] [PATCH 3/4] staging: mt7621-spi: Remove redundant owner assignment

2018-05-16 Thread Rosen Penev
From: Christian Lütke-Stetzkamp Remove the owner assignment form the platform driver as platform_driver_register() already initializes the owner. Found using coccinelle. Signed-off-by: Christian Lütke-Stetzkamp Signed-off-by: Greg Kroah-Hartman

[LEDE-DEV] [PATCH 4/4] staging: mt7621-pinctrl: Remove redundant owner assignment

2018-05-16 Thread Rosen Penev
From: Christian Lütke-Stetzkamp Remove the owner assignment form the platform driver as platform_driver_register() already initializes the owner. Found using coccinelle. Signed-off-by: Christian Lütke-Stetzkamp Signed-off-by: Greg Kroah-Hartman

[LEDE-DEV] [PATCH 2/4] staging: mt7621-gpio: mt7621: make symbol gc_map static

2018-05-16 Thread Rosen Penev
From: Wei Yongjun Fixes the following sparse warning: drivers/staging/mt7621-gpio/gpio-mt7621.c:47:3: warning: symbol 'gc_map' was not declared. Should it be static? Signed-off-by: Wei Yongjun Signed-off-by: Greg Kroah-Hartman

[LEDE-DEV] [PATCH 1/4] staging: mt7621-gpio: remove redundant owner assignments of drivers

2018-05-16 Thread Rosen Penev
From: HariPrasath Elango Remove the reduntant owner initialization from this platform driver as the platform_driver_register() takes care of it. Signed-off-by: HariPrasath Elango Reviewed-by: NeilBrown Signed-off-by:

[LEDE-DEV] [PATCH 2/5] ramips: pci: sync with staging driver

2018-05-14 Thread Rosen Penev
This is an amagalmation of two upstream commits dealing with whitespace and dead code removal. I'm synching instead of having two separate commits as they go out of order compared to previous commits here. Tested on GnuBee PC1. Signed-off-by: Rosen Penev <ros...@gmail.com> --- .../ramips

[LEDE-DEV] [PATCH 5/5] staging: mt7621-eth: fix return value check in mt7621_gsw_probe()

2018-05-14 Thread Rosen Penev
From: Wei Yongjun In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: f079b6406348 ("staging: mt7621-eth: add gigabit switch driver (GSW)")

[LEDE-DEV] [PATCH 4/5] staging: mt7621-eth: fix return value check in mtk_connect_phy_node()

2018-05-14 Thread Rosen Penev
From: Wei Yongjun In case of error, the function of_phy_connect() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: e3cbf478f846 ("staging: mt7621-eth: add the drivers core files") Signed-off-by: Wei

[LEDE-DEV] [PATCH 3/5] staging: mt7621-eth: fix return value check in mtk_probe()

2018-05-14 Thread Rosen Penev
From: Wei Yongjun In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: e3cbf478f846 ("staging: mt7621-eth: add the drivers core files")

Re: [LEDE-DEV] patchwork pre 2018

2018-05-14 Thread Rosen Penev
On Mon, May 14, 2018 at 8:10 AM, John Crispin wrote: > Hi, > > I'd like to close everything in patchwork from 2017 and ask people to > resubmit in case they still think its applicable. a few patches are still > delegated. please remove your delegation if you do not plan to

[LEDE-DEV] [PATCH 1/5] ramips: Move PCI driver to files directory

2018-05-12 Thread Rosen Penev
This will make it easier to port upstream code. Signed-off-by: Rosen Penev <ros...@gmail.com> --- .../ramips/files-4.14/arch/mips/pci/pci-mt7621.c | 836 .../0004-MIPS-ralink-add-MT7621-pcie-driver.patch | 843 + 2 files changed, 837 insertions(+

[LEDE-DEV] [PATCH 4/5] staging: mt7621-pci: remove conditional compilation.

2018-05-12 Thread Rosen Penev
From: NeilBrown Code currently defines: and then compiles code only if they are defined. We might want to disable some of these via devicetree one day, but for now just remove the #defines and the conditions - all the code for different ports is easy to identify.

[LEDE-DEV] [PATCH 5/5] staging: mt7621-pci: remove unnecessary resource details.

2018-05-12 Thread Rosen Penev
From: NeilBrown These resources are extracted from devicetree, so they aren't needed here. Signed-off-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- .../linux/ramips/files-4.14/arch/mips/pci/pci-mt7621.c | 17

[LEDE-DEV] [PATCH 3/5] staging: mt7621-pci: improve interrupt mapping

2018-05-12 Thread Rosen Penev
From: NeilBrown As the Interrupts for the PCI adapters are listed in devicetree we shouldn't need to have them explicit in the code. The simplest way to do this is to use of_irq_parse_and_map_pci() and specify an interrupt-map which identifies the different PCI hosts by

[LEDE-DEV] [PATCH 2/5] staging: mt7621-pci: Remove redundant owner assignment

2018-05-12 Thread Rosen Penev
From: Christian Lütke-Stetzkamp Remove the owner assignment form the platform driver as platform_driver_register() already initializes the owner. Found using coccinelle. Signed-off-by: Christian Lütke-Stetzkamp Signed-off-by: Greg Kroah-Hartman

Re: [LEDE-DEV] MMAP memory out of sync on AR71xx Rambutan (8devices) board.

2018-05-08 Thread Rosen Penev
On Tue, May 8, 2018 at 1:11 PM, Rosen Penev <ros...@gmail.com> wrote: > On Tue, May 8, 2018 at 1:08 PM, Kevin Darbyshire-Bryant via Lede-dev > <lede-dev@lists.infradead.org> wrote: >> The sender domain has a DMARC Reject/Quarantine policy which disallows >> sendi

Re: [LEDE-DEV] MMAP memory out of sync on AR71xx Rambutan (8devices) board.

2018-05-08 Thread Rosen Penev
roblem, the original message has been wrapped > automatically by the mailing list software. > > -- Forwarded message -- > From: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> > To: Daniel Danzberger <dan...@dd-wrt.com> > Cc: Rosen Penev <r

Re: [LEDE-DEV] MMAP memory out of sync on AR71xx Rambutan (8devices) board.

2018-05-06 Thread Rosen Penev
On Sun, May 6, 2018 at 3:52 AM, Daniel Danzberger wrote: > MMAP'ed memory that has been allocated via 'get_zeroed_page(GFP_KERNEL)' or > 'vmalloc()' doesn't always contain the same data when accessed from userspace. > > This means all userspace programs using mmap to access

[LEDE-DEV] [PATCH] libusb: Add SourceForge mirror.

2018-05-01 Thread Rosen Penev
SourceForge is still getting updated so might as well have it here. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/libs/libusb/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libs/libusb/Makefile b/package/libs/libusb/Makefile index 3

[LEDE-DEV] [PATCH V5] uboot-envtools: Change download to git.

2018-05-01 Thread Rosen Penev
which are smaller. Size difference: 12304292 u-boot-2018.03.tar.bz2 10060652 u-boot-2018.03.tar.xz Signed-off-by: Rosen Penev <ros...@gmail.com> --- v2: Change git URL from GitHub to official mirror. v3: Change URL to HTTPS now that Wolfgang Denke added support. v4: Rebased against current

[LEDE-DEV] [PATCH V3] sysctl: Protect hard/symlinks by default.

2018-05-01 Thread Rosen Penev
There is no usecase for not protecting symlinks that I know of in OpenWrt. Not even on desktop systems where you have multiple users with a shell. Signed-off-by: Rosen Penev <ros...@gmail.com> --- v2: Move to 10-default.conf file. v3: Edit patch description to be 75 characters per line. p

[LEDE-DEV] [PATCH] sysctl: Protect hard/symlinks by default.

2018-04-30 Thread Rosen Penev
There is no usecase for not protecting symlinks that I know of in OpenWrt. Not even on desktop systems where you have multiple users with a shell. Signed-off-by: Rosen Penev <ros...@gmail.com> v2: Move to 10-default.conf file. --- package/base-files/files/etc/sysctl.d/10-default.co

[LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-04-30 Thread Rosen Penev
which are smaller. Size difference: 10416503 u-boot-2015.10.tar.bz2 8351456 u-boot-2015.10.tar.xz Signed-off-by: Rosen Penev <ros...@gmail.com> v2: Change git URL from GitHub to official mirror. v3: Change URL to HTTPS now that Wolfgang Denke added support. v4: Rebased against current maste

Re: [LEDE-DEV] [PATCH] mvebu: Switch Turris Omnia to use ath10k-ct driver and firmware.

2018-04-30 Thread Rosen Penev
On Sun, Apr 29, 2018 at 11:44 PM, John Crispin <j...@phrozen.org> wrote: > > > On 31/03/18 00:19, Rosen Penev wrote: >> >> My testing has shown both ath10k and firmware to be unstable. Here is a >> summary of results done over two weeks: >> >> at

Re: [LEDE-DEV] [PATCH] u-boot: Switch to HTTP for downloads

2018-04-27 Thread Rosen Penev
On Thu, Apr 26, 2018 at 9:35 PM, John Crispin <j...@phrozen.org> wrote: > > > On 19/04/18 22:36, Rosen Penev wrote: >> >> The first mirror is dead and the second is FTP, which can be unreliable at >> times. >> >> Tested on Ubuntu 16.04 WSL. >&

[LEDE-DEV] [PATCH] libusb: Update to 1.0.22

2018-04-27 Thread Rosen Penev
Switched download from SourceForge to GitHub. It seems the author migrated to that. Also fixed the website URL as the SourceForge link is dead. Compile tested on ar71xx and mvebu. Small size decrease on ar71xx: 30444 vs. 30099 bytes. Signed-off-by: Rosen Penev <ros...@gmail.com> --- p

[LEDE-DEV] [PATCH] libusb: Update to 1.0.22

2018-04-27 Thread Rosen Penev
: 30444 vs. 30099 bytes. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/libs/libusb/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libs/libusb/Makefile b/package/libs/libusb/Makefile index 2d1d9c2..362d742 100644 --- a/package/libs/

[LEDE-DEV] [PATCH] kernel: Fix data corruption on some mips devices.

2018-04-26 Thread Rosen Penev
similar data corruption but I have not tested if it does. Signed-off-by: Rosen Penev <ros...@gmail.com> --- ...ata-corruption-related-to-cache-coherence.patch | 92 ++ 1 file changed, 92 insertions(+) create mode 100755 target/linux/generic/pending-4.14/103-MIPS-c-r

[LEDE-DEV] [PATCH 2/2] firmware-utils: mkdapimg2: Fix a few issues discovered by clang

2018-04-22 Thread Rosen Penev
I used clang -Weverything and fixed most of the warnings displayed. Signed-off-by: Rosen Penev <ros...@gmail.com> --- tools/firmware-utils/src/mkdapimg2.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/tools/firmware-utils/src/mkdapimg2.c b

[LEDE-DEV] [PATCH 1/2] firmware-utils: mkdapimg2: Fix potential buffer overflow

2018-04-22 Thread Rosen Penev
7fffca52e000-7fffcad2e000 rw-p 00:00 0 [stack] 7fffcb121000-7fffcb122000 r-xp 00:00 0 [vdso] make -r world: build failed. Please re-run make with -j1 V=s to see what's going on Signed-off-by: Rosen Penev <ros...@gmail.com> --- tools/fi

[LEDE-DEV] [PATCH] u-boot: Switch to HTTP for downloads

2018-04-19 Thread Rosen Penev
The first mirror is dead and the second is FTP, which can be unreliable at times. Tested on Ubuntu 16.04 WSL. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/boot/uboot-envtools/Makefile | 4 +--- package/boot/uboot-xburst/Makefile | 4 +--- 2 files changed, 2 insertions

Re: [LEDE-DEV] Build error since ncurses bump

2018-04-04 Thread Rosen Penev
On Wed, Apr 4, 2018 at 4:57 AM, Koen Vandeputte <koen.vandepu...@ncentric.com> wrote: > > > On 2018-04-04 13:21, Rosen Penev wrote: >> >> On Wed, Apr 4, 2018 at 4:17 AM, Jo-Philipp Wich <j...@mein.io> wrote: >>> >>> Hi Koen, >>> >>

Re: [LEDE-DEV] Build error since ncurses bump

2018-04-04 Thread Rosen Penev
On Wed, Apr 4, 2018 at 4:17 AM, Jo-Philipp Wich wrote: > Hi Koen, > > please try reverting > https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=4fb684a7558ea5c11580378be062f73da07f8479 > and see if it fixes the issue. > > The change was likely not tested on systems with a

[LEDE-DEV] [PATCH] libusb: Update to 1.0.22

2018-04-01 Thread Rosen Penev
: 30444 vs. 30099 bytes. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/libs/libusb/Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/libs/libusb/Makefile b/package/libs/libusb/Makefile index 2d1d9c2b50..e9fe3fcec3 100644 --- a/packag

[LEDE-DEV] [PATCH] ncurses: Remove obsolete compile fixes

2018-04-01 Thread Rosen Penev
It seems both issues (GCC5 and Musl) were fixed at some point. Thus, they can be dropped. Did not bump version as there is no change in functionality or size. Compile-tested on ar71xx and mvebu, both with musl. Signed-off-by: Rosen Penev <ros...@gmail.com> --- .../ncurses/patches/102-n

[LEDE-DEV] [PATCH 1/2] ustream-ssl: Enable ECDHE with OpenSSL.

2018-03-31 Thread Rosen Penev
When used with LuCI, SSLlabs complains that Forward Secrecy is not enabled and thus caps the score to a B. Signed-off-by: Rosen Penev <ros...@gmail.com> --- ustream-openssl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ustream-openssl.c b/ustream-openssl.c index 83f6140..2

[LEDE-DEV] [PATCH 2/2] ustream-ssl: Remove RC4 from ciphersuite in server mode.

2018-03-31 Thread Rosen Penev
SSLlabs complains that RC4 is enabled as it is insecure, thereby capping the grade to B. Signed-off-by: Rosen Penev <ros...@gmail.com> --- ustream-openssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ustream-openssl.c b/ustream-openssl.c index 2faa855..eb03dab 100644 --- a/u

Re: [LEDE-DEV] [PATCH 2/3] sysctl: Restrict kernel pointer access from normal users.

2018-03-31 Thread Rosen Penev
On Sat, Mar 31, 2018 at 5:18 PM, Felix Fietkau <n...@nbd.name> wrote: > On 2018-03-30 15:18, Rosen Penev wrote: >> The only downside to this is that it breaks perf with non-root users. I >> don't think this is an issue in OpenWrt. >> >> Signed-off-

[LEDE-DEV] [PATCH] libjson-c: Update to 0.13

2018-03-30 Thread Rosen Penev
From: Daniel Engberg <daniel.engberg.li...@pyret.net> Update (lib)json-c to 0.13 Signed-off-by: Daniel Engberg <daniel.engberg.li...@pyret.net> Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/libs/libjson-c/Makefile | 4 +-- package/libs/libjson-c/patc

[LEDE-DEV] [PATCH] package/utils/f2fs-tools: Update to 1.10.0

2018-03-30 Thread Rosen Penev
From: Daniel Engberg <daniel.engberg.li...@pyret.net> Update f2fs-tools to 1.10.0 Signed-off-by: Daniel Engberg <daniel.engberg.li...@pyret.net> Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/utils/f2fs-tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2

[LEDE-DEV] [PATCH] mvebu: Switch Turris Omnia to use ath10k-ct driver and firmware.

2018-03-30 Thread Rosen Penev
. No difference. Signed-off-by: Rosen Penev <ros...@gmail.com> --- target/linux/mvebu/image/cortex-a9.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mvebu/image/cortex-a9.mk b/target/linux/mvebu/image/cortex-a9.mk index d9defe880d..a6529220ea 100644 --- a/target/linux

[LEDE-DEV] [PATCH 2/3] sysctl: Restrict kernel pointer access from normal users.

2018-03-30 Thread Rosen Penev
The only downside to this is that it breaks perf with non-root users. I don't think this is an issue in OpenWrt. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/base-files/files/etc/sysctl.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/base-files/fil

[LEDE-DEV] [PATCH 3/3] sysctl: Protect hard/symlinks by default.

2018-03-30 Thread Rosen Penev
There is no usecase for not protecting symlinks that I know of in OpenWrt. Not even on desktop systems where you have multiple users with a shell. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/base-files/files/etc/sysctl.conf | 4 1 file changed, 4 insertions(+) diff

[LEDE-DEV] [PATCH 1/3] kernel: Restrict dmesg output to root.

2018-03-30 Thread Rosen Penev
In typical OpenWrt setups, there are no other users that have a shell spawned for them by default. This can be overriden by the kernel.dmesg_output syssctl. Signed-off-by: Rosen Penev <ros...@gmail.com> --- target/linux/generic/config-3.18 | 2 +- target/linux/generic/config-4.

[LEDE-DEV] [PATCH 2/2] ustream-ssl: Disable RC4 for TLS connections.

2018-03-30 Thread Rosen Penev
When used with LuCI, SSLlabs complains that RC4 is insecure and thus caps the score to a B. I believe RC4 is compile-time enabled for non-TLS related reasons. Signed-off-by: Rosen Penev <ros...@gmail.com> --- ustream-openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[LEDE-DEV] [PATCH 1/2] ustream-ssl: Enable ECDHE with OpenSSL and prefer it to the other suites.

2018-03-30 Thread Rosen Penev
When used with LuCI, SSLlabs complains that Forward Secrecy is not enabled and thus caps the score to a B. Signed-off-by: Rosen Penev <ros...@gmail.com> --- ustream-openssl.c | 4 1 file changed, 4 insertions(+) diff --git a/ustream-openssl.c b/ustream-openssl.c index 83f6140..0

Re: [LEDE-DEV] [PATCH] ath10k-ct: Update firmware to latest.

2018-03-30 Thread Rosen Penev
king a peer multicast key when a monitor > device > is created. > > And I re-ordered the '4019' firmware images in the Makefile to match the order > of the others. No functional change for that reorder. > > Signed-off-by: Ben Greear <gree...@candelatech.com> Tested-by:

[LEDE-DEV] [PATCH] mvebu: Get rid of RTC hack for Turris Omnia.

2018-03-25 Thread Rosen Penev
As Solidrun's RTC patch got merged, this hack is no longer needed. Signed-off-by: Rosen Penev <ros...@gmail.com> --- target/linux/mvebu/base-files/lib/upgrade/sdcard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mvebu/base-files/lib/upgrade/sdcard

Re: [LEDE-DEV] [PATCH] kernel: Backport net struct reduction from 4.16.

2018-03-24 Thread Rosen Penev
On Fri, Mar 23, 2018 at 3:58 PM, Florian Fainelli wrote: > On 03/23/2018 02:53 PM, Mathias Kresin wrote: >> As long as nobody proves that there is a real performance gain, I don't >> see a reason to backport the datastruct debloat. Well, it's supposed to make a difference in

[LEDE-DEV] [PATCH] kernel: Backport net struct reduction from 4.16.

2018-03-23 Thread Rosen Penev
this on mvebu for several days with no issues to report. mvebu is powerful enough for gigabit routing though. Signed-off-by: Rosen Penev <ros...@gmail.com> --- .../400-net-dst-rt_next-is-unused.patch| 28 ++ ...-Move-dn_next-into-decnet-route-structure.patch

Re: [LEDE-DEV] [PATCH v2] Kernel: bump 4.14 to 4.14.29

2018-03-23 Thread Rosen Penev
patches. > > Compile-tested: ramips/mt7621, x86/64 > Run-tested: ramips/mt7621, x86/64 > Signed-off-by: Stijn Segers <f...@volatilesystems.org> Tested-by: Rosen Penev <ros...@gmail.com> > --- > include/kernel-version.mk | 4 +- > ...d-firmware-l

Re: [LEDE-DEV] [PATCH] ath10k-ct: fix module depends

2018-03-22 Thread Rosen Penev
There are 4 other patches on patchwork that have not been merged for some reason. They conflict with this patch. On Thu, Mar 22, 2018 at 3:30 PM, Hauke Mehrtens wrote: > PKG_EXTMOD_SUBDIRS should be set to the sub directory where the kernel > module gets build in, for the

[LEDE-DEV] [PATCH] libtool: Update to 2.4.6

2018-03-19 Thread Rosen Penev
Compile tested on mvebu. Signed-off-by: Rosen Penev <ros...@gmail.com> v2: Remove upstreamed patch --- package/libs/libtool/Makefile | 6 +++--- package/libs/libtool/patches/160-passthrough-ssp.patch | 11 --- 2 files changed, 3 insertions(+), 14 del

[LEDE-DEV] [PATCH] curl: Update to 7.59

2018-03-18 Thread Rosen Penev
Compile tested on ar71xx. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/network/utils/curl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/curl/Makefile b/package/network/utils/curl/Makefile index 0cc6b03ad1..1011dcc786

[LEDE-DEV] [PATCH] libtool: Update to 2.4.6

2018-03-18 Thread Rosen Penev
Compile tested on ar71xx. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/libs/libtool/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libs/libtool/Makefile b/package/libs/libtool/Makefile index 8cef09f78a..37b91dce7a 100644 --- a/packag

[LEDE-DEV] [PATCH] ethtool: Update to 4.15.

2018-03-18 Thread Rosen Penev
Contains kernel 4.14 updates. Compile tested on mvebu. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/network/utils/ethtool/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/ethtool/Makefile b/package/network/utils/ethtool/Ma

[LEDE-DEV] [PATCH] ncurses: Update to 6.1.

2018-03-18 Thread Rosen Penev
Compile tested on ar71xx. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/libs/ncurses/Makefile | 6 +-- .../patches/100-ncurses-5.6-20080112-urxvt.patch | 2 +- .../patches/101-ncurses-5.6-20080628-kbs.patch | 46 +++--- .../ncurses/p

Re: [LEDE-DEV] [PATCH 2/2] mvebu: Add Solidrun RTC init patch.

2018-03-17 Thread Rosen Penev
On Sat, Mar 17, 2018 at 6:24 AM, Hauke Mehrtens <ha...@hauke-m.de> wrote: > On 03/16/2018 01:53 AM, Rosen Penev wrote: >> Some boards like the Turris Omnia have an RTC chip that does not get >> initialized. Initializing the RTC at the driver level helps get rid of >>

[LEDE-DEV] [PATCH 1/2] mvebu: Backport RTC trimming support.

2018-03-15 Thread Rosen Penev
This enables a higher precision mode for the RTC. Signed-off-by: Rosen Penev <ros...@gmail.com> --- .../patches-4.14/420-rtc-trimming-support.patch| 145 + 1 file changed, 145 insertions(+) create mode 100644 target/linux/mvebu/patches-4.14/420-rtc-tr

[LEDE-DEV] [PATCH 2/2] mvebu: Add Solidrun RTC init patch.

2018-03-15 Thread Rosen Penev
Some boards like the Turris Omnia have an RTC chip that does not get initialized. Initializing the RTC at the driver level helps get rid of bootloader hacks that write special register values. Signed-off-by: Rosen Penev <ros...@gmail.com> --- .../mvebu/patches-4.14/421-rtc-initialize

[LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-03-15 Thread Rosen Penev
which are smaller. Size difference: 10416503 u-boot-2015.10.tar.bz2 8351456 u-boot-2015.10.tar.xz Signed-off-by: Rosen Penev <ros...@gmail.com> v2: Change git URL from GitHub to official mirror. v3: Change URL to HTTPS now that Wolfgang Denke added support. --- package/boot/uboot-en

Re: [LEDE-DEV] [PATCH] Revert "firmware: ath10k-firmware: update QCA988x firmware to 10.2.4-1.0-00033"

2018-03-15 Thread Rosen Penev
On Sun, Mar 4, 2018 at 3:05 PM, Stefan Lippers-Hollmann <s@gmx.de> wrote: > Hi > > On 2018-03-04, Hauke Mehrtens wrote: >> On 03/04/2018 06:40 PM, Rosen Penev wrote: > [...] >> > On Sun, Mar 4, 2018 at 9:31 AM, Rosen Penev <ros...@gmail.com>

[LEDE-DEV] [PATCH] usbutils: Update to version 009.

2018-03-15 Thread Rosen Penev
4 patches were added to revert the libudev changes as the libudev wrapper in OpenWrt is not good enough. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/utils/usbutils/Makefile| 8 +- .../patches/010-remove-python-usbids.patch | 68 ++ .../patch

Re: [LEDE-DEV] [PATCH] usbutils: Update to version 009.

2018-03-15 Thread Rosen Penev
On Wed, Mar 14, 2018 at 11:59 PM, Bjørn Mork wrote: > Great! > > Note that the OpenWrt usbreset utility has been included in this version > of usbutils. usbreset is currently packaged separately with its source. > Maybe consider merging the two source packages and start building >

Re: [LEDE-DEV] [PATCH] usbutils: Update to version 009.

2018-03-15 Thread Rosen Penev
On Thu, Mar 15, 2018 at 2:26 AM, Karl Palsson <ka...@tweak.net.au> wrote: > > Rosen Penev <ros...@gmail.com> wrote: >> 4 patches were added to revert the libudev changes as the >> libudev wrapper in OpenWrt is not good enough. > > Personally, I'd like to s

[LEDE-DEV] [PATCH] usbutils: Update to version 009.

2018-03-14 Thread Rosen Penev
4 patches were added to revert the libudev changes as the libudev wrapper in OpenWrt is not good enough. Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/utils/usbutils/Makefile| 8 +- .../patches/010-remove-python-usbids.patch | 68 ++ .../patch

Re: [LEDE-DEV] [PATCH] prereq-mk: Change wget dependency to curl one.

2018-03-10 Thread Rosen Penev
On Sat, Mar 10, 2018 at 3:31 AM, Bjørn Mork <bj...@mork.no> wrote: > Rosen Penev <ros...@gmail.com> writes: > >> curl is more common than GNU wget is. > > No. Yes. > >> For example, Cygwin, Arch Linux, and my android phone all come with >> curl by

[LEDE-DEV] [PATCH] prereq-mk: Change wget dependency to curl one.

2018-03-09 Thread Rosen Penev
-by: Rosen Penev <ros...@gmail.com> --- include/prereq-build.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 6a423d2c7d..609c4dc88e 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -136,8

Re: [LEDE-DEV] Can ramips use mt7530 switch driver from mainline?

2018-03-04 Thread Rosen Penev
On Sun, Mar 4, 2018 at 5:57 AM, Hauke Mehrtens wrote: > On 02/28/2018 11:34 AM, Marek Behun wrote: >> Hello, >> >> the mt7530 switch driver is now in mainline kernel as a DSA driver. The >> LEDE ramips target ethernet driver though doesn't use it yet, and I've >> been thinking

Re: [LEDE-DEV] [PATCH] Revert "firmware: ath10k-firmware: update QCA988x firmware to 10.2.4-1.0-00033"

2018-03-04 Thread Rosen Penev
On Sun, Mar 4, 2018 at 1:58 PM, Hauke Mehrtens <ha...@hauke-m.de> wrote: > On 03/04/2018 06:40 PM, Rosen Penev wrote: >> I would like this to be backported to 17.01 as well. The mentioned >> Archer C7v2 runs 17.01. No impact between 17.01 and master. >> >> On S

Re: [LEDE-DEV] Spectre vulnerability & LEDE 17.01 release

2018-03-04 Thread Rosen Penev
On Sun, Mar 4, 2018 at 6:36 AM, Hauke Mehrtens wrote: > On 02/27/2018 11:37 AM, Rafał Miłecki wrote: >> There has been some talk on upcoming 17.01 fix release and Meltdown/Spectre. >> >> Quick summary: >> 1) Most of LEDE supported devices aren't affected >> 2) For most LEDE use

Re: [LEDE-DEV] [PATCH] Revert "firmware: ath10k-firmware: update QCA988x firmware to 10.2.4-1.0-00033"

2018-03-04 Thread Rosen Penev
I would like this to be backported to 17.01 as well. The mentioned Archer C7v2 runs 17.01. No impact between 17.01 and master. On Sun, Mar 4, 2018 at 9:31 AM, Rosen Penev <ros...@gmail.com> wrote: > This reverts commit 8d755ef052dca29db3b8da74149d9c7d74a54842. > > The 33 firmw

[LEDE-DEV] [PATCH] Revert "firmware: ath10k-firmware: update QCA988x firmware to 10.2.4-1.0-00033"

2018-03-04 Thread Rosen Penev
with 29 of those days having a properly working 5GHz interface. I have also tested version 37 but that one behaves similar to 33 with the ath10k driver crashing. Other reports indicate similar findings: https://forum.lede-project.org/t/archer-c7-v4-support/3924/152 Signed-off-by: Rosen Penev <

Re: [LEDE-DEV] 18.03/4 -> GCC 5 or 7

2018-03-04 Thread Rosen Penev
On Sun, Mar 4, 2018 at 7:15 AM, Hauke Mehrtens wrote: > On 02/16/2018 01:46 PM, John Crispin wrote: >> Hi, >> >> whats on the critical todo list for the upcoming release ? i still have >> a few minor things that I'll be adding shortly, apart from that I am >> currently not aware

Re: [LEDE-DEV] sunxi: bpi-r1 switch configuration missing in latest development trunk for 18.0x

2018-03-03 Thread Rosen Penev
On Sat, Mar 3, 2018 at 5:26 PM, TheWerthFam wrote: > 17.01.4 works great currently on this platform, just trying out the cutting > edge and found the switch configuration not existent. > swconfig list returns no results. > > Normally swconfig returns > Found: switch0 -

Re: [LEDE-DEV] [PATCH] kernel: bump 4.4 to 4.4.119

2018-03-02 Thread Rosen Penev
e handled by Kevin Darbyshire-Bryant. > > Compile-tested on: ar71xx & oxnas. > Tested-by: Rosen Penev <ros...@gmail.com> > Signed-off-by: Stijn Segers <f...@volatilesystems.org> > --- > include/kernel-version.mk | 4 +- &

Re: [LEDE-DEV] [PATCH] curl: Switch all TLS libraries to use ca-bundle.

2018-02-27 Thread Rosen Penev
On Tue, Feb 13, 2018 at 4:28 AM, John Crispin <j...@phrozen.org> wrote: > > > On 25/01/18 04:29, Rosen Penev wrote: >> >> On Wed, Jan 24, 2018 at 1:56 PM, Hauke Mehrtens <ha...@hauke-m.de> wrote: >>> >>> On 01/24/2018 05:28 AM, Rosen Penev wrot

[LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-02-26 Thread Rosen Penev
which are smaller. Size difference: 10416503 u-boot-2015.10.tar.bz2 8351456 u-boot-2015.10.tar.xz Signed-off-by: Rosen Penev <ros...@gmail.com> v2: Change git URL from GitHub to official mirror. --- package/boot/uboot-envtools/Makefile | 13 +++-- 1 file changed, 7 insertions

Re: [LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-02-26 Thread Rosen Penev
I sent a few emails. Apparently Wolfgang Denke (I'm assuming owner of denke.de) maintains the GitHub repo but it's not official. As such, switching to the official one. On Fri, Feb 23, 2018 at 10:28 AM, Rosen Penev <ros...@gmail.com> wrote: > On Fri, Feb 23, 2018 at 8:09 AM, Rosen P

Re: [LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-02-23 Thread Rosen Penev
On Fri, Feb 23, 2018 at 8:09 AM, Rosen Penev <ros...@gmail.com> wrote: > On Fri, Feb 23, 2018 at 4:03 AM, Michael Heimpold <m...@heimpold.de> wrote: >> Hi, >> >> Am Donnerstag, 22. Februar 2018, 17:48:58 CET schrieb Rosen Penev: >>> Currently, the buil

Re: [LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-02-23 Thread Rosen Penev
On Fri, Feb 23, 2018 at 4:03 AM, Michael Heimpold <m...@heimpold.de> wrote: > Hi, > > Am Donnerstag, 22. Februar 2018, 17:48:58 CET schrieb Rosen Penev: >> Currently, the build system uses an openwrt mirror which does not currently >> workand FTP can be unreliable

Re: [LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-02-23 Thread Rosen Penev
On Thu, Feb 22, 2018 at 11:37 PM, Alexandru Ardelean <ardeleana...@gmail.com> wrote: > On Fri, Feb 23, 2018 at 3:48 AM, Rosen Penev <ros...@gmail.com> wrote: >> Currently, the build system uses an openwrt mirror which does not currently >> workand FTP can be unreliable

[LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-02-22 Thread Rosen Penev
which are smaller. Size difference: 10416503 u-boot-2015.10.tar.bz2 8351456 u-boot-2015.10.tar.xz Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/boot/uboot-envtools/Makefile | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/package/boot/uboot-en

Re: [LEDE-DEV] [PATCH 1/3] uboot-envtools: Remove openwrt mirror from PKG_SOURCE_URL.

2018-02-20 Thread Rosen Penev
On Tue, Feb 20, 2018 at 1:23 PM, Felix Fietkau <n...@nbd.name> wrote: > On 2018-02-20 21:42, Rosen Penev wrote: >> This mirror is already attempted in case the other fails. Doesn't matter >> though since it doesn't work anyway (404 error). Discovered through "mak

[LEDE-DEV] [PATCH 2/3] download.pl: Change SourceForge address to HTTPS.

2018-02-20 Thread Rosen Penev
SourceForge has supported HTTPS for its downloads for a long time now. I have not been able to see any failures resulting from this change. Signed-off-by: Rosen Penev <ros...@gmail.com> --- scripts/download.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s

[LEDE-DEV] [PATCH 1/3] uboot-envtools: Remove openwrt mirror from PKG_SOURCE_URL.

2018-02-20 Thread Rosen Penev
k make[2]: Leaving directory '/home/mangix/devstuff/openwrt/package/boot/uboot-envtools' Signed-off-by: Rosen Penev <ros...@gmail.com> --- package/boot/uboot-envtools/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/boot/uboot-envtools/Makefile b/packag

[LEDE-DEV] [PATCH 3/3] download.pl: Change OpenWrt mirrors to HTTPS.

2018-02-20 Thread Rosen Penev
These have supported HTTPS for quite a while. I have not seen any obvious breakage. Signed-off-by: Rosen Penev <ros...@gmail.com> --- scripts/download.pl | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/download.pl b/scripts/download.pl index 324c

Re: [LEDE-DEV] [PATCH v1 1/1] openssh: disable passwords for openssh server

2018-02-17 Thread Rosen Penev
On Sat, Feb 17, 2018 at 1:54 PM, Stijn Tintel wrote: > On 09-02-18 01:28, Philip Prindeville wrote: >> From: Philip Prindeville >> >> Allowing password logins leaves you vulnerable to dictionary >> attacks. We disable password-based

Re: [LEDE-DEV] [PATCH] ag71xx: Add some unlikely calls + rearange some stuff in hard_start_xmit.

2018-02-16 Thread Rosen Penev
On Thu, Feb 15, 2018 at 3:29 AM, Felix Fietkau <n...@nbd.name> wrote: > On 2018-02-14 16:20, Rosen Penev wrote: >> On Tue, Feb 13, 2018 at 11:10 PM, Felix Fietkau <n...@nbd.name> wrote: >>> On 2018-02-13 23:53, Rosen Penev wrote: >>>> Based on Qualcomm dri

Re: [LEDE-DEV] 18.03/4

2018-02-16 Thread Rosen Penev
On Fri, Feb 16, 2018 at 4:46 AM, John Crispin wrote: > Hi, > > whats on the critical todo list for the upcoming release ? i still have a > few minor things that I'll be adding shortly, apart from that I am currently > not aware of any huge problems. the release will be a mix

Re: [LEDE-DEV] [PATCH] ag71xx: Add some unlikely calls + rearange some stuff in hard_start_xmit.

2018-02-14 Thread Rosen Penev
On Tue, Feb 13, 2018 at 10:52 PM, John Crispin <j...@phrozen.org> wrote: > > > On 13/02/18 23:53, Rosen Penev wrote: >> >> Based on Qualcomm driver. Improves iperf3 throughput by ~20mbps on >> transmit on Archer C7v4. > > > this is missing the descripti

Re: [LEDE-DEV] [PATCH] ag71xx: Add some unlikely calls + rearange some stuff in hard_start_xmit.

2018-02-14 Thread Rosen Penev
On Tue, Feb 13, 2018 at 11:10 PM, Felix Fietkau <n...@nbd.name> wrote: > On 2018-02-13 23:53, Rosen Penev wrote: >> Based on Qualcomm driver. Improves iperf3 throughput by ~20mbps on transmit >> on Archer C7v4. >> >> Signed-off-by: Rosen Penev <ros...@g

[LEDE-DEV] Data corruption on kernel 4.9 with MIPS

2018-02-13 Thread Rosen Penev
Just thought I'd give a heads up given that the stable release is upon us. I've tried making some noise about an issue affecting ramips with kernel 4.9 where any device under /dev/sdX (maybe even /dev/mtdblock) will start returning bad data after a while (how long seems dependent on RAM size).

[LEDE-DEV] [PATCH] ag71xx: Add some unlikely calls + rearange some stuff in hard_start_xmit.

2018-02-13 Thread Rosen Penev
Based on Qualcomm driver. Improves iperf3 throughput by ~20mbps on transmit on Archer C7v4. Signed-off-by: Rosen Penev <ros...@gmail.com> --- .../drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/

Re: [LEDE-DEV] [PATCH] curl: Switch all TLS libraries to use ca-bundle.

2018-02-13 Thread Rosen Penev
On Tue, Feb 13, 2018 at 4:28 AM, John Crispin <j...@phrozen.org> wrote: > > > On 25/01/18 04:29, Rosen Penev wrote: >> >> On Wed, Jan 24, 2018 at 1:56 PM, Hauke Mehrtens <ha...@hauke-m.de> wrote: >>> >>> On 01/24/2018 05:28 AM, Rosen Penev wrot

Re: [LEDE-DEV] [PATCH] kernel: rename CONFIG_TRACE_ENUM_MAP_FILE to CONFIG_TRACE_EVAL_MAP_FILE

2018-02-09 Thread Rosen Penev
On Fri, Feb 9, 2018 at 3:44 PM, Hauke Mehrtens <ha...@hauke-m.de> wrote: > This config option was renamed in upstream Linux commit 681bec0367 > ("tracing: Rename update the enum_map file") > > Reported-by: Rosen Penev <ros...@gmail.com> > Signed-off

Re: [LEDE-DEV] [PATCH v2 0/5] mvebu: add kernel 4.14 support

2018-02-09 Thread Rosen Penev
On Fri, Feb 9, 2018 at 2:57 PM, Rosen Penev <ros...@gmail.com> wrote: > On Fri, Feb 9, 2018 at 1:52 PM, Hauke Mehrtens <ha...@hauke-m.de> wrote: >> On 01/21/2018 06:53 PM, Hauke Mehrtens wrote: >>> This add support for kernel 4.14 to the mvebu target. My main reason

Re: [LEDE-DEV] [PATCH v2 0/5] mvebu: add kernel 4.14 support

2018-02-09 Thread Rosen Penev
On Fri, Feb 9, 2018 at 1:52 PM, Hauke Mehrtens wrote: > On 01/21/2018 06:53 PM, Hauke Mehrtens wrote: >> This add support for kernel 4.14 to the mvebu target. My main reason to >> add kernel 4.14 support is to make it easier to also add support for the >> Marvell Armada 3700LP

[LEDE-DEV] [PATCH 1/3] ag71xx: Move timestamp struct member outside of struct.

2018-02-07 Thread Rosen Penev
ces of netif_trans_update() are useless (if they occur in .ndo_start_xmit and driver doesn't set LLTX flag -- stack already did an update). From: http://lists.openwall.net/netdev/2016/05/03/87 Signed-off-by: Rosen Penev <ros...@gmail.com> --- .../linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71

Re: [LEDE-DEV] [PATCH 1/3] ag71xx: Remove timestamp struct member and use trans_start instead

2018-02-07 Thread Rosen Penev
On Wed, Feb 7, 2018 at 5:54 AM, Felix Fietkau <n...@nbd.name> wrote: > On 2018-02-06 23:27, Rosen Penev wrote: >> Small speedup for TX. >> >> Based on a Qualcomm commit. ag->timestamp = jiffies was not replaced with >> netif_trans_update(dev) because of

Re: [LEDE-DEV] [PATCH 3/3] ag71xx: Switch to napi_alloc_frag.

2018-02-07 Thread Rosen Penev
On Wed, Feb 7, 2018 at 1:24 AM, Karl Palsson <ka...@tweak.net.au> wrote: > > Rosen Penev <ros...@gmail.com> wrote: >> Seems to perform slightly better. > > Seems? Sounds like super awesome reason to change things. I did measure a performance improvement but it's ha

  1   2   3   >