[LEDE-DEV] [PATCH RFC] uinit: add package with init for initramfs

2017-03-27 Thread Rafał Miłecki
From: Rafał Miłecki In OpenWrt/LEDE we always got hacks for mounting rootfs. They were needed because we couldn't use bootargs properly due to various reasons (e.g. dynamically created partitions). The proper solution for this (instead of hacking a kernel) is to use initramfs with init that will

Re: [LEDE-DEV] [PATCH] openssl: Remove RIPEMD-160 from OpenSSL

2017-03-27 Thread Alexandru Ardelean
On Tue, Mar 28, 2017 at 1:45 AM, txt.file wrote: > The topic and patch is about OpenSSL but description is about OpenSSH. > What has OpenSSL to do with OpenSSH? > > kind regards > txt.file > -- > This message is signed. > > Rosen Penev: >> The commit that removed no-ripemd stated that it was neede

Re: [LEDE-DEV] [PATCH fstools] cmake: Make blockd link against libjson-c

2017-03-27 Thread David Lang
Just a note in case you were not aware, json-c is not thread-safe (the rsyslog project forked it to libfastjson to fix the thread safety and drastically improve speed) On Mon, 27 Mar 2017, Florian Fainelli wrote: Date: Mon, 27 Mar 2017 17:10:57 -0700 From: Florian Fainelli To: lede-dev@lists

[LEDE-DEV] [PATCH fstools] cmake: Make blockd link against libjson-c

2017-03-27 Thread Florian Fainelli
Similar to commit 35aa20c51995 ("cmake: Link against libjson-c"), blockd uses libblob_msg which needs libjson-c. Fixes: 98bbb5a068d6 ("blockd: add automounting support") Signed-off-by: Florian Fainelli --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C

Re: [LEDE-DEV] [PATCH] openssl: Remove RIPEMD-160 from OpenSSL

2017-03-27 Thread txt.file
The topic and patch is about OpenSSL but description is about OpenSSH. What has OpenSSL to do with OpenSSH? kind regards txt.file -- This message is signed. Rosen Penev: > The commit that removed no-ripemd stated that it was needed for openssh. > However with recent OpenSSH releases (7.4), RIPEMD

[LEDE-DEV] [PATCH] openssl: Remove RIPEMD-160 from OpenSSL

2017-03-27 Thread Rosen Penev
The commit that removed no-ripemd stated that it was needed for openssh. However with recent OpenSSH releases (7.4), RIPEMD-160 is run-time disabled. I've verified this with ssh -vvv making no mention of RIPEMD-160 anywhere. --- package/libs/openssl/Makefile | 2 +- 1 file changed, 1 insertion(+),

[LEDE-DEV] [PATCH] ipq8064: fix dwc3-of-simple module unloading

2017-03-27 Thread Thomas Reifferscheid
Without patch unloading the dwc3-of-simple module went stuck after successfully removing hcd.1 during the hcd.0 removal: root@LEDE:/# rmmod dwc3-of-simple [ 21.391846] xhci-hcd xhci-hcd.1.auto: remove, state 1 [ 21.391931] usb usb4: USB disconnect, device number 1 [ 21.397038] xhci-hcd xhci-

[LEDE-DEV] [PATCH v3] ipq8064: Fix dwc3 module unloading

2017-03-27 Thread Thomas Reifferscheid
Allow module unloading by fixing a mistake. qcom_dwc3_phy_write_readback() is expecting (phy, offset, mask, value) while the mistake was calling it with (phy, offset, value, mask) The patch is swapping value and mask. Without the patch unloading the dwc3 module was showing a write to QSCRAT

Re: [LEDE-DEV] hostapd: Default disable b rates, add legacy_rates

2017-03-27 Thread Nick Lowe
Hi, In practice, this should stop most stations from using the non-OFDM rates and should also retain compatibility with g or n stations that were to still make some use of barker coding/CCK modulation when sending some frames. I think that this is a preferable approach therefore for default behavi

[LEDE-DEV] [PATCH fstools] libfstools: add basic documentation of mount functions

2017-03-27 Thread Rafał Miłecki
From: Rafał Miłecki Signed-off-by: Rafał Miłecki --- libfstools/mount.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/libfstools/mount.c b/libfstools/mount.c index 81176ce..5358536 100644 --- a/libfstools/mount.c +++ b/libfstools/mount.c @@ -25,6 +25,12 @@ /* this is a r

[LEDE-DEV] [PATCH v2] ipq8064: Fix dwc3 module unloading

2017-03-27 Thread Thomas Reifferscheid
Allow module unloading by fixing a mistake. qcom_dwc3_phy_write_readback() is expecting (phy, base, offset, value) while the mistake was calling it with (phy, base, value, offset) The patch fixes it by swapping value and offset. Signed-off-by: Thomas Reifferscheid --- Changes since v1: *

Re: [LEDE-DEV] [PATCH] ipq8064: Fix dwc3 module unloading

2017-03-27 Thread John Crispin
the patch does not explain the mistake. please add that info John On 27/03/17 11:29, Thomas Reifferscheid wrote: Allow module unloading by fixing a mistake Signed-off-by: Thomas Reifferscheid --- target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch | 2 +- 1 file changed,

[LEDE-DEV] [PATCH] ipq8064: Fix dwc3 module unloading

2017-03-27 Thread Thomas Reifferscheid
Allow module unloading by fixing a mistake Signed-off-by: Thomas Reifferscheid --- target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch b/target/lin

Re: [LEDE-DEV] [PATCH v2] ar71xx: Add TP-LINK TL-WR841N v12 support.

2017-03-27 Thread Piotr Dymacz
Hello Vittorio, On 26.03.2017 09:55, Vittorio Gambaletta (VittGam) wrote: This router has the same hardware of TP-LINK TL-WR841N v11 (same FCC ID, same TFTP image name...). The stock firmware web interface does not seem to accept the LEDE factory image, but it can be flashed via the u-boot TFTP

[LEDE-DEV] [PATCH] kernel: move initramfs's init script out of base-files

2017-03-27 Thread Rafał Miłecki
From: Rafał Miłecki Keeping it in base-files was resulting in adding it to the base-files package. This file is meant to be included manually for initramfs images only. Signed-off-by: Rafał Miłecki --- include/kernel-defaults.mk| 2 +- target/linux/generic/{base-fil

[LEDE-DEV] [PATCH V2] bcm53xx: put kernel into TRX when building initramfs images

2017-03-27 Thread Rafał Miłecki
From: Rafał Miłecki Many (most?) devices can't boot raw kernel using tftp and probably none allows flashing it. It's way more usable to have TRX with kernel containing initrams as such an image can be actually flashed. An exception are Buffalo devices which have recovery mode with support for bo

Re: [LEDE-DEV] [PATCH][V4] netifd: propagate error code on netifd_reload()

2017-03-27 Thread Hans Dedecker
On Mon, Mar 27, 2017 at 8:35 AM, Alexandru Ardelean wrote: > The context is that we generate some of the UCI config > for netifd via scripts/programs. > > Every once in a while, there's a goof when doing that > UCI generation, and netifd prints out the error at > stderr, but returns 0 (success) er