[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 --- .../ramips/patches-4.14/0043-spi-add-mt7621-

[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 --- .../patches-4.14/0025-pinctrl-ralink-add-pin

[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 --- .../0028-GPIO-ralink-add-mt7621-gpio-controller.patch

[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: Greg Kroah-Hartman --- .../0028-GPIO-ralink-add-mt7621-gpio-controller.patc

[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 --- .../ramips/files-4.14/arch/mip

[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)") Signed-off-by: Wei Yongjun Si

[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 Yongjun Signed-off-by:

[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") Signed-off-by: Wei Yongjun Signed-

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 handle the > patches in

[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 --- .../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(+), 842 deletions

[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. Signed-off-by: NeilBrown Signe

[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 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --gi

[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 bus/slot numbers. This ha

[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 --- target/linux/ramips/files-4.14/arch/mips/pci

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 wrote: > On Tue, May 8, 2018 at 1:08 PM, Kevin Darbyshire-Bryant via Lede-dev > wrote: >> The sender domain has a DMARC Reject/Quarantine policy which disallows >> sending mailing list messages using the original "From" he

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

2018-05-08 Thread Rosen Penev
ssage has been wrapped > automatically by the mailing list software. > > -- Forwarded message -- > From: Kevin Darbyshire-Bryant > To: Daniel Danzberger > Cc: Rosen Penev , "lede-dev@lists.infradead.org" > > Bcc: > Date: Tue, 8 May 2018 20:07:56 +

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 10:08 AM, Rosen Penev wrote: > 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 acce

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 kernel memory aren't >

[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 --- 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 362d742..5400821 100644 --- a

[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 --- v2: Change git URL from GitHub to official mirror. v3: Change URL to HTTPS now that Wolfgang Denke added support. v4: Rebased against current master. Old sizes: 10416503

[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 --- v2: Move to 10-default.conf file. v3: Edit patch description to be 75 characters per line. package/base-files/files

[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 v2: Move to 10-default.conf file. --- package/base-files/files/etc/sysctl.d/10-default.conf | 4 1 file changed, 4

[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 v2: Change git URL from GitHub to official mirror. v3: Change URL to HTTPS now that Wolfgang Denke added support. v4: Rebased against current master. New sizes: 12304292 u

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 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: >> >> ath10k + QCA firmware = driver

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 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. >> >> Signed-off-by: R

[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 --- package/libs/libusb

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

2018-04-27 Thread Rosen Penev
r71xx: 30444 vs. 30099 bytes. Signed-off-by: Rosen Penev --- 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/libusb/Makefile

[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 --- ...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-r4k-fix-data-corruption

[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 --- tools/firmware-utils/src/mkdapimg2.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/tools/firmware-utils/src/mkdapimg2.c b/tools/firmware-utils/src

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

2018-04-22 Thread Rosen Penev
:00 0 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 --- tools/firmware-utils/src

[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 --- package/boot/uboot-envtools/Makefile | 4 +--- package/boot/uboot-xburst/Makefile | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff

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 wrote: > > > On 2018-04-04 13:21, Rosen Penev wrote: >> >> On Wed, Apr 4, 2018 at 4:17 AM, Jo-Philipp Wich wrote: >>> >>> Hi Koen, >>> >>> please try reverting >>>

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 gcc 5 host com

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

2018-04-01 Thread Rosen Penev
r71xx: 30444 vs. 30099 bytes. Signed-off-by: Rosen Penev --- 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/package/libs/libusb/Mak

[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 --- .../ncurses/patches/102-ncurses-5.9-gcc-5.patch

[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 --- ustream-openssl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ustream-openssl.c b/ustream-openssl.c index 83f6140..2faa855 100644 --- a/ustream

[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 --- ustream-openssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ustream-openssl.c b/ustream-openssl.c index 2faa855..eb03dab 100644 --- a/ustream-openssl.c +++ b

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 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-by: Rosen Penev >>

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

2018-03-30 Thread Rosen Penev
From: Daniel Engberg Update (lib)json-c to 0.13 Signed-off-by: Daniel Engberg Signed-off-by: Rosen Penev --- package/libs/libjson-c/Makefile | 4 +-- package/libs/libjson-c/patches/000-libm.patch | 50 --- 2 files changed, 2 insertions(+), 52 deletions

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

2018-03-30 Thread Rosen Penev
From: Daniel Engberg Update f2fs-tools to 1.10.0 Signed-off-by: Daniel Engberg Signed-off-by: Rosen Penev --- package/utils/f2fs-tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/utils/f2fs-tools/Makefile b/package/utils/f2fs-tools/Makefile index

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

2018-03-30 Thread Rosen Penev
difference. Signed-off-by: Rosen Penev --- 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/mvebu/image/cortex-a9

[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 --- package/base-files/files/etc/sysctl.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/base-files/files/etc/sysctl.conf b/pa

[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 --- package/base-files/files/etc/sysctl.conf | 4 1 file changed, 4 insertions(+) diff --git a/package/base-files

[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 --- target/linux/generic/config-3.18 | 2 +- target/linux/generic/config-4.14 | 2 +- target/linux/generic

[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 --- ustream-openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ustream-openssl.c

[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 --- ustream-openssl.c | 4 1 file changed, 4 insertions(+) diff --git a/ustream-openssl.c b/ustream-openssl.c index 83f6140..0f51b9d 100644 --- a/ustream

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

2018-03-30 Thread Rosen Penev
vice > 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 Tested-by: Rosen Penev > --- > package/firmware/ath10k-firmware/Makefile | 58 &

[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 --- 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.sh b/target/linux/

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 routing. > > Agreed, i

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

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

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

2018-03-23 Thread Rosen Penev
ramips/mt7621, x86/64 > Run-tested: ramips/mt7621, x86/64 > Signed-off-by: Stijn Segers Tested-by: Rosen Penev > --- > include/kernel-version.mk | 4 +- > ...d-firmware-loader-for-uPD720201-and-uPD72.patch | 6 +- > .../802-usb-xhci-force-msi-renesas-xhc

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 ath10k-ct driver this ch

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

2018-03-19 Thread Rosen Penev
Compile tested on mvebu. Signed-off-by: Rosen Penev v2: Remove upstreamed patch --- package/libs/libtool/Makefile | 6 +++--- package/libs/libtool/patches/160-passthrough-ssp.patch | 11 --- 2 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644

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

2018-03-18 Thread Rosen Penev
Compile tested on ar71xx. Signed-off-by: Rosen Penev --- 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 100644 --- a/package

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

2018-03-18 Thread Rosen Penev
Compile tested on ar71xx. Signed-off-by: Rosen Penev --- 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/package/libs/libtool/Makefile

[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 --- 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/Makefile index b36962601f

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

2018-03-18 Thread Rosen Penev
Compile tested on ar71xx. Signed-off-by: Rosen Penev --- package/libs/ncurses/Makefile | 6 +-- .../patches/100-ncurses-5.6-20080112-urxvt.patch | 2 +- .../patches/101-ncurses-5.6-20080628-kbs.patch | 46 +++--- .../ncurses/patches/102-ncurses-5.9

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 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 >> bootloader hacks that w

[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 --- .../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-trimming-support.patch diff --git a

[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 --- .../mvebu/patches-4.14/421-rtc-initialize.patch| 70

[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 v2: Change git URL from GitHub to official mirror. v3: Change URL to HTTPS now that Wolfgang Denke added support. --- package/boot/uboot-envtools/Makefile | 13

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 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 wrote: > [...] >> I also saw problems with the 1

[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 --- package/utils/usbutils/Makefile| 8 +- .../patches/010-remove-python-usbids.patch | 68 ++ .../patches/020-revert-removal-of

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 > usbreset as par

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 wrote: > > Rosen Penev 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 see substantially better descriptions in > the

[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 --- package/utils/usbutils/Makefile| 8 +- .../patches/010-remove-python-usbids.patch | 68 ++ .../patches/020-revert-removal-of

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 wrote: > Rosen Penev 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 default whereas wget is missing. > > wget ha

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

2018-03-09 Thread Rosen Penev
-by: Rosen Penev --- 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 +136,8 @@ $(eval $(call

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 what all would have

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 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 Sun, Mar 4, 2018 at

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 cases these vulnera

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 wrote: > This reverts commit 8d755ef052dca29db3b8da74149d9c7d74a54842. > > The 33 firmware for QCA988x is not stab

[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

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 of any huge proble

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 - eth0 > Found: switch1 - eth

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

2018-03-02 Thread Rosen Penev
yant. > > Compile-tested on: ar71xx & oxnas. > Tested-by: Rosen Penev > Signed-off-by: Stijn Segers > --- > include/kernel-version.mk | 4 +- > .../004-register_gpio_driver_earlier.patch | 5 +- > .../patches-4.4/910-unaligned_acce

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 wrote: > > > On 25/01/18 04:29, Rosen Penev wrote: >> >> On Wed, Jan 24, 2018 at 1:56 PM, Hauke Mehrtens wrote: >>> >>> On 01/24/2018 05:28 AM, Rosen Penev wrote: >>>> >>>> At least

[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 v2: Change git URL from GitHub to official mirror. --- package/boot/uboot-envtools/Makefile | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git

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 wrote: > On Fri, Feb 23, 2018 at 8:09 AM, Rosen Penev wrote: >

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 wrote: > On Fri, Feb 23, 2018 at 4:03 AM, Michael Heimpold 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 cur

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 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 under several circumstan

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 wrote: > On Fri, Feb 23, 2018 at 3:48 AM, Rosen Penev wrote: >> Currently, the build system uses an openwrt mirror which does not currently >> workand FTP can be unreliable under several circumstances (Ubuntu 16.04 WSL >

[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 --- package/boot/uboot-envtools/Makefile | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/package/boot/uboot-envtools/Makefile b/package

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 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 "make >>

[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 --- scripts/download.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download.pl b/scripts

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

2018-02-20 Thread Rosen Penev
k 0 0:00:05 0:00:05 --:--:-- 2317k make[2]: Leaving directory '/home/mangix/devstuff/openwrt/package/boot/uboot-envtools' Signed-off-by: Rosen Penev --- package/boot/uboot-envtools/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/boot/ubo

[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 --- scripts/download.pl | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/download.pl b/scripts/download.pl index 324cfdb3b3..34fd6a6f0b 100755 --- a

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 authentication, limiting >> authentication to keys only which a

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 wrote: > On 2018-02-14 16:20, Rosen Penev wrote: >> On Tue, Feb 13, 2018 at 11:10 PM, Felix Fietkau wrote: >>> On 2018-02-13 23:53, Rosen Penev wrote: >>>> Based on Qualcomm driver. Improves iperf3 throughput by ~20mb

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 between 4.9 and > 4.14

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 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 description of what the patch does.

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 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 >> --- >> .../drivers/ne

[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). Iss

[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 --- .../drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/target/linux/ar71xx/files

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 wrote: > > > On 25/01/18 04:29, Rosen Penev wrote: >> >> On Wed, Jan 24, 2018 at 1:56 PM, Hauke Mehrtens wrote: >>> >>> On 01/24/2018 05:28 AM, Rosen Penev wrote: >>>> >>>> At least

Re: [LEDE-DEV] [PATCH] ag71xx: Reorder ring structs for lower cache trashing.

2018-02-09 Thread Rosen Penev
On Thu, Feb 1, 2018 at 9:23 AM, Lucian Cristian wrote: > On 30.01.2018 18:14, Rosen Penev wrote: >> >> Based on Qualcomm's upstream code. Reordered a bit different. >> >> iperf3 speed goes from ~279mbps to ~320mbps. >> >> Signed-off-by: Rosen Penev

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 wrote: > This config option was renamed in upstream Linux commit 681bec0367 > ("tracing: Rename update the enum_map file") > > Reported-by: Rosen Penev > Signed-off-by: Hauke Mehrtens > --- > target/linux/gener

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 wrote: > 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

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 ARM64 SoCs especiall

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

2018-02-07 Thread Rosen Penev
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 --- .../linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h | 2 -- ..

  1   2   3   >