[OpenWrt-Devel] [PATCH 3/3] jail: respect byte order when setting AUDIT_ARCH

2015-05-16 Thread Daniel Golle
AUDIT_ARCH on ARM and MIPS differs depending on the byte order. Thus set AUDIT_ARCH to the respective endian-specific variants. Signed-off-by: Daniel Golle --- jail/seccomp-bpf.h | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/jail/seccomp-bpf.h b/jail/seccomp-

[OpenWrt-Devel] [PATCH 2/3] jail: add support for ARM architecture

2015-05-16 Thread Daniel Golle
SECCOMP_FILTER isn't supported on ARM OABI. Thus enable seccomp support in jail only for EABI. thumb might work as well as it apparently implies EABI, but yet doesn't set __ARM_EABI__. The REG_SYSCALL macro seems to be an unused left-over. However, it's defined for other architectures as well. Si

[OpenWrt-Devel] [PATCH 1/3] trace: add support for ARM architecture

2015-05-16 Thread Daniel Golle
Signed-off-by: Daniel Golle --- trace/trace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trace/trace.c b/trace/trace.c index d70957d..5941f90 100644 --- a/trace/trace.c +++ b/trace/trace.c @@ -42,6 +42,8 @@ # define EF_REG2 8 # endif #define reg_syscall_nr (EF_REG2 / 4) +#elif

[OpenWrt-Devel] [PATCH 0/3] procd: add support for seccomp on ARM

2015-05-16 Thread Daniel Golle
This series adds support for syscall tracing and seccomp filters on the ARM architecture to procd. Daniel Golle (3): trace: add support for ARM architecture jail: add support for ARM architecture jail: respect byte order when setting AUDIT_ARCH jail/seccomp-bpf.h | 14 +- trace

Re: [OpenWrt-Devel] libqrcode

2015-05-16 Thread Jonathan Bennett
Thanks. I'll work on updating it and see what happens. ~Jonathan On Sat, May 16, 2015 at 8:42 PM, Yousong Zhou wrote: > On 17 May 2015 at 02:39, Jonathan Bennett wrote: > > I see libqrencode still exists in the main openwrt repo, instead of being > > moved over to the packages feed. There is a

Re: [OpenWrt-Devel] libqrcode

2015-05-16 Thread Yousong Zhou
On 17 May 2015 at 02:39, Jonathan Bennett wrote: > I see libqrencode still exists in the main openwrt repo, instead of being > moved over to the packages feed. There is also no maintainer tag in the > Makefile, and the project is a minor release behind. > (https://dev.openwrt.org/browser/packages/

Re: [OpenWrt-Devel] How to track IO usage of internal flash mtd partitions?

2015-05-16 Thread valent.turko...@gmail.com
Here is some interesting info I found using mtdinfo tool: # mtdinfo /dev/mtd5 mtd5 Name: rootfs_data Type: nor Eraseblock size:65536 bytes, 64.0 KiB Amount of eraseblocks: 104 (6815744 bytes, 6.5 MiB) Minimum input/output

[OpenWrt-Devel] How to track IO usage of internal flash mtd partitions?

2015-05-16 Thread valent.turko...@gmail.com
Hi, OpenWrt devices use mtd partitions, but I don't have enough knowledge on how to track IO activity, especially number of writes. I know that mtd device isn't a block device, but what confuses me that I see mtdblock devices also. Do they simulate block device? Why? I have used iostat but it is

[OpenWrt-Devel] [PATCH] php5-pecl-bcompiler: drop package

2015-05-16 Thread Michael Heimpold
Package is marked broken for a long time and upstreams seems to be dead, too. Signed-off-by: Michael Heimpold --- lang/php5-pecl-bcompiler/Makefile | 29 - 1 file changed, 29 deletions(-) delete mode 100644 lang/php5-pecl-bcompiler/Makefile diff --git a/lang/php5-

[OpenWrt-Devel] [PATCH] php5-pecl-libevent: moved to github

2015-05-16 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- lang/php5-pecl-libevent/Makefile | 31 --- 1 file changed, 31 deletions(-) delete mode 100644 lang/php5-pecl-libevent/Makefile diff --git a/lang/php5-pecl-libevent/Makefile b/lang/php5-pecl-libevent/Makefile deleted file mode 100

[OpenWrt-Devel] [PATCH] php5-pecl-dio: moved to github

2015-05-16 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- lang/php5-pecl-dio/Makefile| 29 .../patches/010-additional-baudrates.patch | 29 2 files changed, 58 deletions(-) delete mode 100644 lang/php5-pecl-dio/Makefile delete mode 100644

[OpenWrt-Devel] libqrcode

2015-05-16 Thread Jonathan Bennett
I see libqrencode still exists in the main openwrt repo, instead of being moved over to the packages feed. There is also no maintainer tag in the Makefile, and the project is a minor release behind. ( https://dev.openwrt.org/browser/packages/libs/qrencode/Makefile) I am considering adding qr code

Re: [OpenWrt-Devel] [PATCH 4/6] bcm53xx: bcm47xxpart: add support for parsing device tree partitions

2015-05-16 Thread Rafał Miłecki
On 16 May 2015 at 13:53, Álvaro Fernández Rojas wrote: > This patch splits firmware partition based on TRX header, while ofpart won't > be able to split firmware partition into kernel (linux) + rootfs. > It's very similar to bcm63xx code, where bcmtag contains the information > needed to split l

Re: [OpenWrt-Devel] WAN dhcp client doesnt recognize unplugged cable and doesnt request new IP on replugged

2015-05-16 Thread Karl Palsson
Hans Dedecker wrote: > netifd enables by default force_link for interface with as proto > static; are you referring to such an interface ? > I'm not a big fan of enabling force_link by default as I already > discussed this behavior on the OpenWRT Devel mailing list > (https://lists.openwrt.org/pi

Re: [OpenWrt-Devel] [PATCH 4/6] bcm53xx: bcm47xxpart: add support for parsing device tree partitions

2015-05-16 Thread Bjørn Mork
Hauke Mehrtens writes: > On 05/16/2015 12:53 PM, Álvaro Fernández Rojas wrote: >> Signed-off-by: Álvaro Fernández Rojas >> --- >> ...-bcm47xxpart-parse-device-tree-partitions.patch | 156 >> + >> 1 file changed, 156 insertions(+) >> create mode 100644 >> target/linux/bcm5

Re: [OpenWrt-Devel] [PATCH 4/6] bcm53xx: bcm47xxpart: add support for parsing device tree partitions

2015-05-16 Thread Álvaro Fernández Rojas
This patch splits firmware partition based on TRX header, while ofpart won't be able to split firmware partition into kernel (linux) + rootfs. It's very similar to bcm63xx code, where bcmtag contains the information needed to split linux partition into kernel + rootfs. El 16/05/2015 a las 13:16,

Re: [OpenWrt-Devel] [PATCH] Give WiFi modules more time to settle

2015-05-16 Thread Arend van Spriel
On 05/15/15 21:28, Felix Fietkau wrote: On 2015-05-15 09:02, Arend van Spriel wrote: On 05/12/15 12:25, Hante Meuleman wrote: It is a bit more than just changing request_firmware_nowait into request_firmware. The worker in core.c needs to be removed. The function brcmf_pcie_setup needs to be up

Re: [OpenWrt-Devel] [PATCH 6/6] bcm53xx: add ASUS RT-AC87U LEDs

2015-05-16 Thread Rafał Miłecki
On 16 May 2015 at 12:53, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas This patch is simple enough to upstream it (clean code & doesn't depend on other stuff). Please send a patch to Florian & linux-arm-kernel mailing list based on top of: https://github.com/Broadcom/stb

Re: [OpenWrt-Devel] [PATCH 4/6] bcm53xx: bcm47xxpart: add support for parsing device tree partitions

2015-05-16 Thread Rafał Miłecki
On 16 May 2015 at 13:11, Hauke Mehrtens wrote: > On 05/16/2015 12:53 PM, Álvaro Fernández Rojas wrote: >> Signed-off-by: Álvaro Fernández Rojas >> --- >> ...-bcm47xxpart-parse-device-tree-partitions.patch | 156 >> + >> 1 file changed, 156 insertions(+) >> create mode 10064

Re: [OpenWrt-Devel] [PATCH 4/6] bcm53xx: bcm47xxpart: add support for parsing device tree partitions

2015-05-16 Thread Hauke Mehrtens
On 05/16/2015 12:53 PM, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > ...-bcm47xxpart-parse-device-tree-partitions.patch | 156 > + > 1 file changed, 156 insertions(+) > create mode 100644 > target/linux/bcm53xx/patches-3.18/401-mtd-bcm47xxpa

[OpenWrt-Devel] [PATCH 6/6] bcm53xx: add ASUS RT-AC87U LEDs

2015-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- ...322-ARM-BCM5301X-Add-DT-for-Asus-RT-AC87U.patch | 24 +- ...01X-Enable-ChipCommon-UART-serial-console.patch | 2 +- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/target/linux/bcm53xx/patches-3.18/322-ARM-BCM5301X

[OpenWrt-Devel] [PATCH 5/6] bcm53xx: add ASUS RT-AC87U partitions

2015-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- ...322-ARM-BCM5301X-Add-DT-for-Asus-RT-AC87U.patch | 33 +- ...01X-Enable-ChipCommon-UART-serial-console.patch | 4 +-- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/target/linux/bcm53xx/patches-3.18/322-ARM-BCM5301

[OpenWrt-Devel] [PATCH 4/6] bcm53xx: bcm47xxpart: add support for parsing device tree partitions

2015-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- ...-bcm47xxpart-parse-device-tree-partitions.patch | 156 + 1 file changed, 156 insertions(+) create mode 100644 target/linux/bcm53xx/patches-3.18/401-mtd-bcm47xxpart-parse-device-tree-partitions.patch diff --git a/target/linux/bcm

[OpenWrt-Devel] [PATCH 3/6] bcm53xx: bcm_nand: add support for overriding partition probe through device tree

2015-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- .../patches-3.18/420-mtd-bcm5301x_nand.patch | 47 -- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch b/target/linux/bcm53xx/patches-3.18/420-mtd-bcm53

[OpenWrt-Devel] [PATCH 2/6] bcm53xx: enable RT-AC87U UART console

2015-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- ...301X-Enable-ChipCommon-UART-serial-console.patch | 21 + 1 file changed, 21 insertions(+) diff --git a/target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch b/target/linux/bcm53xx/patches

[OpenWrt-Devel] [PATCH 1/6] bcm53xx: refresh patches

2015-05-16 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- .../linux/bcm53xx/patches-3.18/003-mtd-spi-nor-from-3.19.patch | 4 ++-- .../linux/bcm53xx/patches-3.18/004-mtd-spi-nor-from-3.20.patch | 2 +- .../058-ARM-BCM5301X-Add-USB-LED-for-Buffalo-WZR-1750DHP.patch | 5 - .../059-ARM-BCM5301X-Add-DT-for

[OpenWrt-Devel] [PATCH 0/6] Improve ASUS RT-AC87U support

2015-05-16 Thread Álvaro Fernández Rojas
These patches improve ASUS RT-AC87U support, allowing to achieve a full boot on these devices: http://pastebin.com/RiQbZBxU Please, take in mind that switch isn't still working. Álvaro Fernández Rojas (6): bcm53xx: refresh patches bcm53xx: enable RT-AC87U UART console bcm53xx: bcm_nand: ad