[OpenWrt-Devel] [PATCH] oxnas: complete NAND driver clean-up

2016-03-10 Thread Daniel Golle
some bit rot was accidentally left-out in r48986, remove it. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c | 4 1 file changed, 4 deletions(-) diff --git a/target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c b/

[OpenWrt-Devel] [PATCH] oxnas: clean-up NAND driver to fix probing issue

2016-03-09 Thread Daniel Golle
A re-write of the driver based on xway_nand.c and constants as well as the cmd_ctrl() function from the original oxnas_nand.c resulted in a extremely similar looking file (see diffsize), and fixes the issue of NAND not being detected on newer kernels. Signed-off-by: Daniel Golle <

Re: [OpenWrt-Devel] [PATCH netifd] add support for setting send_redirects

2016-03-08 Thread Daniel Golle
On Tue, Mar 08, 2016 at 01:29:36PM +0100, Daniel Golle wrote: > It's important to note that the default value for send_redirects > differs for interface types (it's enabled on physical ethernet > interfaces, but disabled e.g. on VLANs), thus the default differs > also dependin

[OpenWrt-Devel] [PATCH netifd] add support for setting send_redirects

2016-03-08 Thread Daniel Golle
by OpenWrt. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- device.c | 9 + device.h | 3 +++ system-linux.c | 18 ++ 3 files changed, 30 insertions(+) diff --git a/device.c b/device.c index 9344e1b..2caf1e7 100644 --- a/device.c +++ b/de

[OpenWrt-Devel] [PATCH v2 2/2] wpa_supplicant: enforce cipher in client mode

2016-03-08 Thread Daniel Golle
Previously, explicitely setting the cipher used for WPA/RSN in UCI didn't end-up in the settings passed-over to wpa_supplicant. As wpa_cipher is now being derived for that purpose, use it to set both group and pairwise in wpa_supplicant's config. Signed-off-by: Daniel Golle <dan...@makrotopia.

[OpenWrt-Devel] [PATCH 1/2 for netifd] wireless: set different default ciphers for AP and STA

2016-03-08 Thread Daniel Golle
different default values to be used by AP and by STA mode, ie. for STA don't set the cipher explicitely if it is unconfigured. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- scripts/netifd-wireless.sh | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/

Re: [OpenWrt-Devel] [PATCH 5/7] uboot-kirkwood/goflexhome: add forgotten include openwrt-kirkwood-common.h"

2016-03-07 Thread Daniel Golle
Hi lynxis, as you are switching to a different boot_cmd, any previously existing u-boot environment has to be migrated to the new default environment. As the u-boot environment can itself be stored in an ubi-volume (or ideally two, for redundancy), this is a good chance to switch to ENV_IS_IN_UBI

Re: [OpenWrt-Devel] Request for Feedback - prplwrt Software Support Program - initial draft

2016-03-07 Thread Daniel Golle
Hi Eric, On Thu, Mar 03, 2016 at 03:07:22PM -0600, Eric Schultz wrote: > As discussed in prplwrt meetings, prpl is interested in funding development > work on OpenWrt. In order to make this as fair as possible, I'm proposing a > process which I'm tentatively calling the prplwrt Software Support

[OpenWrt-Devel] [PATCH] uboot-oxnas: fix typo leading to tool not being built

2016-02-23 Thread Daniel Golle
Fixes #21907 Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/boot/uboot-oxnas/patches/300-oxnas-target.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/uboot-oxnas/patches/300-oxnas-target.patch b/package/boot/uboot-oxnas/patches/300

Re: [OpenWrt-Devel] LXC is broken on Caos Calmer

2016-02-10 Thread Daniel Golle
Hi Antonio, On Wed, Feb 10, 2016 at 09:52:25PM +0200, Antonio Aloisio wrote: > Hi there, > I have tried to run lxc on openwrt but it looks to me that those packages > are broken. I'm actively using LXC, however, I use a custom overlayfs method to create OpenWrt containers. > >

Re: [OpenWrt-Devel] LXC is broken on Caos Calmer

2016-02-10 Thread Daniel Golle
tstrap...? > /usr/share/lxc/templates/lxc-alpine <-- requires sha256sum. is it available? Try installing coreutils-sha256sum which provides sha256sum > /usr/share/lxc/templates/lxc-opensuse <-- requires zipper. not available Cheers Daniel > > Cheers, > Antonio > > On

Re: [OpenWrt-Devel] [RFC] replace outdated udev by eudev?

2016-02-07 Thread Daniel Golle
Hi John! On Sun, Feb 07, 2016 at 10:28:25AM +0100, John Crispin wrote: > maybe i am missing the point but why would you want udev on your system > in the first place ? There are situations when udev is currently the only way, such are: * more than one 3g/wwan/usb-serial device and the need to

[OpenWrt-Devel] [PATCH] udev: include missing stdint.h header

2016-02-07 Thread Daniel Golle
udev failed to build due to an augmented dependency on certain targets, as spotted on buildbot. Fix this by explicitely including stdint.h. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- http://buildbot.openwrt.org:8010/broken_packages/cns3xxx/udev/compile.txt http://buildbot.openw

Re: [OpenWrt-Devel] [RFC] replace outdated udev by eudev?

2016-02-07 Thread Daniel Golle
Hi John, On Sun, Feb 07, 2016 at 11:03:16AM +0100, John Crispin wrote: > >> maybe i am missing the point but why would you want udev on your system > >> in the first place ? > > > > There are situations when udev is currently the only way, such are: > > * more than one 3g/wwan/usb-serial device

Re: [OpenWrt-Devel] [RFC] replace outdated udev by eudev?

2016-02-07 Thread Daniel Golle
Hi John, On Sun, Feb 07, 2016 at 11:33:00AM +0100, John Crispin wrote: > >> which brings us back to my second question, why not add these features > >> to procd ? my experience is that these features can be implemented in > >> 100 lines +/- > > > > I agree that I'd be quite easy to sort-out the

Re: [OpenWrt-Devel] detecting USB sd card removal ("block info")

2016-01-28 Thread Daniel Golle
Hi Karl, On Thu, Jan 28, 2016 at 09:31:14AM -, Karl Palsson wrote: > Given that OpenWrt doesn't have a daemon like udisks to > mount/umount things automatically, I was trying to build it > myself by something like "block info" in a crontab. Well, there is mountd which can be used to maintain

[OpenWrt-Devel] [PATCH] kernel: wpan: mrf24j40 depends on regmap-spi

2016-01-25 Thread Daniel Golle
kmod-mrf24j40 select REGMAP_SPI since 4.3, thus add dependency to kmod-regmap. Found by buildbot: Package kmod-mrf24j40 is missing dependencies for the following libraries: regmap-spi.ko Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/kernel/linux/modules/wpan.mk | 2 +-

[OpenWrt-Devel] [PATCH v2] kernel: wpan: mrf24j40 depends on regmap-spi

2016-01-25 Thread Daniel Golle
kmod-mrf24j40 select REGMAP_SPI since 4.3, thus add dependency to kmod-regmap. Found by buildbot: Package kmod-mrf24j40 is missing dependencies for the following libraries: regmap-spi.ko Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/kernel/linux/modules/wpan.mk | 2 +-

[OpenWrt-Devel] [PATCH] oxnas: finally make board names consistent

2016-01-19 Thread Daniel Golle
only partially reverts r48337. Also properly set default for USB LED while already at it. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/base-files/etc/board.d/01_leds | 4 ++-- target/linux/oxnas/base-files/etc/diag.sh | 2 +- target/linux/oxnas/base-fil

[OpenWrt-Devel] [PATCH] wpa_supplicant: enforce cipher in client mode and cosmetics

2016-01-18 Thread Daniel Golle
Set both group and pairwise cipher for wpa_supplicant if cipher is set. Depends on netifd patch http://patchwork.ozlabs.org/patch/569702/ for cosmetic reasons and changes the use of no longer set $wpa_pairwise into $wpa_cipher also for AP mode. Signed-off-by: Daniel Golle <dan...@makrotopia.

[OpenWrt-Devel] [PATCH] wpa_supplicant: add support for EAP-TLS phase2

2016-01-18 Thread Daniel Golle
Introduce config options client_cert2, priv_key2 and priv_key2_pwd used for EAP-TLS phase2 authentication in WPA-EAP client mode. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/network/services/hostapd/files/netifd.sh | 14 -- 1 file changed, 12 insertions

[OpenWrt-Devel] [PATCH for netifd] wireless: rename 'wpa_pairwise' variable to 'wpa_cipher'

2016-01-18 Thread Daniel Golle
We shall enforce the cipher for both, pairwise and group, thus change the name of the variable to a more generic phrasing, 'cipher' instead of 'pairwise'. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- scripts/netifd-wireless.sh | 12 ++-- 1 file changed, 6 insertions

[OpenWrt-Devel] [PATCH] hostap/wpa_supplicant: enable EAP-FAST in -full builds

2016-01-18 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/network/services/hostapd/files/hostapd-full.config| 3 +++ package/network/services/hostapd/files/wpa_supplicant-full.config | 3 +++ 2 files changed, 6 insertions(+) diff --git a/package/network/services/hostapd

[OpenWrt-Devel] [PATCH] uhttpd: add option for mbedtls

2016-01-18 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/network/services/uhttpd/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/package/network/services/uhttpd/Makefile b/package/network/services/uhttpd/Makefile index 2b05abf..da5572b 100644 --- a/package/n

[OpenWrt-Devel] [PATCH 2/4] oxnas: prepare platform and drivers for Linux 4.4

2016-01-18 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c | 5 + target/linux/oxnas/files/drivers/irqchip/irq-rps.c| 4 2 files changed, 9 insertions(+) diff --git a/target/linux/oxnas/files/arch/arm/mach-oxnas/mach-o

[OpenWrt-Devel] [PATCH 1/4] oxnas: fix the incorrect board names

2016-01-18 Thread Daniel Golle
Signed-off-by: Shonn Lu <countryside...@qq.com> Acked-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/base-files/etc/board.d/01_leds | 2 +- target/linux/oxnas/base-files/etc/diag.sh | 4 ++-- target/linux/oxnas/base-files/lib/oxnas.sh| 6 +++--- 3 file

[OpenWrt-Devel] [PATCH 3/4] oxnas: add patches and config for Linux 4.4

2016-01-18 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/config-4.4 | 383 + .../010-arm_introduce-dma-fiq-irq-broadcast.patch | 68 .../250-add-plxtech-vendor-prefix.patch| 10 + .../patches-4.4/300-introduce

[OpenWrt-Devel] [PATCH 4/4] oxnas: switch to Linux 4.4

2016-01-18 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/oxnas/Makefile b/target/linux/oxnas/Makefile index 2d244db..f4a01f1 100644 --- a/target/linux/oxnas/Makefile +++ b/target

[OpenWrt-Devel] [PATCH v4] wpa_supplicant: improve generating phase2 config line for WPA-EAP

2016-01-17 Thread Daniel Golle
uot; 'peap' 'EAP-GTC' -> phase2="auth=GTC" Deprecated syntax supported for compatibility: 'ttls' 'autheap=MSCHAPV2' -> phase2="autheap=MSCHAPV2" I will suggest a patch to LuCI adding EAP-MSCHAPV2, EAP-GTC, ... to the list of Authentication methods available.

Re: [OpenWrt-Devel] [PATCH v3] wpa_supplicant: fix generating phase2 config line for WPA-EAP

2016-01-17 Thread Daniel Golle
myself now... Cheers updated patch follows --- Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/network/services/hostapd/files/netifd.sh | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/package/network/services/hostapd/files/netifd.sh b/pa

[OpenWrt-Devel] [PATCH] ramips: enable work-arounds to fix sdhci on mt7621

2016-01-12 Thread Daniel Golle
crashes the system and even large writes (full-card dump/erase/write/compare) don't show any corruption. Fixes #20949 Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- diff --git a/target/linux/ramips/patches-4.3/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch b/target/linux/

[OpenWrt-Devel] [PATCH] ramips: fix switch init in failsafe-mode on some MT7621 boards

2016-01-12 Thread Daniel Golle
failsafe mode. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- .../base-files/lib/preinit/07_set_preinit_iface_ramips | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips b/target

[OpenWrt-Devel] [PATCH] ramips: fix serial baudrate for final version of ZBT-WG2626 board

2016-01-12 Thread Daniel Golle
The bootloader was updated and now uses 115200 instead of 57600 baud for the serial console. Change this also in OpenWrt's DTS, so the rate is consistent for bootloader and linux kernel output. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/ramips/dts/ZBT-WG2626.d

[OpenWrt-Devel] [PATCH v3] wpa_supplicant: fix generating phase2 config line for WPA-EAP

2016-01-12 Thread Daniel Golle
-01-03 22:06, Daniel Golle wrote: > > Hi Felix, > > > > On Sun, Jan 03, 2016 at 09:33:13PM +0100, Felix Fietkau wrote: > >> > -append network_data > >> > "phase2=\"$auth\"" "$N$T" > >

Re: [OpenWrt-Devel] [PATCH] add ubifs filesystem for image building system

2016-01-03 Thread Daniel Golle
On Sat, Jan 02, 2016 at 04:02:58PM +0100, Felix Fietkau wrote: > On 2016-01-02 15:11, RhoYounJae wrote: > > Currently, the devices which actually uses ubifs filesystem uses squashfs > > filesystem > > Thus openwrt binary image have a wrong squashfs- prefix not ubifs- which > > gives user

Re: [OpenWrt-Devel] [PATCH v2] wpa_supplicant: fix generating phase2 config line for WPA-EAP

2016-01-03 Thread Daniel Golle
Hi Felix, On Sun, Jan 03, 2016 at 09:33:13PM +0100, Felix Fietkau wrote: > > - append network_data "phase2=\"$auth\"" > > "$N$T" > > + append network_data > > "phase2=\"auth=$auth\"" "$N$T" > This might break existing

[OpenWrt-Devel] [PATCH] wpa_supplicant: fix generating phase2 config line for WPA-EAP

2015-12-28 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/network/services/hostapd/files/netifd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index 5541e4d..d

[OpenWrt-Devel] [PATCH v2] wpa_supplicant: fix generating phase2 config line for WPA-EAP

2015-12-28 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- v2: missed the default definition two lines above, so no need to use shell-expansion for that then. package/network/services/hostapd/files/netifd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/n

Re: [OpenWrt-Devel] [PATCH 2/4] lantiq: base-files: drop the dsl tone settings

2015-12-03 Thread Daniel Golle
Hi! On Thu, Dec 03, 2015 at 09:07:22AM +0100, Andre Heider wrote: > Hi, > > On Wed, Dec 2, 2015 at 10:07 PM, Daniel Schwierzeck > wrote: > > I think the removal of the tone setup in r46920 should be reverted. It > > is still the only way to exactly control which

[OpenWrt-Devel] [PATCH] CC: ramips: minor fixes for ZTB-WG2626

2015-12-01 Thread Daniel Golle
In backport commit r47605 the LED was named wrongly in a userspace script. Also remove reference to undefined pinmux group "wdt rst" causing logline rt2880-pinmux pinctrl: invalid group "wdt rst" for function "gpio" Signed-off-by: Daniel Golle <dan...@makrotopia.o

Re: [OpenWrt-Devel] [PATCH] oxnas: fix the incorrect board names

2015-11-26 Thread Daniel Golle
Somehow it seems like the wrong patch got committed instead of this one... On Sun, Nov 22, 2015 at 02:35:30PM +0100, Daniel Golle wrote: > On Sun, Nov 08, 2015 at 04:12:30AM +0800, Shonn Lu wrote: > > Signed-off-by: Shonn Lu <countryside...@qq.com> > Acked-by: Daniel Golle <

Re: [OpenWrt-Devel] [PATCH] oxnas: set irq of usb to cpu1

2015-11-26 Thread Daniel Golle
Hi! This was committed in r47618 though it is buggy (see below) and not clear whether manually setting irq-affinity is at all feasible. Please revert. Cheers Daniel On Mon, Nov 23, 2015 at 04:24:02PM +0100, Daniel Golle wrote: > On Mon, Nov 23, 2015 at 02:30:34PM +0800, Shonn Lu wr

Re: [OpenWrt-Devel] [PATCH] oxnas: set irq of usb to cpu1

2015-11-23 Thread Daniel Golle
On Mon, Nov 23, 2015 at 02:30:34PM +0800, Shonn Lu wrote: > Signed-off-by: Shonn Lu > --- > .../linux/oxnas/base-files/init.d/set-irq-affinity | 22 > ++ > 1 file changed, 22 insertions(+) > create mode 100755

Re: [OpenWrt-Devel] [PATCH] oxnas: set irq of usb to cpu1

2015-11-22 Thread Daniel Golle
Hi! On Sun, Nov 08, 2015 at 04:12:31AM +0800, Shonn Lu wrote: > Signed-off-by: Shonn Lu > --- > .../linux/oxnas/base-files/init.d/set-irq-affinity | 21 > + > 1 file changed, 21 insertions(+) > create mode 100755

Re: [OpenWrt-Devel] [PATCH] oxnas: fix the incorrect board names

2015-11-22 Thread Daniel Golle
On Sun, Nov 08, 2015 at 04:12:30AM +0800, Shonn Lu wrote: > Signed-off-by: Shonn Lu <countryside...@qq.com> Acked-by: Daniel Golle <dan...@makrotopia.org> > --- > target/linux/oxnas/base-files/etc/board.d/01_leds | 2 +- > target/linux/oxnas/base-files/etc/diag.sh

Re: [OpenWrt-Devel] 回复:[PATCH] ramips: reset m25p80 when shutdown

2015-11-21 Thread Daniel Golle
On Sat, Nov 21, 2015 at 09:41:25PM +0100, John Crispin wrote: > Hi, > > one more request > > On 16/11/2015 18:03, 未命名 wrote: > > Instead of use the set_4byte function in spi-nor.c, I use this patch > > for simplest modification. In fact, set_4byte also send 0xe9 command to > > the spi flash.

[OpenWrt-Devel] [PATCH] oxnas: add missing platform bindings for stmmac glue

2015-11-19 Thread Daniel Golle
r47218 was missing needed changes which were accidentally ommitted from the patch. This should fix #20878 Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/patches-4.1/700-oxnas-dwmac.patch | 19 +++ 1 file changed, 19 insertions(+) diff --git a/

Re: [OpenWrt-Devel] [PATCH] [ramips] mt7621: fix nand driver

2015-11-17 Thread Daniel Golle
On Sat, Nov 14, 2015 at 04:39:51PM +0900, YounJaeRho wrote: > This patch fix mt7621 nand driver for linux-3.18 kernel.mt7621 share PIN > between NAND,SDXC,SPI.so you should pinctrl in dts file that only one of them > is used at a time. > SQUASH supportJFFS2 support (no hardware ECC support which

Re: [OpenWrt-Devel] [PATCH] ramips: reset m25p80 when shutdown

2015-11-11 Thread Daniel Golle
Hi! On Wed, Nov 11, 2015 at 06:53:33PM +0800, Weijie Gao wrote: > 2015-11-08 4:42 GMT+08:00 Shonn Lu : > > > Signed-off-by: Shonn Lu > > --- > > .../0064-reset-m25p80-when-shutdown.patch | 24 > > ++ > > 1 file changed,

[OpenWrt-Devel] [PATCH] ramips: minor fixes for mt7621 profiles

2015-11-06 Thread Daniel Golle
* remove references to non-existing kmod-usb3-mt7621 * ZTB WG2626 doesn't have an RTC (thanks to Piotr Dymacz!) Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/ramips/mt7621/profiles/misc.mk | 2 +- target/linux/ramips/mt7621/profiles/zbt.mk | 4 +--- 2 files chan

Re: [OpenWrt-Devel] [PATCH] oxnas: fix the incorrect board names which cause sysupgrade failed

2015-10-30 Thread Daniel Golle
Hi! Yes, that's getting closer, but unfortunately it's still not applicable. Apparently the patch got white-space mangled and CR-LF'ed by your MUA. Try attaching the patches created using git format-patch --to openwrt-devel@ instead, as that will prevent the mail-body from getting recoded or

Re: [OpenWrt-Devel] [PATCH] oxnas: fix the incorrect board names which cause sysupgrade failed

2015-10-30 Thread Daniel Golle
Hi! It's already much better. No more white-space or CR-LF brokenness, we got one step further :) However, it still can't get merged with git am, because the mailing-list footer still get's added to the multi-part mime stuff and that's too much for git to handle. Sending patches via traditional

[OpenWrt-Devel] [PATCH] ramips: preinit: use iproute2 instead of vconfig

2015-10-29 Thread Daniel Golle
is no longer being deployed, resulting in the device being unreachable when triggered into failsafe mode. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- .../linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [OpenWrt-Devel] [PATCH] [oxnas] fix the incorrect board name which cause sysupgrade failed

2015-10-29 Thread Daniel Golle
Hi! Thank you for contributing by sending patches! On Fri, Oct 30, 2015 at 12:52:35AM +0800, 未命名 wrote: > This patch fix the incorrect board name which cause sysupgrade failed. Unfortunately your submissions cannot be included in OpenWrt for formal reasons: the title should be "oxnas: fix board

[OpenWrt-Devel] [PATCH] ramips: add support for ZBT WG2626

2015-10-29 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- Note that HIGHMEM support apparently breaks spi-mt7621 and thus access to the SPI-NOR flash. As a work-around, one can limit the memory to 256MB which fixes the issue. .../linux/ramips/base-files/etc/board.d/02_network | 3 +-

[OpenWrt-Devel] [PATCH] kernel: add some missing symbols for 4.3

2015-10-26 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/generic/config-4.3 | 11 +++ 1 file changed, 11 insertions(+) diff --git a/target/linux/generic/config-4.3 b/target/linux/generic/config-4.3 index 012c57e..a780fb0 100644 --- a/target/linux/generic/config-4.3

Re: [OpenWrt-Devel] Networking on Raspberry Pi Model B

2015-10-22 Thread Daniel Golle
Hi! On Thu, Oct 22, 2015 at 12:53:06PM -0400, W. Michael Petullo wrote: > I have installed OpenWrt (trunk, as of around October 17) on a Raspberry > Pi Model B. The network adapter is an Edimax 802.11b/g/n Nano USB Adapter. > Unfortunately, the network stack of the device is failing after a >

[OpenWrt-Devel] [PATCH] explicitely ignore return value of symlink(3) call

2015-10-22 Thread Daniel Golle
. Introduce libc-compat.h to work-around libc anomalities. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- initd/early.c | 3 ++- plug/coldplug.c | 3 ++- libc-compat.h | 10 ++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 libc-compat.h diff --git a

[OpenWrt-Devel] [PATCH] omcproxy: fix PKG_LICENSE string

2015-10-20 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/network/services/omcproxy/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/omcproxy/Makefile b/package/network/services/omcproxy/Makefile index eafa289..75997fe

Re: [OpenWrt-Devel] [packages] broken package: procd is broken in 15.05 (#1879)

2015-10-20 Thread Daniel Golle
Hi! This has been an argument going on between the gcc and the glibc people for about 10 years now. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 It seems like commit b6618ffa which added the symlinks silently broke things when building with glibc. Don't ask me why glibc enabled

Re: [OpenWrt-Devel] SVN to GIT transition / paid patch-checking

2015-10-13 Thread Daniel Golle
Hi! On Tue, Oct 13, 2015 at 01:22:14PM +0200, Emmanuel Deloget wrote: > On Tue, Oct 13, 2015 at 1:04 PM, Nemesis wrote: > > As far as I remember, there's no initiative going on, but the issue was > > brought up at the summit by different speakers. > > > > There was also a

[OpenWrt-Devel] [PATCH] x86: add EPIA subtarget

2015-10-12 Thread Daniel Golle
x86: add VIA EPIA subtarget Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- include/target.mk| 1 + target/linux/x86/Makefile| 2 +- target/linux/x86/epia/config-default | 213 +++ target/linux/x86/epia/tar

[OpenWrt-Devel] [PATCH] kernel: add support for KERNEL_CGROUP_PIDS

2015-10-12 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- config/Config-kernel.in | 7 +++ 1 file changed, 7 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 2572bf4..38d953c 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -265,6 +

[OpenWrt-Devel] [PATCH] kernel: add some missing symbols for 4.3

2015-10-12 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/generic/config-4.3 | 9 + 1 file changed, 9 insertions(+) diff --git a/target/linux/generic/config-4.3 b/target/linux/generic/config-4.3 index 012c57e..b3d47b7 100644 --- a/target/linux/generic/config-4.3 +++ b/

[OpenWrt-Devel] [PATCH] modules: enable crypto hardware modules

2015-10-12 Thread Daniel Golle
set CONFIG_CRYPTO_HW=y to enable build of crypto-hw modules. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/kernel/linux/modules/crypto.mk | 6 ++ 1 file changed, 6 insertions(+), 0 deletion(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel

[OpenWrt-Devel] [PATCH 5/5] oxnas: move gmac soc glue from mach to stmmac driver

2015-10-12 Thread Daniel Golle
Still a lot of kernel-version ifdef'ery, but imho that's easy to remove once obsoleted and avoids duplicate code in the meantime. Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- .../oxnas/files/arch/arm/mach-oxnas/mach-ox820.c | 101 .../net/ethernet/stmicro/stmmac

[OpenWrt-Devel] [PATCH 1/5] oxnas: remove obsolete __cpuinit

2015-10-12 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/files/arch/arm/mach-oxnas/platsmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/oxnas/files/arch/arm/mach-oxnas/platsmp.c b/target/linux/oxnas/files/arch/arm/mach-oxnas/pla

[OpenWrt-Devel] [PATCH 2/5] oxnas: fix duplicate include in clk-oxnas

2015-10-12 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/files/drivers/clk/clk-oxnas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/oxnas/files/drivers/clk/clk-oxnas.c b/target/linux/oxnas/files/drivers/clk/clk-oxnas.c index 00d0f7a..4

[OpenWrt-Devel] [PATCH 3/5] oxnas: prepare irqchip driver for kernel >=4.2

2015-10-12 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/files/drivers/irqchip/irq-rps.c | 23 +++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/target/linux/oxnas/files/drivers/irqchip/irq-rps.c b/target/linux/oxnas/files/drivers/irqch

[OpenWrt-Devel] [PATCH 4/5] oxnas: prepare pinctrl for kernel >=4.2

2015-10-12 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/oxnas/files/drivers/pinctrl/pinctrl-oxnas.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/target/linux/oxnas/files/drivers/pinctrl/pinctrl-oxnas.c b/target/linux/oxnas/files/drivers/pinctrl/pinctrl-oxnas.c

[OpenWrt-Devel] [PATCH] modules: package VIA AC97 modules

2015-10-12 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/kernel/linux/modules/sound.mk | 34 ++ 1 file changed, 34 insertions(+) diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index ab83103..603bb70

[OpenWrt-Devel] [PATCH] modules: crypto-rng changes additions for kernel 4.3

2015-10-12 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- package/kernel/linux/modules/crypto.mk | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 82d2ca8..1179fff

[OpenWrt-Devel] [PATCH 0/5] oxnas: update platform and drivers for kernel 4.3

2015-10-12 Thread Daniel Golle
Quite some maintainance work was needed to keep oxnas working on more recent kernels. Most notably, stmmac was restructured upstream and now enforces SoC glue to live in platform drivers. oxnas: remove obsolete __cpuinit oxnas: fix duplicate include in clk-oxnas oxnas: prepare irqchip

Re: [OpenWrt-Devel] [PATCH 1/2] oxnas: drop some unused sysupgrade code

2015-09-21 Thread Daniel Golle
se2 doesn't seem to be defined > anywhere. Other than that platform_do_upgrade is not likely to be ever > called. There is a call to nand_do_platform_check which triggers > nand_upgrade_stage1 call with "exit 0" in it. > > Signed-off-by: Rafał Miłecki <zaj...@gmail.c

[OpenWrt-Devel] Bug #20542 affects all DEVICE_TYPE!=router targets on Chaos Calmer 15.05

2015-09-20 Thread Daniel Golle
Hi! I just tested the Chaos Calmer 15.05 release binaries realizing that bug #20542 may render targets having DEVICE_TYPE set to something else than 'router' unreachable due to missing firewall modules. jow fixed that in commit 820008e in trunk, however, this fix wasn't backported to cc-15.05

Re: [OpenWrt-Devel] i2c device not in /dev

2015-09-14 Thread Daniel Golle
On Mon, Sep 14, 2015 at 07:47:08PM +0200, John Crispin wrote: > On 14/09/2015 19:28, Baptiste Clenet wrote: > > Hi, > > > > I'm using a MT7628 chip and I try to implement an I2C device which > > will use i2c-ralink adapter. I registered my i2c device with > > module_i2c_driver(i2c_device_driver);

Re: [OpenWrt-Devel] Chaos Calmer 15.05

2015-09-11 Thread Daniel Golle
Hi! I'm glad to see CC is finally out! However, it seems like images for some boards got missing at least on lantiq and oxnas. See: http://downloads.openwrt.org/chaos_calmer/15.05-rc3/lantiq/xrx200/ vs. http://downloads.openwrt.org/chaos_calmer/15.05/lantiq/xrx200/

Re: [OpenWrt-Devel] [PATCH] mvebu: add config and patches for kernel 4.1

2015-09-11 Thread Daniel Golle
On Fri, Sep 11, 2015 at 03:18:49PM +0200, Kristian Evensen wrote: > Hi, > > On Fri, Sep 11, 2015 at 3:10 PM, Kristian Evensen > wrote: > > Hi, > > > > I tested this patch on my WRT1200AC and it seems to work fine, with > > one exception. > > Turns out there was a

[OpenWrt-Devel] [PATCH] mvebu: add config and patches for kernel 4.1

2015-09-01 Thread Daniel Golle
Signed-off-by: Daniel Golle <dan...@makrotopia.org> --- target/linux/mvebu/config-4.1 | 368 + .../patches-4.1/002-add_mamba_powertables.patch| 105 + .../mvebu/patches-4.1/003-add_mamba_switch.patch | 21 + .../patches-4

[OpenWrt-Devel] [PATCH] oxnas: remove support for kernel 3.18 and 4.0

2015-08-17 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/config-3.18 | 357 target/linux/oxnas/config-4.0 | 374 - .../010-arm_introduce-dma-fiq-irq-broadcast.patch | 56 --- .../250-add-plxtech

[OpenWrt-Devel] [PATCH] kernel: update 4.1 to 4.1.4

2015-08-04 Thread Daniel Golle
Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4 Signed-off-by: Daniel Golle dan...@makrotopia.org --- include/kernel-version.mk | 4 +- ...79-add-gpio-func-register-for-QCA955x-SoC.patch | 2 +- .../813-MIPS-ath79-add-ap147-support.patch

[OpenWrt-Devel] [PATCHv2 5/7] mac80211/linux-firmware: include firmware for brcmfmac-sdio

2015-07-30 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/mac80211/Makefile | 48 ++-- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 40b08c0..4052acd 100644

Re: [OpenWrt-Devel] [PATCH 5/7] linux-firmware: use newer upstream, package brcmfmac-firmware

2015-07-30 Thread Daniel Golle
On Thu, Jul 30, 2015 at 05:55:02AM +0200, Rafał Miłecki wrote: On 30 July 2015 at 03:52, Daniel Golle dan...@makrotopia.org wrote: Add new brcmfmac-firmware package. (Firmware blobs for BCM43362 were added upstream recently) PKG_MIRROR_MD5SUM should be re-added once the newer file

[OpenWrt-Devel] [PATCHv2 6/7] ap6210-nvram: new package

2015-07-30 Thread Daniel Golle
This package contains the WiFi NVRAM distributed with Bananian. It's currently needed to use the WiFi module (BCM43362 SDIO) on the BananaPro with the brcmfmac cfg80211 driver. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/firmware/ap6210-nvram/Makefile | 40

[OpenWrt-Devel] [PATCH 3/7] sunxi: reorganize kmod-ata-ahci-sunxi dependencies

2015-07-29 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/sunxi/modules.mk | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/target/linux/sunxi/modules.mk b/target/linux/sunxi/modules.mk index a4c71b9..0981fe5 100644 --- a/target/linux/sunxi/modules.mk +++ b

[OpenWrt-Devel] [PATCH 2/7] modules: move libahci to kmod-ata-core

2015-07-29 Thread Daniel Golle
Newer kernels make use of libahci in ahci-platform, ie. also on non-PCI platforms. As there is no single config symbol deciding whether libahci.ko is being built or not it seems the most sensitive thing to package it in kmod-ata-core. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package

[OpenWrt-Devel] [PATCH 1/7] kernel: add missing CONFIG_IR_IGORPLUGUSB symbol

2015-07-29 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/generic/config-4.1 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-4.1 b/target/linux/generic/config-4.1 index 1687487..51efabb 100644 --- a/target/linux/generic/config-4.1 +++ b/target/linux

[OpenWrt-Devel] [PATCH 4/7] sunxi: prepare kernel 4.1 config and patches

2015-07-29 Thread Daniel Golle
Similar to brcm2708 have framebuffer video support built-in so fbconsole gets initialized during boot. Plus more kernel config carefully sync'ed against upstream sunxi_defconfig. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/sunxi/config-4.1 | 599

[OpenWrt-Devel] [PATCH 2/2] oxnas: switch to kernel 4.1

2015-07-29 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/oxnas/Makefile b/target/linux/oxnas/Makefile index 32bcab8..2d244db 100644 --- a/target/linux/oxnas/Makefile +++ b/target/linux/oxnas

[OpenWrt-Devel] [PATCH 5/7] linux-firmware: use newer upstream, package brcmfmac-firmware

2015-07-29 Thread Daniel Golle
Add new brcmfmac-firmware package. (Firmware blobs for BCM43362 were added upstream recently) PKG_MIRROR_MD5SUM should be re-added once the newer file is available on OpenWrt's mirror. Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/firmware/linux-firmware/Makefile | 26

[OpenWrt-Devel] [PATCH 1/2] oxnas: prepare for kernel 4.1

2015-07-29 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/config-4.1 | 374 + .../oxnas/files/drivers/usb/host/ehci-oxnas.c | 2 +- .../010-arm_introduce-dma-fiq-irq-broadcast.patch | 56 +++ .../250-add-plxtech-vendor-prefix.patch

[OpenWrt-Devel] [PATCH 6/7] ap6210-firmware: new package

2015-07-29 Thread Daniel Golle
in nvram_ap6210.txt are supposedly intentional) [1]: http://dl.bananian.org/releases/bananian-latest.zip Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/firmware/ap6210-firmware/Makefile | 40 +++ .../ap6210-firmware/files/nvram_ap6210.txt | 57

[OpenWrt-Devel] [PATCH 7/7] sunxi: improve BananaPro package profile

2015-07-29 Thread Daniel Golle
Add kmod-ata-sunxi and kmod-brcmfmac to support all board features by default. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/sunxi/profiles/bananapro.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/sunxi/profiles/bananapro.mk b/target

[OpenWrt-Devel] [PATCH] generic: add more missing linux 4.1 symbols

2015-07-20 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/generic/config-4.1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/generic/config-4.1 b/target/linux/generic/config-4.1 index 2dd4071..f4a9b83 100644 --- a/target/linux/generic/config-4.1 +++ b/target/linux

Re: [OpenWrt-Devel] Chaos Calmer 15.05 package build failures in SDK

2015-07-16 Thread Daniel Golle
On Thu, Jul 16, 2015 at 07:06:34PM +0200, Daniel Golle wrote: On Thu, Jul 16, 2015 at 04:39:58PM +0200, Steven Barth wrote: The OpenWrt developers are proud to announce the third release candidate of OpenWrt Chaos Calmer. ... CHAOS CALMER (15.05 RC3) I also noticed that the SDK

[OpenWrt-Devel] Chaos Calmer 15.05 package build failures in SDK

2015-07-16 Thread Daniel Golle
On Thu, Jul 16, 2015 at 04:39:58PM +0200, Steven Barth wrote: The OpenWrt developers are proud to announce the third release candidate of OpenWrt Chaos Calmer. ... CHAOS CALMER (15.05 RC3) I also noticed that the SDK is still broken: * feeds.conf.default is missing git-src base

Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc3

2015-07-16 Thread Daniel Golle
On Thu, Jul 16, 2015 at 04:39:58PM +0200, Steven Barth wrote: The OpenWrt developers are proud to announce the third release candidate of OpenWrt Chaos Calmer. ... ** Improvements since RC 2 ** * brcmfmac: support for BCM43602 * mt76: updated version with new firmware support, TX DMA fixes

[OpenWrt-Devel] [PATCH 2/3] mvebu: add support for BUFFALO LS42x

2015-07-14 Thread Daniel Golle
wired to a USB 3.0 socket at the front as well as the in-SoC USB 2.0 host wired to a port on the back of the device. Still missing/not working: * poweroff/reset * Wake-on-LAN * easy and non-intrusive way to flash via factory ROM Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux

[OpenWrt-Devel] [PATCH 1/3] kernel: add Ricoh RS5C372 RTC module support

2015-07-14 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/kernel/linux/modules/other.mk | 15 +++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 473f063..b4907f4 100644 --- a/package/kernel/linux

[OpenWrt-Devel] SSL/TLS crypto library headaches

2015-06-28 Thread Daniel Golle
Hi everybody! I believe we all agree that the world is a mess. Thus it's not very surprising that the currente state of crypto- libraries *and their packaging* is just as messy as everything else. However, especially in case of those libraries, one might want to be very careful and choose a

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