[OpenWrt-Devel] [PATCH 2/8] dnsmasq: Install hotplug and config files as 600

2018-09-19 Thread Rosen Penev
Hotplug is used by procd and config is used by uci, both of which run as root. Signed-off-by: Rosen Penev --- package/network/services/dnsmasq/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services

[OpenWrt-Devel] [PATCH 6/8] linux-atm: Install hotplug file as 600

2018-09-19 Thread Rosen Penev
The hotplug files is only used by procd, which runs as root. Signed-off-by: Rosen Penev --- package/network/utils/linux-atm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/linux-atm/Makefile b/package/network/utils/linux-atm/Makefile index

[OpenWrt-Devel] [PATCH 4/8] samba36: Install several config files as 600

2018-09-19 Thread Rosen Penev
Hotplug is managed by procd, which runs as root. The other files are used by root as well. Signed-off-by: Rosen Penev --- package/network/services/samba36/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/network/services/samba36/Makefile b/package

[OpenWrt-Devel] [PATCH 5/8] comgt: Install hotplug and netifd files as 600

2018-09-19 Thread Rosen Penev
procd and netifd both run as root. These files are not used elsewhere. Signed-off-by: Rosen Penev --- package/network/utils/comgt/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/utils/comgt/Makefile b/package/network/utils/comgt/Makefile index

[OpenWrt-Devel] [PATCH 7/8] procd: Install hotplug files as 600

2018-09-19 Thread Rosen Penev
procd runs as root, so it only makes sense that its files are restricted. Signed-off-by: Rosen Penev --- package/system/procd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index 33cd6b4468

[OpenWrt-Devel] [PATCH 8/8] mac80211: Install hotplug file as 600

2018-09-19 Thread Rosen Penev
This is only used by procd, which runs as root. Signed-off-by: Rosen Penev --- package/kernel/mac80211/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 611d5a73d8..73e854ad7d 100644 --- a

Re: [OpenWrt-Devel] [PATCH] kernel: re-enable MIPS VDSO

2018-09-21 Thread Rosen Penev
On Fri, Sep 21, 2018 at 11:42 AM Kevin Darbyshire-Bryant wrote: > > kernel upstream commit 9efcaa7c4afba5628f2650a76f69c798f47eeb18 to 4.14 > itself a backport of 0f02cfbc3d9e413d450d8d0fd660077c23f67eff has > resolved the cache line issues that led to us disabling VDSO by default > on MIPS. Do yo

[OpenWrt-Devel] [PATCH] kernel: Add AEAD and RNG support to kmod-crypto-user

2018-09-21 Thread Rosen Penev
This breaks compatibility with kernel 3.18, but as that is more or less abandoned at this point, it should be fine. Tested on Turris Omnia. Signed-off-by: Rosen Penev --- package/kernel/linux/modules/crypto.mk | 4 1 file changed, 4 insertions(+) diff --git a/package/kernel/linux/modules

Re: [OpenWrt-Devel] OpenWrt 19.01 plans

2018-09-23 Thread Rosen Penev
On Sat, Sep 22, 2018 at 3:43 PM Hauke Mehrtens wrote: > > Hi, > > We talked about plans for the next OpenWrt releases in this mail thread: > http://lists.infradead.org/pipermail/openwrt-adm/2018-July/000849.html > This mail is more or less a summary of the conclusions, this is still > open for cha

Re: [OpenWrt-Devel] OpenWrt 19.01 plans

2018-09-28 Thread Rosen Penev
> On Sep 28, 2018, at 07:20, Jerome BENOIT wrote: > > >>> Is there any work in OpenWRT targeted at integrating Linux forwarding >>> fastpath in the official build ? >>> There are out-of-tree patches and builds floating around and nowadays 1 >>> GB/s fiber internet access is very common is deve

Re: [OpenWrt-Devel] OpenWrt 19.01 plans

2018-09-29 Thread Rosen Penev
> On Sep 29, 2018, at 12:09, Jérôme Benoit wrote: > >> Le 29/09/2018 à 16:56, Felix Fietkau a écrit : >> >> Flow offloading (as implemented in OpenWrt on 4.14) supports both >> hardware offload and generic software offload for routing and NAT. >> SFE is not necessary anymore. >> > So you've m

Re: [OpenWrt-Devel] OpenWrt 19.01 plans

2018-09-29 Thread Rosen Penev
> On Sep 29, 2018, at 14:14, Torbjorn Jansson > wrote: > > On 2018-09-29 21:55, Rosen Penev wrote: >>> On Sep 29, 2018, at 12:09, Jérôme Benoit wrote: >>> >>>> Le 29/09/2018 à 16:56, Felix Fietkau a écrit : >>>> >>>>

Re: [OpenWrt-Devel] OpenWrt 19.01 plans

2018-09-29 Thread Rosen Penev
> On Sep 29, 2018, at 14:42, Torbjorn Jansson > wrote: > > On 2018-09-29 23:21, Rosen Penev wrote: >>> On Sep 29, 2018, at 14:14, Torbjorn Jansson >>> wrote: >>> >>> On 2018-09-29 21:55, Rosen Penev wrote: >>>>> On Sep 29, 2018

[OpenWrt-Devel] [PATCH] patch: Add missing CVE

2018-10-15 Thread Rosen Penev
uscan reports a new CVE now that PKG_CPE_ID was added. Reordered patches by date. Signed-off-by: Rosen Penev --- tools/patch/Makefile | 2 +- tools/patch/patches/010-CVE-2018-6951.patch | 29 +++ ...00156.patch => 020-CVE-2018-1000156.patch} |

[OpenWrt-Devel] [PATCH 1/2] tools/libressl: Add PKG_CPE_ID for proper CVE tracking

2018-10-15 Thread Rosen Penev
Signed-off-by: Rosen Penev --- tools/libressl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libressl/Makefile b/tools/libressl/Makefile index 1698971f4f..57cdacd961 100644 --- a/tools/libressl/Makefile +++ b/tools/libressl/Makefile @@ -12,6 +12,8 @@ PKG_VERSION:=2.8.1

[OpenWrt-Devel] [PATCH 2/2] tools/xz: Add PKG_CPE_ID for proper CVE tracking

2018-10-15 Thread Rosen Penev
Signed-off-by: Rosen Penev --- tools/xz/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/xz/Makefile b/tools/xz/Makefile index d6b619db41..5de9eb5e28 100644 --- a/tools/xz/Makefile +++ b/tools/xz/Makefile @@ -13,6 +13,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2

[OpenWrt-Devel] [PATCH] tools/xz: Add PKG_CPE_ID for proper CVE tracking

2018-10-15 Thread Rosen Penev
Signed-off-by: Rosen Penev --- tools/xz/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/xz/Makefile b/tools/xz/Makefile index d6b619db41..5d574892bb 100644 --- a/tools/xz/Makefile +++ b/tools/xz/Makefile @@ -13,6 +13,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2

[OpenWrt-Devel] [PATCH] kernel: Add AEAD and RNG support to kmod-crypto-user

2018-10-16 Thread Rosen Penev
This breaks compatibility with kernel 3.18, but as that is more or less abandoned at this point, it should be fine. Tested on Turris Omnia. Signed-off-by: Rosen Penev --- package/kernel/linux/modules/crypto.mk | 4 1 file changed, 4 insertions(+) diff --git a/package/kernel/linux/modules

Re: [OpenWrt-Devel] [PATCH] fstools: add ntfs support

2018-10-19 Thread Rosen Penev
On Fri, Sep 28, 2018 at 16:01 Ansuel Smith wrote: > This adds ntfs support to block-mount What’s the point of this? This is also read only if I’m not mistaken. > > > Signed-off-by: Ansuel Smith > --- > block.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/bl

Re: [OpenWrt-Devel] [PATCH] fstools: add ntfs support

2018-10-19 Thread Rosen Penev
> On Sep 28, 2018, at 16:31, Ansuel Smith wrote: > > If you also install ntfs-3g it's not read only Hmm? That requires specifying NTFS-3G manually, no? > > Il Sab 29 Set 2018, 01:28 Rosen Penev ha scritto: >> >> >>> On Fri, Sep 28, 2018 at 16:0

[OpenWrt-Devel] [PATCH] mvebu: Fix broken build as a result of last kernel bump

2018-10-20 Thread Rosen Penev
Moved the config option to the proper location. Signed-off-by: Rosen Penev --- target/linux/mvebu/config-4.14 | 1 + target/linux/mvebu/cortexa9/config-default | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 target/linux/mvebu/cortexa9/config-default diff

Re: [OpenWrt-Devel] Package global config

2018-10-23 Thread Rosen Penev
On Tue, Oct 23, 2018 at 5:09 PM Etienne Champetier wrote: > > Hello OpenWRT devs, > > In zabbix package, I have 2 config options: > - ssl support > - db choice > https://github.com/openwrt/packages/blob/master/admin/zabbix/Makefile#L35 > > right now ssl support is "Package/zabbix-agentd/config" an

[OpenWrt-Devel] [PATCH] kernel: Remove dependencies on old kernels

2018-10-27 Thread Rosen Penev
Kernels 4.1 and 4.4 are not part of the tree anymore. Signed-off-by: Rosen Penev --- package/kernel/linux/modules/crypto.mk | 2 +- package/kernel/linux/modules/iio.mk| 2 +- package/kernel/linux/modules/netfilter.mk | 2 +- package/kernel/linux/modules/netsupport.mk | 6

[OpenWrt-Devel] [PATCH] bzip2: Fix download URL

2018-10-29 Thread Rosen Penev
Main website went down. Use openwrt sources for it. Matches a similar buildroot commit. Signed-off-by: Rosen Penev --- package/utils/bzip2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/utils/bzip2/Makefile b/package/utils/bzip2/Makefile index ea2fc76833

[OpenWrt-Devel] [PATCH] tools/patch: Add fedora patch for crashing git style patches

2018-10-31 Thread Rosen Penev
https://lists.gnu.org/archive/html/bug-patch/2018-10/msg0.html I assume a CVE number will be assigned soon. Signed-off-by: Rosen Penev --- tools/patch/Makefile | 2 +- ...rror-handling-with-git-style-patches.patch | 58 +++ 2 files changed, 59

Re: [OpenWrt-Devel] [PATCH] bzip2: Fix download URL

2018-10-31 Thread Rosen Penev
t; > Best Regards, > Syrone Wong > On Tue, Oct 30, 2018 at 1:18 AM Rosen Penev wrote: > > > > Main website went down. Use openwrt sources for it. > > > > Matches a similar buildroot commit. > > > > Signed-off-by: Rosen Penev > > --- > >

Re: [OpenWrt-Devel] [PATCH] ralink: Add support for GPIO as interrupt-controller

2018-11-04 Thread Rosen Penev
On Sun, Nov 4, 2018 at 6:49 PM Daniel Santos wrote: > > The gpio-ralink driver has everything it needs to be used as an > interrupt controller except for device tree support. This simple patch > adds that support by configuring the irq domain to use two cells and > adding the appropriate document

Re: [OpenWrt-Devel] [PATCH] ralink: Add support for GPIO as interrupt-controller

2018-11-05 Thread Rosen Penev
r this one is "ralink,rt2880-gpio". Ah I see. I think what threw me off was the patch name being 0029 as 0028 is the mt7621 patch. > > On 11/04/2018 10:27 PM, Rosen Penev wrote: > > On Sun, Nov 4, 2018 at 6:49 PM Daniel Santos > > wrote: > >> The gpio-ralink dri

Re: [OpenWrt-Devel] OpenWrt Roadmap

2018-11-05 Thread Rosen Penev
On Mon, Nov 5, 2018 at 12:45 PM Hauke Mehrtens wrote: > > Hi all, > > We had a discussion about the future OpenWrt Roadmap in July here: > http://lists.infradead.org/pipermail/openwrt-adm/2018-July/000849.html > > The outcome from my perspective is the following. > > The next release would be done

Re: [OpenWrt-Devel] OpenWrt Roadmap

2018-11-13 Thread Rosen Penev
On Tue, Nov 13, 2018 at 10:13 AM Fernando Frediani wrote: > > Hi. > > I think there is a little misunderstanding about this topic. > As many know here for OpenWrt doesn't quiet work as the same for a > company's project where you may have dedicated people to a project. > People work in the stuff t

[OpenWrt-Devel] [PATCH] flex: Add a lex symlink

2018-11-13 Thread Rosen Penev
Some packages like libpfring assume the presense of lex, which on some other systems is a symlink to flex but not all. Symlink flex to fix compilation. Arch Linux and Fedora do this as far as I know. Signed-off-by: Rosen Penev --- tools/flex/Makefile | 5 + 1 file changed, 5 insertions

[OpenWrt-Devel] [PATCH] comgt: Fix 3g.sh permissions

2018-12-05 Thread Rosen Penev
3g.sh needs to be executable. 600 is not correct for that. Signed-off-by: Rosen Penev --- package/network/utils/comgt/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/comgt/Makefile b/package/network/utils/comgt/Makefile index d4d673e783

[OpenWrt-Devel] [PATCH] swconfig: Add missing include

2018-12-06 Thread Rosen Penev
Fixes these warnings: swlib.c:455:18: warning: implicit declaration of function 'isspace' swlib.c:461:9: warning: implicit declaration of function 'isdigit' Signed-off-by: Rosen Penev --- package/network/config/swconfig/Makefile| 2 +- package/network/config/swconfig/

[OpenWrt-Devel] [PATCH] f2fs-tools: Update to 1.12.0

2018-12-06 Thread Rosen Penev
Tested on Turris Omnia. 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 659b3d244c..b782b80670 100644 --- a/package/utils/f2fs

[OpenWrt-Devel] [PATCHv2] f2fs-tools: Update to 1.12.0

2018-12-09 Thread Rosen Penev
Added two upstream mailing list patches that fix behavior under big endian systems. Issue was present since version 1.11.0. Tested on Turris Omnia. Original discussion: https://github.com/openwrt/openwrt/pull/1575 Signed-off-by: Rosen Penev --- v2: Added big endian patches. package/utils

Re: [OpenWrt-Devel] [PATCHv2] f2fs-tools: Update to 1.12.0

2018-12-11 Thread Rosen Penev
On Mon, Dec 10, 2018 at 1:59 AM Daniel Engberg wrote: > > Hi, > > I think we at least should wait until we get confirmation that patch #2 > is working on real hardware (ar71xx for instance) as intended. Also, I'm > not sure if it's your intention but the Github user offered to clean up > the patch

Re: [OpenWrt-Devel] MIPS stack security and other problems

2018-12-16 Thread Rosen Penev
On Sun, Dec 16, 2018 at 4:54 PM Dave Taht wrote: > > > A pretty deep look at home MIPS and arm routers, and a surprising bug in > Linux/MIPS - by mudge and co: > > https://cyber-itl.org/2018/12/07/a-look-at-home-routers-and-linux-mips.html > > I have no idea if current openwrt, or what prior rele

Re: [OpenWrt-Devel] MIPS stack security and other problems

2018-12-17 Thread Rosen Penev
On Mon, Dec 17, 2018 at 2:49 PM John Crispin wrote: > > > On 17/12/2018 23:18, Dave Taht wrote: > > Rosen Penev writes: > > > >> On Sun, Dec 16, 2018 at 4:54 PM Dave Taht wrote: > >>> > >>> A pretty deep look at home MIPS and arm routers, a

Re: [OpenWrt-Devel] MIPS stack security and other problems

2018-12-17 Thread Rosen Penev
On Mon, Dec 17, 2018 at 3:40 PM Dave Taht wrote: > > John Crispin writes: > > > On 17/12/2018 23:18, Dave Taht wrote: > >> Rosen Penev writes: > >> > >>> On Sun, Dec 16, 2018 at 4:54 PM Dave Taht wrote: > >>>> > >>>> A

Re: [OpenWrt-Devel] MIPS stack security and other problems

2018-12-17 Thread Rosen Penev
On Mon, Dec 17, 2018 at 4:34 PM Rosen Penev wrote: > > On Mon, Dec 17, 2018 at 3:40 PM Dave Taht wrote: > > > > John Crispin writes: > > > > > On 17/12/2018 23:18, Dave Taht wrote: > > >> Rosen Penev writes: > > >> > > >>&g

Re: [OpenWrt-Devel] [RFC PATCH] kernel: drop MIPS: fix cache flushing for highmem pages

2018-12-18 Thread Rosen Penev
On Tue, Dec 18, 2018 at 2:35 AM Kevin 'ldir' Darbyshire-Bryant wrote: > > Signed-off-by: Kevin Darbyshire-Bryant > --- > > This patch, in a variety of forms, has been around since beginning 2016 > as e756c2bb07, ending up in present form 0aa6c7df60 (kernel 4.4.13 bump) > and carried forward ever

Re: [OpenWrt-Devel] MIPS stack security and other problems

2018-12-18 Thread Rosen Penev
On Tue, Dec 18, 2018 at 6:41 AM Hauke Mehrtens wrote: > > On 12/18/18 11:02 AM, Andre Heider wrote: > > On 18/12/2018 01:44, Rosen Penev wrote: > >> On Mon, Dec 17, 2018 at 4:34 PM Rosen Penev wrote: > >>> > >>> On Mon, Dec 17, 2018 at 3:40 PM Dave Ta

Re: [OpenWrt-Devel] [RFC PATCH] kernel: drop MIPS: fix cache flushing for highmem pages

2018-12-19 Thread Rosen Penev
On Wed, Dec 19, 2018 at 9:54 AM Kevin 'ldir' Darbyshire-Bryant wrote: > > > > > On 19 Dec 2018, at 09:57, Felix Fietkau wrote: > > > > On 2018-12-18 17:43, Rosen Penev wrote: > >>> > >> I've tested removing the patch on a 512MB mt

Re: [OpenWrt-Devel] [PATCH] kernel: MIPS: math-emu Write-protect delay slot emulation pages

2018-12-21 Thread Rosen Penev
On Fri, Dec 21, 2018 at 9:21 AM Kevin 'ldir' Darbyshire-Bryant wrote: > > Backport > https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/commit/?id=adcc81f148d733b7e8e641300c5590a2cdc13bf3 > > "Mapping the delay slot emulation page as both writeable & executable > presents a security r

Re: [OpenWrt-Devel] [PATCH] kernel: MIPS: math-emu Write-protect delay slot emulation pages

2018-12-21 Thread Rosen Penev
On Fri, Dec 21, 2018 at 8:05 PM Yousong Zhou wrote: > > On Sat, 22 Dec 2018 at 01:21, Kevin 'ldir' Darbyshire-Bryant > wrote: > > > > Backport > > https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/commit/?id=adcc81f148d733b7e8e641300c5590a2cdc13bf3 > > > > "Mapping the delay slot em

Re: [OpenWrt-Devel] [PATCH] kernel: MIPS: math-emu Write-protect delay slot emulation pages

2018-12-22 Thread Rosen Penev
On Sat, Dec 22, 2018 at 1:14 PM Kevin 'ldir' Darbyshire-Bryant wrote: > > > > > On 22 Dec 2018, at 18:28, Hauke Mehrtens wrote: > > > > > > Hi Yousong, > > > > ASLR is currently not activated by default in OpenWrt, so the binary itself > > is not randomized. Activate CONFIG_PKG_ASLR_PIE to compi

Re: [OpenWrt-Devel] [PATCH] kernel: MIPS: math-emu Write-protect delay slot emulation pages

2018-12-24 Thread Rosen Penev
On Mon, Dec 24, 2018 at 2:16 PM Kevin 'ldir' Darbyshire-Bryant wrote: > > > > > On 24 Dec 2018, at 03:53, Yousong Zhou wrote: > > > >> > > Hi, Kevin > > > > I just took another look at the build system. On OpenWrt, we have a > > pending patch 304-mips_disable_fpu.patch that makes fpu emulation f

[OpenWrt-Devel] [PATCH] uclibc++: Add upstream patches fixing several bugs

2018-12-26 Thread Rosen Penev
This allows some packages like crtmpserver to compile with uClibc++. Only patches that fix bugs were added. Upstream added a bunch of build changes that I kept out to keep things simple. Upstreamed patches start at 100. Signed-off-by: Rosen Penev --- https://github.com/openwrt/packages/pull

Re: [OpenWrt-Devel] [PATCH] kernel: MIPS: math-emu Write-protect delay slot emulation pages

2018-12-27 Thread Rosen Penev
On Sun, Dec 23, 2018 at 2:27 AM Kevin 'ldir' Darbyshire-Bryant wrote: > > > > > On 23 Dec 2018, at 09:43, Kevin 'ldir' Darbyshire-Bryant > > wrote: > > > > I’d suggest putting the champagne away for the moment. I’m not convinced > > and I’ll explain why after a bit more checking. > > TL;DR - I

[OpenWrt-Devel] [PATCHv2] uclibc++: Add upstream patches fixing several bugs

2018-12-30 Thread Rosen Penev
This allows some packages like crtmpserver to compile with uClibc++. Only patches that fix bugs were added. Upstream added a bunch of build changes that I kept out to keep things simple. Upstreamed patches start at 100. Patches sent to upstream start at 200. Signed-off-by: Rosen Penev

Re: [OpenWrt-Devel] MIPS stack security and other problems

2019-01-01 Thread Rosen Penev
On Tue, Jan 1, 2019 at 9:44 AM Hauke Mehrtens wrote: > > On 12/18/18 12:46 PM, Hauke Mehrtens wrote: > > On 12/17/18 1:54 AM, Dave Taht wrote: > >> > >> A pretty deep look at home MIPS and arm routers, and a surprising bug in > >> Linux/MIPS - by mudge and co: > >> > >> https://cyber-itl.org/2018

[OpenWrt-Devel] [PATCH] e2fsprogs: Update to 1.43.5

2019-01-11 Thread Rosen Penev
GnuBee PC1 (mt7621). Signed-off-by: Rosen Penev --- package/utils/e2fsprogs/Makefile | 18 +++- .../e2fsprogs/patches/000-relocatable.patch | 46 --- 2 files changed, 16 insertions(+), 48 deletions(-) delete mode 100644 package/utils/e2fsprogs/patches/000

Re: [OpenWrt-Devel] [PATCH] e2fsprogs: Update to 1.43.5

2019-01-13 Thread Rosen Penev
On Sun, Jan 13, 2019 at 3:50 AM Jo-Philipp Wich wrote: > > Hi, > > > Remove patch 000-relocatable.patch as it seems to be no longer needed. > > did you verify that the generated compile_et and make_cmds scripts are > installed without absolute paths in the host staging directory? This is what I go

Re: [OpenWrt-Devel] [PATCH 1/2] mvebu: move HARDEN_BRANCH_PREDICTOR to common config

2019-01-13 Thread Rosen Penev
IG_HAVE_ARCH_HUGE_VMAP=y > CONFIG_HAVE_ARCH_KASAN=y > diff --git a/target/linux/mvebu/cortexa9/config-default > b/target/linux/mvebu/cortexa9/config-default > deleted file mode 100644 > index c9f039ba96..00 > --- a/target/linux/mvebu/cortexa9/config-default > +++ /dev/

[OpenWrt-Devel] [PATCHv2] e2fsprogs: Update to 1.44.5

2019-01-14 Thread Rosen Penev
Added e4crypt tool for encrypting files and directories. To work properly requires kernel and work on keyutils. That will be done in a future commit Some top-level reorganization for consistency between packages. Tested on GnuBee PC1 (mt7621). Signed-off-by: Rosen Penev --- v2: Readded patch

Re: [OpenWrt-Devel] [PATCH 2/2] mvebu: remove default profile

2019-01-16 Thread Rosen Penev
On Sun, Jan 13, 2019 at 12:28 PM Tomasz Maciej Nowak wrote: > > When using Image Builder and building image for Cortex A53 or > A72 subtargets, it'll fail with following message: > > Collected errors: > * opkg_install_cmd: Cannot install package mwlwifi-firmware-88w8864. > * opkg_install_cmd: Ca

Re: [OpenWrt-Devel] [PATCH 2/2] mvebu: remove default profile

2019-01-17 Thread Rosen Penev
On Wed, Jan 16, 2019 at 11:51 PM Mathias Kresin wrote: > > 17/01/2019 05:38, Rosen Penev: > > On Sun, Jan 13, 2019 at 12:28 PM Tomasz Maciej Nowak wrote: > >> > >> When using Image Builder and building image for Cortex A53 or > >> A72 subtar

Re: [OpenWrt-Devel] MIPS stack security and other problems

2019-01-22 Thread Rosen Penev
On Tue, Jan 22, 2019 at 2:34 PM Hauke Mehrtens wrote: > > On 1/19/19 2:56 PM, Dave Taht wrote: > > Hauke Mehrtens writes: > > > >> On 12/18/18 12:46 PM, Hauke Mehrtens wrote: > >>> On 12/17/18 1:54 AM, Dave Taht wrote: > > A pretty deep look at home MIPS and arm routers, and a surprisin

[OpenWrt-Devel] [PATCH] ramips: Increase GB-PC1 SPI frequency to 50MHz

2019-01-31 Thread Rosen Penev
The specific flash chip used (W25Q256FVEM) accepts 50MHz for read requests and higher for others. Based on upstream commit: 97738374a310b9116f9c33832737e517226d3722 time dd if=/dev/mtdblock3 of=/dev/null bs=64k from 42.96s to 17.26. Signed-off-by: Rosen Penev --- target/linux/ramips/dts/GB

[OpenWrt-Devel] [PATCH] ramips: Increase GB-PC2 SPI speed to 50MHz

2019-01-31 Thread Rosen Penev
The flash chip on the board (Spansion S25FL256SAIF00) is rated to support at least 50MHz according to the datasheet. >From testing this, that seems correct. time dd if=/dev/mtdblock3 of=/dev/null bs=64k from 41.78s to 16.61s Signed-off-by: Rosen Penev --- target/linux/ramips/dts/GB-PC2.

Re: [OpenWrt-Devel] [PATCH] ramips: Increase GB-PC2 SPI speed to 50MHz

2019-02-10 Thread Rosen Penev
On Sun, Feb 10, 2019 at 9:23 AM Christian Lamparter wrote: > > On Friday, February 1, 2019 8:36:13 AM CET Rosen Penev wrote: > > The flash chip on the board (Spansion S25FL256SAIF00) is rated to support > > at least 50MHz according to the datasheet. > > > > From te

Re: [OpenWrt-Devel] [PATCH] ramips: Increase GB-PC2 SPI speed to 50MHz

2019-02-10 Thread Rosen Penev
On Sun, Feb 10, 2019 at 9:23 AM Christian Lamparter wrote: > > On Friday, February 1, 2019 8:36:13 AM CET Rosen Penev wrote: > > The flash chip on the board (Spansion S25FL256SAIF00) is rated to support > > at least 50MHz according to the datasheet. > > > > From te

Re: [OpenWrt-Devel] [PATCH] ramips: Increase GB-PC2 SPI speed to 50MHz

2019-02-10 Thread Rosen Penev
On Sun, Feb 10, 2019 at 8:59 PM Chuanhong Guo wrote: > > Hi! > On Mon, Feb 11, 2019 at 7:49 AM Rosen Penev wrote: > > [...] > > On the PC1, I can go even higher with the SPI frequency to get better > > performance. However, the later versions of the PC1 switched fla

Re: [OpenWrt-Devel] Cleanup in 4.19 generic kernel config?

2019-02-12 Thread Rosen Penev
On Sat, Feb 9, 2019 at 12:16 AM Daniel Engberg wrote: > > Hi, > > After my attempt getting Linux 4.19 working for the Octeon target > I started to look at the generic configuration for 4.19 and it > seems that there are quite a bit of target specific options listed > and potentially generating lar

[OpenWrt-Devel] [PATCH] kernel: Remove CONFIG_UDF_NLS for kernel 4.19

2019-02-12 Thread Rosen Penev
kernel 4.18 removed the symbol and made NLS implicit. Signed-off-by: Rosen Penev --- target/linux/generic/config-4.19 | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/generic/config-4.19 b/target/linux/generic/config-4.19 index 65d908ffe7..5e9a6cf624 100644 --- a/target/linux

Re: [OpenWrt-Devel] [PATCH] mdadm: add new init features; documentation; bug fixes

2019-02-13 Thread Rosen Penev
On Wed, Jan 9, 2019 at 8:31 PM Joseph Tingiris wrote: > > This is a significant revision of /etc/init.d/mdadm. It adds new > features, support for new configuration options, safer error > handling, (configurable) verbose output, and contains multiple bug > fixes. > > Most notably, mdadm was being

Re: [OpenWrt-Devel] Cleanup in 4.19 generic kernel config?

2019-02-13 Thread Rosen Penev
On Wed, Feb 13, 2019 at 4:01 AM Daniel Engberg wrote: > > On 2019-02-13 00:08, Rosen Penev wrote: > > On Sat, Feb 9, 2019 at 12:16 AM Daniel Engberg > > wrote: > >> > >> Hi, > >> > >> After my attempt getting Linux 4.19 working for t

[OpenWrt-Devel] [PATCH] mdadm: Update to 4.1

2019-02-14 Thread Rosen Penev
Tested on GnuBee PC1. Signed-off-by: Rosen Penev --- package/utils/mdadm/Makefile | 6 +++--- package/utils/mdadm/patches/100-cross_compile.patch | 6 +++--- .../101-mdadm.h-Undefine-dprintf-before-redefining.patch | 2 +- package/utils/mdadm/patches/200

[OpenWrt-Devel] [PATCH] ramips: Increase GB-PC1 SPI frequency to 80MHz

2019-02-14 Thread Rosen Penev
/mtdblock3 of=/dev/null bs=64k from 42.96s to 7.01s (with newer SPI driver). Signed-off-by: Rosen Penev --- target/linux/ramips/dts/GB-PC1.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/GB-PC1.dts b/target/linux/ramips/dts/GB-PC1.dts index 9c85a1e44d

[OpenWrt-Devel] [PATCH] ramips: Increase GB-PC2 SPI frequency to 80MHz

2019-02-14 Thread Rosen Penev
of=/dev/null bs=64k from 41.78s to 6.15s (with upstream SPI driver). Signed-off-by: Rosen Penev --- target/linux/ramips/dts/GB-PC2.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/GB-PC2.dts b/target/linux/ramips/dts/GB-PC2.dts index 32b6f98

[OpenWrt-Devel] [PATCH] openssl: backport devcrypto changes from master

2019-02-18 Thread Rosen Penev
From: Eneas U de Queiroz via openwrt-devel The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software. The patche

[OpenWrt-Devel] [PATCH] libevent2: Add -Wl, --gc-sections to reduce size a little.

2019-02-19 Thread Rosen Penev
Saves ~4KB. Also reorganized configure arguments to improve compilation speed. Signed-off-by: Rosen Penev --- package/libs/libevent2/Makefile | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/package/libs/libevent2/Makefile b/package/libs/libevent2/Makefile index

Re: [OpenWrt-Devel] [PATCH] openssl: backport devcrypto changes from master

2019-02-19 Thread Rosen Penev
On Tue, Feb 19, 2019 at 7:22 AM Christian Lamparter wrote: > > On Monday, February 18, 2019 9:57:51 PM CET Rosen Penev wrote: > > From: Eneas U de Queiroz via openwrt-devel > > > > The sender domain has a DMARC Reject/Quarantine policy which disallows > > sending m

Re: [OpenWrt-Devel] [PATCH] libevent2: Add -Wl, --gc-sections to reduce size a little.

2019-02-19 Thread Rosen Penev
On Tue, Feb 19, 2019 at 10:19 PM Petr Štetiar wrote: > > Rosen Penev [2019-02-19 13:01:57]: > > > -TARGET_CFLAGS += $(FPIC) > > Why did you removed this? I can see, that you've added --with-pic configure > option, but I'm wondering if it's going to provid

Re: [OpenWrt-Devel] [PATCH] libevent2: Add -Wl, --gc-sections to reduce size a little.

2019-02-20 Thread Rosen Penev
On Wed, Feb 20, 2019 at 12:45 AM Petr Štetiar wrote: > > Rosen Penev [2019-02-19 22:45:37]: > > > On Tue, Feb 19, 2019 at 10:19 PM Petr Štetiar wrote: > > > > > > Rosen Penev [2019-02-19 13:01:57]: > > > > > > > -TARGET_CFLAGS += $(FPIC)

Re: [OpenWrt-Devel] [PATCH v3] openssl: backport devcrypto changes from master

2019-02-25 Thread Rosen Penev
On Mon, Feb 25, 2019 at 10:01 AM Eneas U de Queiroz via openwrt-devel wrote: > > The sender domain has a DMARC Reject/Quarantine policy which disallows > sending mailing list messages using the original "From" header. > > To mitigate this problem, the original message has been wrapped > automatica

Re: [OpenWrt-Devel] [PATCH 1/3] ath79: Speed up caldata/eeprom handling

2019-02-25 Thread Rosen Penev
ds out > real0m 16.84s > user0m 0.07s > sys 0m 13.54s > > 1+0 records in > 1+0 records out > real0m 0.02s > user0m 0.00s > sys 0m 0.02s > > Signed-off-by: Adrian Schmutzler Tested-by: Rosen Penev > --- > .../linux/ath79/base-files

Re: [OpenWrt-Devel] [PATCH v3] openssl: backport devcrypto changes from master

2019-02-25 Thread Rosen Penev
On Mon, Feb 25, 2019 at 11:09 AM Rosen Penev wrote: > > On Mon, Feb 25, 2019 at 10:01 AM Eneas U de Queiroz via openwrt-devel > wrote: > > > > The sender domain has a DMARC Reject/Quarantine policy which disallows > > sending mailing list messages using the origina

[OpenWrt-Devel] [PATCH] download.pl: Add a space between the hash and the comma.

2018-05-19 Thread Rosen Penev
Makes it easier to copy/paste the hash manually. Signed-off-by: Rosen Penev --- scripts/download.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download.pl b/scripts/download.pl index 34fd6a6f0b..4df0224bcc 100755 --- a/scripts/download.pl +++ b/scripts

Re: [OpenWrt-Devel] Broken GPIO on MT7620 after commit 34ca34b32b02

2018-05-20 Thread Rosen Penev
On Sun, May 20, 2018 at 1:04 PM, Kristian Evensen wrote: > Hello, > > When building and testing nightly on an MT7620-device I have (the > Sanlinking D240), I noticed that changing the state of the two > exported pins (45 and 46) had no effect. The pins are used to control > the power to the two mi

Re: [OpenWrt-Devel] [RFC PATCH ustream-ssl] openssl: support OpenSSL 1.1.x API

2018-05-20 Thread Rosen Penev
On Sun, May 20, 2018 at 1:26 PM, Jo-Philipp Wich wrote: > This commit changes ustream-ssl to support OpenSSL 1.1x as backend. > > OpenSSL 1.1.x made the BIO and BIO_METHOD structures opaque and > introduced new getter/setter APIs to deal with them, therfore define > forward-compat stubs for older

Re: [OpenWrt-Devel] Broken GPIO on MT7620 after commit 34ca34b32b02

2018-05-22 Thread Rosen Penev
On Tue, May 22, 2018 at 7:33 AM, John Crispin wrote: > > > On 22/05/18 16:18, Kristian Evensen wrote: >> >> On Sun, May 20, 2018 at 10:26 PM, Rosen Penev wrote: >>>> >>>> Bisecting further is hard, since the >>>> commit is a combinatio

Re: [OpenWrt-Devel] Broken GPIO on MT7620 after commit 34ca34b32b02

2018-05-22 Thread Rosen Penev
On Tue, May 22, 2018 at 7:45 AM, Kristian Evensen wrote: > Hi, > > On Tue, May 22, 2018 at 4:33 PM, John Crispin wrote: >> what exactly is the issue ? breaking compat means that rosen either needs to >> fix the regression or we need to revert the patch. > > The issue I saw is that writing to GPIO

[OpenWrt-Devel] [PATCH 1/2] ramips: Add back some non-mt7621 code that staging removed

2018-05-23 Thread Rosen Penev
Staging is meant only for mt7621 but for OpenWrt more is needed. Signed-off-by: Rosen Penev --- .../files-4.14/drivers/mmc/host/mtk-mmc/sd.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/sd.c b

[OpenWrt-Devel] [PATCH 2/2] ramips: Fix up GnuBee PC1 DTS file a little

2018-05-23 Thread Rosen Penev
There's nothing connected to i2c on this board, so remove it. Also edited the gpio group to match the PC2 as they're the same. Signed-off-by: Rosen Penev --- target/linux/ramips/dts/GB-PC1.dts | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/target/linux/ram

[OpenWrt-Devel] [PATCH 2/2] ramips: Fix a few other GnuBee DTS differences

2018-05-24 Thread Rosen Penev
I was carrying a local commit that added the sdhci stuff and missed it as a result. Also fix the rgmii3 thing in the PC2 DTS file as that's bogus and causes a dmesg warning that it's bogus. Signed-off-by: Rosen Penev --- target/linux/ramips/dts/GB-PC1.dts | 3 +++ target/linux/ram

[OpenWrt-Devel] [PATCH 1/2] ramips: Use generic board detect for GnuBee devices

2018-05-24 Thread Rosen Penev
This is a port of an old commit from mkresin's tree: 09260cdf3e9332978c2a474a58e93a6f2b55f4a8 This has the potential to break sysupgrade but it should be fine as there is no stable release of LEDE or OpenWrt that support these devices. Signed-off-by: Rosen Penev --- target/linux/ramips

[OpenWrt-Devel] [PATCH] ath10k-firmware: Fix QCA6174 support

2018-05-24 Thread Rosen Penev
relatively stable with 802.11w disabled. 802.11w causes multiple firmware crashes but that's true of other ath10k firmwares as well. Signed-off-by: Rosen Penev --- package/firmware/ath10k-firmware/Makefile | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/pa

Re: [OpenWrt-Devel] [PATCH 1/2] ramips: Use generic board detect for GnuBee devices

2018-05-25 Thread Rosen Penev
On Fri, May 25, 2018 at 3:23 AM, Mathias Kresin wrote: > 2018-05-25 6:43 GMT+03:00 Rosen Penev : >> This is a port of an old commit from mkresin's tree: >> >> 09260cdf3e9332978c2a474a58e93a6f2b55f4a8 >> >> This has the potential to break sysupgrade but it s

[OpenWrt-Devel] [PATCHv2] ramips: Use generic board detect for GnuBee devices

2018-05-26 Thread Rosen Penev
This is a port of an old commit from mkresin's tree: 09260cdf3e9332978c2a474a58e93a6f2b55f4a8 This has the potential to break sysupgrade but it should be fine as there is no stable release of LEDE or OpenWrt that support these devices. Signed-off-by: Rosen Penev --- v2: Change the GB-PC1

[OpenWrt-Devel] [PATCH] ath10k-firmware: Fix typo in last commit

2018-05-27 Thread Rosen Penev
Signed-off-by: Rosen Penev --- package/firmware/ath10k-firmware/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile index 2c024905bb..35f6013947 100644 --- a/package/firmware/ath10k-firmware/Makefile

[OpenWrt-Devel] [PATCH 1/2] curl: Use ca-bundle for all TLS libraries.

2018-05-27 Thread Rosen Penev
GnuTLS just by running 'curl https://www.google.com' and seeing if there's a verify error. The rest are already using ca-bundle and therefore work fine. Signed-off-by: Rosen Penev --- package/network/utils/curl/Makefile | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-

[OpenWrt-Devel] [PATCH 2/2] curl: Add ca-bundle dependency

2018-05-27 Thread Rosen Penev
While building, curl complains that the path specified is missing. Also, without ca-bundle, something like 'curl https://www.google.com' does not work due to a certificate verify error. Signed-off-by: Rosen Penev --- package/network/utils/curl/Makefile | 4 ++-- 1 file changed, 2

[OpenWrt-Devel] [PATCHv2] ramips: Fix a few other GnuBee DTS differences

2018-05-27 Thread Rosen Penev
I was carrying a local commit that added the sdhci stuff and missed it as a result. Also fix the rgmii3 thing in the PC2 DTS file as that's bogus and causes a dmesg warning that it's bogus. Signed-off-by: Rosen Penev --- v2: This seems to have disappeared, so resending. target/linux/

Re: [OpenWrt-Devel] [PATCH] ath10k-firmware: Fix typo in last commit

2018-05-29 Thread Rosen Penev
On Tue, May 29, 2018 at 9:25 AM, Hannu Nyman wrote: > Mathias Kresin wrote on Mon May 28 09:44:34 PDT 2018: >> >> Shouldn't it be "$(INSTALL_DATA) \", similar to all the other install >> defines? > > > Yep. And there are two of those. On lines 445 and 452. > I fixed this locally but forgot to send

[OpenWrt-Devel] [PATCH] ath10k-firmware: Fix two more typos

2018-05-29 Thread Rosen Penev
Actually tested with a local build instead of with scp'ing the firmware. Signed-off-by: Rosen Penev --- package/firmware/ath10k-firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-fir

[OpenWrt-Devel] [PATCH] ramips: Fix WiFi after 5f7396ebef09b224edf08b0bda113613a42f0928

2018-05-29 Thread Rosen Penev
them. Signed-off-by: Rosen Penev --- target/linux/ramips/dts/DIR-860L-B1.dts | 4 target/linux/ramips/dts/EW1200.dts | 4 target/linux/ramips/dts/FIREWRT.dts | 4 target/linux/ramips/dts/HC5962.dts | 4 target/linux/ramips/dts/Newifi-D1.dts| 4

[OpenWrt-Devel] [PATCH 1/2] ramips: mt7621: fix pcie related warnings in mt7621.dtsi

2018-05-29 Thread Rosen Penev
) Node /pcie@1e14/pcie2 missing bus-range for PCI bridge Warning (unit_address_format): Failed prerequisite 'pci_bridge' Warning (pci_device_reg): Failed prerequisite 'pci_bridge' Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' Tested on GnuBee PC2 de

[OpenWrt-Devel] [PATCH 2/2] ramips: mt7621: Get rid of CPU DTS warnings

2018-05-29 Thread Rosen Penev
List of warnings: Node /cpus/cpu@0 has a unit name, but no reg property Node /cpus/cpu@1 has a unit name, but no reg property Tested on GnuBee PC2. The CPU still works. Signed-off-by: Rosen Penev --- target/linux/ramips/dts/mt7621.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

[OpenWrt-Devel] [PATCH 7/8] staging: mt7621-gpio: use MTK_BANK_WIDTH instead of magic number

2018-05-29 Thread Rosen Penev
From: Sergio Paracuellos There are some places where magic number '32' is being used to get the gpio bank. There already exist a definition MTK_BANK_WIDTH with this value, so just use it instead. Signed-off-by: Sergio Paracuellos Reviewed-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- t

<    1   2   3   4   5   6   7   8   9   10   >