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

2015-07-20 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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/generic/config-4.1

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

2015-07-29 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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/generic/config-4.1

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

2015-07-29 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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/target/linux/sunxi

[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 --- package/kernel/linux/modules

[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 --- target/linux/sunxi/config-4.1 | 599 ...201-dt-

[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 --- package/firmware/linux-firmware/Makefile | 26 +++-

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

2015-07-29 Thread Daniel Golle
ewlines in nvram_ap6210.txt are supposedly intentional) [1]: http://dl.bananian.org/releases/bananian-latest.zip Signed-off-by: Daniel Golle --- 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 --- 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/linux/sunxi/profiles

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

2015-07-29 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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/Makefile @@ -15,7

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

2015-07-29 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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| 10

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

2015-07-29 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 wrote: > > Add new brcmfmac-firmware package. > > (Firmware blobs for BCM43362 were added upstream recently) > > PKG_MIRROR_MD5SUM should be re-added once the newer fil

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

2015-07-30 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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 --- a/package/kernel

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

2015-07-30 Thread Daniel Golle
Hi Rafal, thanks for the review! On Thu, Jul 30, 2015 at 08:39:20AM +0200, Rafał Miłecki wrote: > On 30 July 2015 at 08:33, Daniel Golle wrote: > > On Thu, Jul 30, 2015 at 05:55:02AM +0200, Rafał Miłecki wrote: > >> On 30 July 2015 at 03:52, Daniel Golle wrote: >

[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 --- package/firmware/ap6210-nvram/Makefile | 40 +++ .../fir

[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 --- include/kernel-version.mk | 4 +- ...79-add-gpio-func-register-for-QCA955x-SoC.patch | 2 +- .../813-MIPS-ath79-add-ap147-support.patch | 6

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

2015-08-17 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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-vendor-prefix.patch

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

2015-09-01 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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.1/005-build_linksys_a385_dts.patch | 13

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/ http://downloads.openwrt.org/c

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 second exception. The USB1 port

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] [PATCH v3] wpa_supplicant: fix generating phase2 config line for WPA-EAP

2016-01-17 Thread Daniel Golle
beyond the scope of what I wanted to solve for myself now... Cheers updated patch follows --- Signed-off-by: Daniel Golle --- package/network/services/hostapd/files/netifd.sh | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/package/network/services/hostap

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

2016-01-17 Thread Daniel Golle
eap=MSCHAPV2" 'ttls' 'MSCHAPV2' -> phase2="auth=MSCHAPV2" 'peap' 'EAP-GTC' -> phase2="auth=GTC" Deprecated syntax supported for compatibility: 'ttls' 'autheap=MSCHAPV2' -> phase2="

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

2016-01-18 Thread Daniel Golle
Signed-off-by: Shonn Lu Acked-by: Daniel Golle --- 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 files changed, 6 insertions(+), 6 deletions(-) diff --git a

[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 --- 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-ox820.c b/target/linux/oxnas

[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 --- 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-oxnas-platform.patch | 71

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

2016-01-18 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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/linux/oxnas/Makefile @@ -15,7

[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 --- scripts/netifd-wireless.sh | 12 ++-- 1 file changed, 6 insertions(+), 6 deleti

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

2016-01-18 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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/network/services/uhttpd/Makefile +++ b

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

2016-01-18 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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/files/hostapd-full.config b

[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 --- package/network/services/hostapd/files/netifd.sh | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a

[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 --- package/network

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

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

[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 --- package/kernel/linux/modules/wpan.mk | 2 +- 1 file changed, 1 insertion

[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 --- package/kernel/linux/modules/wpan.mk | 2 +- 1 file changed, 1 insertion

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] 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 --- http://buildbot.openwrt.org:8010/broken_packages/cns3xxx/udev/compile.txt http://buildbot.openwrt.org:8010/broken_packages

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

2016-02-07 Thread Daniel Golle
Hi! I recently bumped into eudev, a fork of systemd-udev 220 which doesn't require all the rest of systemd. The gentoo folks came up with it as many of them still use OpenRC or SystemV init. It was easy to port it to OpenWrt by re-using and modifying the existing udev packaging. See https://github

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 dif

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 a

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 p

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. > > root@Honeypot:/hom

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

2016-02-10 Thread Daniel Golle
ainer > creation Why doesn't the template just you debootstrap...? > /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 availa

[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 --- 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-oxnas-target.patch index

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 P

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

[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 --- scripts/netifd-wireless.sh | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/netifd-wireless.sh b/sc

[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 --- packa

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

2016-03-08 Thread Daniel Golle
supported by OpenWrt. Signed-off-by: Daniel Golle --- 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/device.c @@ -51,6 +51,7

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 depe

[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 --- target

[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 --- 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/target/linux/oxnas/files/drivers

[OpenWrt-Devel] [PATCH 1/3] include/image.mk: allow including U-Boot environment in UBI

2016-03-16 Thread Daniel Golle
Signed-off-by: Daniel Golle --- include/image.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/image.mk b/include/image.mk index 6868617..7c11aa1 100644 --- a/include/image.mk +++ b/include/image.mk @@ -379,6 +379,7 @@ endef define Build/append-ubi sh $(TOPDIR)/scripts

[OpenWrt-Devel] [PATCH 2/3] oxnas: add Default profile and reorganize device profiles

2016-03-16 Thread Daniel Golle
Signed-off-by: Daniel Golle --- target/linux/oxnas/profiles/00-default.mk | 18 +++ target/linux/oxnas/profiles/100-Generic.mk | 48 -- target/linux/oxnas/profiles/mitrastar.mk | 15 ++ target/linux/oxnas/profiles/pogoplug.mk| 26

[OpenWrt-Devel] [PATCH 3/3] oxnas: switch to new image generation template

2016-03-16 Thread Daniel Golle
Signed-off-by: Daniel Golle --- target/linux/oxnas/image/Makefile | 130 +- 1 file changed, 44 insertions(+), 86 deletions(-) diff --git a/target/linux/oxnas/image/Makefile b/target/linux/oxnas/image/Makefile index 5a96bad..548fa62 100644 --- a/target/linux

[OpenWrt-Devel] [PATCH] oxnas: also reset GPIO B registers on boot

2016-03-16 Thread Daniel Golle
Clear both, SYS_CTRL_*_SEL and SEC_CTRL_*_SEL on boot instead of writing to SYS_CTRL_*_SEL twice which looks like a copy-paste error. Thanks to anonymous to bring this up in #21892! Signed-off-by: Daniel Golle --- target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c | 12 ++-- 1

[OpenWrt-Devel] [PATCH] oxnas: add spinlock in pinctrl driver

2016-03-18 Thread Daniel Golle
Try to address a race-condition in pinctrl-oxnas.c Signed-off-by: Daniel Golle --- .../linux/oxnas/files/drivers/pinctrl/pinctrl-oxnas.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/target/linux/oxnas/files/drivers/pinctrl/pinctrl-oxnas.c b/target

[OpenWrt-Devel] [PATCH] modules/sound: enable ALSA PCM timer and procfs interface

2016-03-19 Thread Daniel Golle
pcm-timer and /proc/asound/* is needed for basic things (e.g. aplay). Without those two symbols set, only OSS emulation works. Signed-off-by: Daniel Golle --- package/kernel/linux/modules/sound.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/kernel/linux/modules/sound.mk b

[OpenWrt-Devel] [PATCH] oxnas: sync cpu-hotplug with mach-realview

2016-03-19 Thread Daniel Golle
Make mach-oxnas/hotplug.c look more similar to mach-realview/hotplug.c, just cosmetics and maintainability concerns, no functional changes. Signed-off-by: Daniel Golle --- target/linux/oxnas/files/arch/arm/mach-oxnas/hotplug.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff

[OpenWrt-Devel] [PATCH] kernel: add missing symbol

2016-03-19 Thread Daniel Golle
Add missing symbol needed when building kernel with profiling enabled for ARM or ARM64 targets. Signed-off-by: Daniel Golle --- config/Config-kernel.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 8ea11ed..4c191f0 100644 --- a

[OpenWrt-Devel] [PATCH] oxnas: set ubifs parameters for Default profile

2016-03-22 Thread Daniel Golle
/oxnas/builds/246/steps/compile_8/logs/stdio Signed-off-by: Daniel Golle --- target/linux/oxnas/image/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/oxnas/image/Makefile b/target/linux/oxnas/image/Makefile index 423b69f..27da2da 100644 --- a/target/linux/oxnas/image

[OpenWrt-Devel] [PATCH 1/2] oxnas: add support for Akitio MyCloud mini

2016-04-19 Thread Daniel Golle
Signed-off-by: Daniel Golle --- package/boot/uboot-envtools/files/oxnas| 1 + target/linux/oxnas/base-files/etc/board.d/01_leds | 3 + target/linux/oxnas/base-files/etc/diag.sh | 3 + target/linux/oxnas/base-files/lib/oxnas.sh | 3 + .../oxnas/files/arch/arm

[OpenWrt-Devel] [PATCH 2/2] oxnas: clean-up and improve profiles

2016-04-19 Thread Daniel Golle
Signed-off-by: Daniel Golle --- target/linux/oxnas/profiles/00-default.mk | 9 ++--- target/linux/oxnas/profiles/cloudengines.mk | 26 ++ target/linux/oxnas/profiles/pogoplug.mk | 26 -- 3 files changed, 32 insertions(+), 29 deletions

[OpenWrt-Devel] [PATCH] oxnas: add missing semicolon

2016-04-21 Thread Daniel Golle
A missing semicolon in the gpio-keys-polled section of ox820-akitio.dts caused the build to break. Add it. Signed-off-by: Daniel Golle --- target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/oxnas/files

[OpenWrt-Devel] [PATCH/RFC] dnsmasq: run as dedicated UID/GID

2016-04-21 Thread Daniel Golle
Running dnsmasq in a dedicated user/group allows matching its outgoing traffic more easily using iptables' owner match. Add UID/GID to the package metadata and append the user/group parameters to the init script. Signed-off-by: Daniel Golle --- package/network/services/dnsmasq/Mak

Re: [OpenWrt-Devel] [PATCH/RFC] dnsmasq: run as dedicated UID/GID

2016-04-25 Thread Daniel Golle
Hi John! On Mon, Apr 25, 2016 at 06:28:47PM +0200, John Crispin wrote: > > > On 22/04/2016 06:26, Daniel Golle wrote: > > Running dnsmasq in a dedicated user/group allows matching its outgoing > > traffic more easily using iptables' owner match. > > Add UID

[OpenWrt-Devel] [PATCH v2] dnsmasq: run as dedicated UID/GID

2016-04-25 Thread Daniel Golle
Running dnsmasq in a dedicated user/group allows matching its outgoing traffic more easily using iptables' owner match. Add UID/GID to the package metadata and append the user/group parameters to the init script. Signed-off-by: Daniel Golle --- package/network/services/dnsmasq/Mak

[OpenWrt-Devel] [PATCH] base-files: evalute uci-defaults on run-time installations

2016-04-27 Thread Daniel Golle
-defaults were applied only after a reboot of the device. Avoid the need to reboot by evaluting the package's uci-defaults in default_postinst. Signed-off-by: Daniel Golle --- package/base-files/files/lib/functions.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/package/base-files/file

[OpenWrt-Devel] [PATCH v2] base-files: evalute uci-defaults on run-time installations

2016-04-27 Thread Daniel Golle
-defaults were applied only after a reboot of the device. Avoid the need to reboot by evaluting the package's uci-defaults in default-postinst. Signed-off-by: Daniel Golle --- v2: remove superflus expansions of always-empty variable package/base-files/files/lib/functions.sh | 5 + 1 file chang

[OpenWrt-Devel] [PATCH v3] base-files: evaluate uci-defaults on run-time installations

2016-04-27 Thread Daniel Golle
-defaults were applied only after a reboot of the device. Avoid the need to reboot by evaluating the package's uci-defaults in default-postinst. Signed-off-by: Daniel Golle --- v2: remove superflus expansions of always-empty variable v3: fix typo in patch description, sorry for the noise... pa

[OpenWrt-Devel] [PATCH] set mark for locally generated traffic in OUTPUT chain

2016-04-28 Thread Daniel Golle
Signed-off-by: Daniel Golle --- rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.c b/rules.c index 756c78d..e20442e 100644 --- a/rules.c +++ b/rules.c @@ -270,7 +270,7 @@ append_chain(struct fw3_ipt_rule *r, struct fw3_rule *rule

[OpenWrt-Devel] [PATCH v4] base-files: evaluate uci-defaults on run-time installations

2016-04-28 Thread Daniel Golle
-defaults were applied only after a reboot of the device. Avoid the need to reboot by evaluting the package's uci-defaults in default-postinst. Signed-off-by: Daniel Golle --- v2: remove superflus expansions of always-empty variable v3: fix typo in patch description, sorry for the noise... v4:

Re: [OpenWrt-Devel] [PATCH] set mark for locally generated traffic in OUTPUT chain

2016-04-28 Thread Daniel Golle
Hi Jo! On Thu, Apr 28, 2016 at 03:03:49PM +0200, Jo-Philipp Wich wrote: > my stomach feeling tells me that this is okay but can you elaborate on > the change? Currently all marking always happends in the PREROUTING chain. This doesn't catch locally generated traffic and thus also doesn't allow us

Re: [OpenWrt-Devel] r49252 (dnsmasq: run as dedicated UID/GID) causing major havoc

2016-04-30 Thread Daniel Golle
Hi! On Sat, Apr 30, 2016 at 10:20:05AM +0300, Hannu Nyman wrote: > r49252 (dnsmasq: run as dedicated UID/GID) seems to be causing major havoc. > > So far at least 5 bugs about it: #22271, #22277, #22278, #22300, #22303 > > The change to require a separate userid & group for dnsmasq without > pro

Re: [OpenWrt-Devel] Introducing the LEDE project

2016-05-05 Thread Daniel Golle
Hi Daniel, I already merged lynxis series now that I see your comment. If you feel like it, it'd be nice if you point out the remaining places where the name needs to be replaced and submit (a) patch(es). Cheers Daniel On Thu, May 05, 2016 at 02:03:43PM -0400, Daniel Dickinson wrote: > If you'r

Re: [OpenWrt-Devel] [PATCH] mac80211.sh: add support of VHT80 for mesh

2016-05-06 Thread Daniel Golle
Hi Chun-Yeow, On Sat, May 07, 2016 at 12:35:17AM +0800, Chun-Yeow Yeoh wrote: > Add support of VHT80 setting for mesh interface > > Signed-off-by: Chun-Yeow Yeoh > --- > .../mac80211/files/lib/netifd/wireless/mac80211.sh | 33 > +++--- > 1 file changed, 17 insertions(+), 16 del

Re: [OpenWrt-Devel] [PATCH] mac80211.sh: add support of VHT80 for mesh

2016-05-06 Thread Daniel Golle
720f14724db055444bb56 and http://w1.fi/cgit/hostap/commit/wpa_supplicant/mesh.c?id=d06a35052f182d3aebc7b7e1c780cca7b386997d so no need to set it here again. > > Thanks > > > Chun-Yeow > > On Sat, May 7, 2016 at 12:53 AM, Daniel Golle wrote: > > Hi Chun-Yeow, &g

Re: [OpenWrt-Devel] [PATCH] mac80211.sh: add support of VHT80 for mesh

2016-05-06 Thread Daniel Golle
oesn't break things, setting them in that case can also be enabled in a follow-up patch. Cheers Daniel > > > Chun-Yeow > > On Sat, May 7, 2016 at 1:16 AM, Daniel Golle wrote: > > On Sat, May 07, 2016 at 01:01:30AM +0800, Yeoh Chun-Yeow wrote: > >> auths

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH] include/kernel: Do not strip kernel's Elf

2016-05-16 Thread Daniel Golle
On Mon, May 16, 2016 at 05:42:43PM +0300, Alexey Brodkin wrote: > If an image gets built as an Elf there's a chance > it will be used by developers for debugging purposes. > In that case it's very helpful to keep debugging info > in that image. > > I would think that most OWRT-powered devices in p

Re: [OpenWrt-Devel] Response to LEDE proposal/queries/mail?

2016-06-07 Thread Daniel Golle
Hi! On Tue, Jun 07, 2016 at 02:42:36PM +0200, Zoltan HERPAI wrote: > ... > The official line - which I should have sent out a few days ago - from the > OpenWrt team is: > > > Felix's initial comment was LEDE to become a "development environment" for > new ideas, and to keep OpenWrt as the st

[OpenWrt-Devel] [Bug CC 15.05.1] ath9k crashes on TL-WR1043NDv1

2016-06-29 Thread Daniel Golle
Hi! I got an interesting bug on a quite ancient ath9k system which used to run stable on BB. Can anyone with more insight of ath9k tell me what's going on? DISTRIB_RELEASE='Chaos Calmer' DISTRIB_REVISION='r49378' system type : Atheros AR9132 rev 2 machine : TP-LINK T

Re: [OpenWrt-Devel] [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
Hi Richard, On Thu, Aug 11, 2016 at 11:51:10AM +0200, Richard Weinberger wrote: > Hi! > > On Thu, Aug 11, 2016 at 4:26 AM, J Mo wrote: > > I tried re-flashing my UBI and tftpbooting my kernel before u-boot could > > ever get a chance to mangle it, and now I get much further, though I'm still > >

Re: [OpenWrt-Devel] [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
Hi, On Thu, Aug 11, 2016 at 05:18:08AM -0700, J Mo wrote: > > > On 08/11/2016 04:28 AM, J Mo wrote: > > > > Hm, I just found another example. I don't know why this didn't turn up > > in my searches yesterday since it's a perfect match with the EXACT > > error. This too was on a QSDK AP148: > >

Re: [OpenWrt-Devel] [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
Hi J, On Thu, Aug 11, 2016 at 06:15:32AM -0700, J Mo wrote: > > > On 08/11/2016 05:31 AM, Daniel Golle wrote: > > That's what I told you in the previous mail, removing the rootfs= > > parameter from the dts should do the trick, because you just cannot > >

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH] linux/arc*: disable MAC frame filter in DW GMAC

2016-08-16 Thread Daniel Golle
Hi Alexey, On Tue, Aug 16, 2016 at 06:06:20AM +, Alexey Brodkin wrote: > Hi Felix, > > On Wed, 2016-07-27 at 17:19 +0200, Felix Fietkau wrote: > > On 2016-07-27 14:11, Alexey Brodkin wrote: > > > > > > For some [still unknown] reason in ARC SDP boards > > > DW GMAC doesn't enter promiscuous

Re: [OpenWrt-Devel] [PATCH v2 0/2] kernel: add kmod-ubi and kmod-fs-ubifs

2016-08-24 Thread Daniel Golle
On Wed, Aug 24, 2016 at 11:28:40PM +0200, Zoltan HERPAI wrote: > Ralph Sennhauser wrote: > > I use kmod-ubi for creating a block device from the squasfs using module > > parameters as there is no busybox ubiblock applet yet. If ubi is made > > available as module so obvioulsy should ubifs. > > > >

Re: [OpenWrt-Devel] [PATCH v2 0/2] kernel: add kmod-ubi and kmod-fs-ubifs

2016-08-25 Thread Daniel Golle
On Thu, Aug 25, 2016 at 07:40:56AM +0200, Zoltan HERPAI wrote: > Daniel Golle wrote: > > On Wed, Aug 24, 2016 at 11:28:40PM +0200, Zoltan HERPAI wrote: > > > Ralph Sennhauser wrote: > > > > I use kmod-ubi for creating a block device from the squasfs using module >

Re: [OpenWrt-Devel] [PATCH v2 0/2] kernel: add kmod-ubi and kmod-fs-ubifs

2016-08-25 Thread Daniel Golle
On Thu, Aug 25, 2016 at 12:50:59PM +0200, Ralph Sennhauser wrote: > Hi Daniel, > > On Thu, 25 Aug 2016 10:53:34 +0200 > Daniel Golle wrote: > > [snip] > > > Are you planning to switch to initramfs and then load the ubi and > > ubifs modules in order to get a

Re: [OpenWrt-Devel] [PATCH v2 0/2] kernel: add kmod-ubi and kmod-fs-ubifs

2016-08-26 Thread Daniel Golle
at on LEDE's source.git Cheers Daniel On Fri, Aug 26, 2016 at 11:46:05AM +0200, Ralph Sennhauser wrote: > On Thu, 25 Aug 2016 12:53:41 +0200 > Ralph Sennhauser wrote: > > > Hi Zoltan, > > > > On Thu, 25 Aug 2016 07:40:56 +0200 > > Zoltan HERPAI wrote: >

Re: [OpenWrt-Devel] [PATCH v2 0/2] kernel: add kmod-ubi and kmod-fs-ubifs

2016-08-26 Thread Daniel Golle
Hi Ralph, On Fri, Aug 26, 2016 at 04:13:53PM +0200, Ralph Sennhauser wrote: > Hi Daniel, > > On Fri, 26 Aug 2016 15:05:58 +0200 > Daniel Golle wrote: > > > Hi Ralph, > > > > the use of global variable ROOT_DEV is not guarded properly in the > > patch au

[OpenWrt-Devel] [PATCH/RFC 0/3] UBI: unify mouting rootfs based on cmdline parameter

2016-08-27 Thread Daniel Golle
rootfstype=ubifs,squashfs Please comment on the code, which is to considered a loose draft hacked up during this evening -- it's untested and certainly still has a lot of flaws. Yet, I felt it'd be good to discuss the general direction at this early stage. Cheers Daniel Daniel Golle (3):

[OpenWrt-Devel] [PATCH 1/3] UBIFS, UBI: move volume string parser from UBIFS to UBI

2016-08-27 Thread Daniel Golle
Signed-off-by: Daniel Golle --- drivers/mtd/ubi/kapi.c | 65 + fs/ubifs/super.c| 64 +--- include/linux/mtd/ubi.h | 1 + 3 files changed, 67 insertions(+), 63 deletions(-) diff --git a/drivers

[OpenWrt-Devel] [PATCH 2/3] mtd: ubiblock: introduce ubiblock_create_dev

2016-08-27 Thread Daniel Golle
Define function ubiblock_create_dev(char *name, dev_t *bdev) which returns the created device by setting the point bdev. This is useful for in-kernel users creating a ubiblock device in order to mount the root filesystem. Signed-off-by: Daniel Golle --- drivers/mtd/ubi/block.c | 11

[OpenWrt-Devel] [PATCH 3/3] init: auto-create ubiblock device for non-UBIFS rootfs on UBI

2016-08-27 Thread Daniel Golle
Signed-off-by: Daniel Golle --- init/do_mounts.c | 62 +--- 1 file changed, 55 insertions(+), 7 deletions(-) diff --git a/init/do_mounts.c b/init/do_mounts.c index dea5de9..485df12 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -28,6

Re: [OpenWrt-Devel] [PATCH v2 0/2] kernel: add kmod-ubi and kmod-fs-ubifs

2016-08-27 Thread Daniel Golle
On Fri, Aug 26, 2016 at 04:13:53PM +0200, Ralph Sennhauser wrote: > Hi Daniel, > > On Fri, 26 Aug 2016 15:05:58 +0200 > Daniel Golle wrote: > > > Hi Ralph, > > > > the use of global variable ROOT_DEV is not guarded properly in the > > patch auto-creating

Re: [OpenWrt-Devel] [PATCH/RFC 0/3] UBI: unify mouting rootfs based on cmdline parameter

2016-08-27 Thread Daniel Golle
Hi Richard, thanks for the quick reply! On Sat, Aug 27, 2016 at 10:43:45PM +0200, Richard Weinberger wrote: > Daniel, > > On 27.08.2016 21:43, Daniel Golle wrote: > > Hi! > > > > In an attempts to fix the flaws of the current set of UBI-related > > patches

Re: [OpenWrt-Devel] [PATCH/RFC 0/3] UBI: unify mouting rootfs based on cmdline parameter

2016-08-27 Thread Daniel Golle
Hi Richard, On Sat, Aug 27, 2016 at 11:23:14PM +0200, Richard Weinberger wrote: > Daniel, > > On 27.08.2016 23:06, Daniel Golle wrote: > > Hi Richard, > > > > thanks for the quick reply! > > > > On Sat, Aug 27, 2016 at 10:43:45PM +0200, Richard Wein

Re: [OpenWrt-Devel] [PATCH/RFC 0/3] UBI: unify mouting rootfs based on cmdline parameter

2016-08-28 Thread Daniel Golle
Hi Richard, On Sun, Aug 28, 2016 at 11:28:18AM +0200, Richard Weinberger wrote: > Ralph, > > On 28.08.2016 11:19, Ralph Sennhauser wrote: > >>> On the other hand an initramfs can carry the logic to figure out > >>> which to mount and is what I use for my self. The busybox based > >>> implementati

Re: [OpenWrt-Devel] [PATCH/RFC 0/3] UBI: unify mouting rootfs based on cmdline parameter

2016-08-28 Thread Daniel Golle
Hi Richard, On Sun, Aug 28, 2016 at 01:57:40PM +0200, Richard Weinberger wrote: > Daniel, > > On 28.08.2016 13:44, Daniel Golle wrote: > > Hi Richard, > > > > On Sun, Aug 28, 2016 at 11:28:18AM +0200, Richard Weinberger wrote: > >> Ralph, > >> >

Re: [OpenWrt-Devel] [PATCH/RFC 0/3] UBI: unify mouting rootfs based on cmdline parameter

2016-08-28 Thread Daniel Golle
Hi Ezequiel, On Sun, Aug 28, 2016 at 11:12:50AM -0300, Ezequiel Garcia wrote: > Daniel, > > Let's try to tackle this from a different angle. > > On 27 August 2016 at 16:43, Daniel Golle wrote: > > Hi! > > > > In an attempts to fix the flaws of the current

Re: [OpenWrt-Devel] [PATCH/RFC 0/3] UBI: unify mouting rootfs based on cmdline parameter

2016-08-28 Thread Daniel Golle
On Sun, Aug 28, 2016 at 04:20:59PM +0200, Boris Brezillon wrote: > I think Daniel wants something like: > > ubi.mtd=1 root=ubi0:rootfs Yes, this is what I want :) > > or > > ubi.mtd=1 root=/dev/ubiblock0_1 This would already be a bit worse, as then I need to refer to the rootfs volume using t

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