[OpenWrt-Devel] [PATCH 1/2] include: add a new ubinize-image build target

2015-08-20 Thread Mathieu Olivari
This new build target can be used to generate a ubinized.bin file, including the kernel and the FS specified as an argument. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- include/image.mk | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/image.mk b/include/image.mk

[OpenWrt-Devel] [PATCH 2/2] ipq806x: add UBI image generation

2015-08-20 Thread Mathieu Olivari
UBI image will be used to flash in NAND. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/image/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile index b64d629..698aeb9 100644

[OpenWrt-Devel] [PATCH 5/5] ipq806x: switch AP148 to using SMEM based MTD parser

2015-08-14 Thread Mathieu Olivari
-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 4 +++ target/linux/ipq806x/config-4.1| 8 ++--- .../patches-3.18/021-add-ap148-partitions.patch| 34 ++ ...1-ARM-qcom-add-USB-nodes-to-ipq806x-ap148.patch | 2

[OpenWrt-Devel] [PATCH 4/5] ipq806x: add QCOM SMEM based MTD parser

2015-08-14 Thread Mathieu Olivari
This patch adds a new parser which uses the SMEM available on IPQ and some other QCOM platforms to map the MTD partitions. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- ...37-mtd-add-SMEM-parser-for-QCOM-platforms.patch | 277 + ...37-mtd-add-SMEM-parser-for-QCOM

[OpenWrt-Devel] [PATCH 3/5] ipq806x: add SMEM support

2015-08-14 Thread Mathieu Olivari
2 patches are cherry-picked from the following LKML thread: *https://lkml.org/lkml/2015/4/11/208 The last patch (036-soc-qcom-add-smem-to-IPQ806x-platforms.patch) is adding the corresponding DT nodes required for IPQ806x. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- ...soc-qcom-Add

[OpenWrt-Devel] [PATCH 2/5] ipq806x: add hwspinlock support

2015-08-14 Thread Mathieu Olivari
nodes on IPQ806x platforms (033-soc-qcom-Add-sfbp-device-to-IPQ806x-dts.patch). Signed-off-by: Mathieu Olivari math...@codeaurora.org --- ...0-hwspinlock-core-add-device-tree-support.patch | 167 +++ ...qcom-Add-support-for-Qualcomm-HW-Mutex-bl.patch | 234

[OpenWrt-Devel] [PATCH 1/5] kernel: move linux, part-probe dt parsing in generic code

2015-08-14 Thread Mathieu Olivari
-by: Mathieu Olivari math...@codeaurora.org --- ...t-add-generic-parsing-of-linux-part-probe.patch | 175 - ...t-add-generic-parsing-of-linux-part-probe.patch | 175 + .../400-mtd-add-rootfs-split-support.patch | 16 +- ...port-for-different-partition

Re: [OpenWrt-Devel] [PATCH 1/5] kernel: move linux, part-probe dt parsing in generic code

2015-08-13 Thread Mathieu Olivari
Olivari Cc: Felix Fietkau; Jonas Gorski; John Crispin; OpenWrt Development List Subject: Re: [OpenWrt-Devel] [PATCH 1/5] kernel: move linux, part-probe dt parsing in generic code On 13 August 2015 at 04:37, Mathieu Olivari math...@codeaurora.org wrote: The linux,part-probe dts parsing is a pretty

[OpenWrt-Devel] [PATCH 3/5] ipq806x: add SMEM support

2015-08-12 Thread Mathieu Olivari
2 patches are cherry-picked from the following LKML thread: *https://lkml.org/lkml/2015/4/11/208 The last patch (036-soc-qcom-add-smem-to-IPQ806x-platforms.patch) is adding the corresponding DT nodes required for IPQ806x. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- ...soc-qcom-Add

[OpenWrt-Devel] [PATCH 4/5] ipq806x: add QCOM SMEM based MTD parser

2015-08-12 Thread Mathieu Olivari
This patch adds a new parser which uses the SMEM available on IPQ and some other QCOM platforms to map the MTD partitions. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../037-mtd-add-qcom-smem-parser.patch | 253 + .../patches-4.1/037-mtd-add-qcom

[OpenWrt-Devel] [PATCH 0/5] ipq806x: add support for SMEM based MTD parser

2015-08-12 Thread Mathieu Olivari
layout was detected accurately on both boot methods. Mathieu Olivari (5): kernel: move linux,part-probe dt parsing in generic code ipq806x: add hwspinlock support ipq806x: add SMEM support ipq806x: add QCOM SMEM based MTD parser ipq806x: switch AP148 to using SMEM based MTD parser ...t

[OpenWrt-Devel] [PATCH 2/5] ipq806x: add hwspinlock support

2015-08-12 Thread Mathieu Olivari
nodes on IPQ806x platforms (033-soc-qcom-Add-sfbp-device-to-IPQ806x-dts.patch). Signed-off-by: Mathieu Olivari math...@codeaurora.org --- ...0-hwspinlock-core-add-device-tree-support.patch | 167 +++ ...qcom-Add-support-for-Qualcomm-HW-Mutex-bl.patch | 234

[OpenWrt-Devel] [PATCH 1/5] kernel: move linux, part-probe dt parsing in generic code

2015-08-12 Thread Mathieu Olivari
-by: Mathieu Olivari math...@codeaurora.org --- ...t-add-generic-parsing-of-linux-part-probe.patch | 175 - ...t-add-generic-parsing-of-linux-part-probe.patch | 175 + .../400-mtd-add-rootfs-split-support.patch | 16 +- ...port-for-different-partition

[OpenWrt-Devel] [PATCH 5/5] ipq806x: switch AP148 to using SMEM based MTD parser

2015-08-12 Thread Mathieu Olivari
-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 4 +++ target/linux/ipq806x/config-4.1| 8 ++--- .../patches-3.18/021-add-ap148-partitions.patch| 34 ++ ...1-ARM-qcom-add-USB-nodes-to-ipq806x-ap148.patch | 2

[OpenWrt-Devel] [PATCH] ipq806x: disable DMA on the SPI flash

2015-08-10 Thread Mathieu Olivari
...@openwrt.org Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../157-ARM-DT-ipq8064-Add-ADM-device-node.patch| 13 - ...com-dts-Enable-NAND-node-on-IPQ8064-AP148-platform.patch | 2 +- .../707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch| 2 +- ...8-ARM

Re: [OpenWrt-Devel] [PATCH 0/3] ipq806x: add NAND flash support

2015-08-07 Thread Mathieu Olivari
partitioning, or regular fixed partitioning. Not sure if something like this has ever been done in the past; but we could explore it. Thanks, Mathieu -Original Message- From: Felix Fietkau [mailto:n...@openwrt.org] Sent: Friday, August 07, 2015 2:11 AM To: Mathieu Olivari; j

[OpenWrt-Devel] [PATCH 3/3] ipq806x: enable NAND flash support in the kernel

2015-08-06 Thread Mathieu Olivari
:size erasesize name mtd0: 1000 0002 qcom-nandc ... Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/Makefile| 2 +- target/linux/ipq806x/config-3.18 | 21 - target/linux/ipq806x/config-4.1 | 19 ++- 3 files changed

[OpenWrt-Devel] [PATCH 0/3] ipq806x: add NAND flash support

2015-08-06 Thread Mathieu Olivari
from it. Mathieu Olivari (3): ipq806x: Add ADM support ipq806x: add NAND flash controller support ipq806x: enable NAND flash support in the kernel target/linux/ipq806x/Makefile |2 +- target/linux/ipq806x/config-3.18 | 20 + target/linux/ipq806x

[OpenWrt-Devel] [PATCH 2/3] ipq806x: add NAND flash controller support

2015-08-06 Thread Mathieu Olivari
These patches add support for ipq806x NAND flash controller. Most of these are cherry-picked backported from LKML: *https://lkml.org/lkml/2015/8/3/16 This patch just modifies the kernel code, but doesn't change the config. It should be harmless. Signed-off-by: Mathieu Olivari math

[OpenWrt-Devel] [PATCH 1/3] ipq806x: Add ADM support

2015-08-06 Thread Mathieu Olivari
to bring-up NAND flash support. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 1 + target/linux/ipq806x/config-4.1| 1 + ...1-ARM-qcom-add-USB-nodes-to-ipq806x-ap148.patch | 2 +- .../150-dmaengine-Rework

[OpenWrt-Devel] [PATCH 0/2] Fix quilt error when $STAGING_DIR doesn't exist yet

2015-08-05 Thread Mathieu Olivari
This patch has been posted a few weeks ago. Just posting again as a gentle reminder. Concerns were raised regarding whether the SDK worked after the modification, which has been confirmed. Mathieu Olivari (2): rules.mk: export STAGING_DIR_HOST to sub-makefiles and shells tools/quilt: fix

[OpenWrt-Devel] [PATCH 2/2] tools/quilt: fix build error during kernel_menuconfig on a cleaned env

2015-08-05 Thread Mathieu Olivari
. The quilt executable doesn't find its different commands, errors out, and creates this message. We're fixing it by using $STAGING_DIR_HOST rather than $STAGING_DIR, which is absolute. It will work even if there is no target directory yet. Signed-off-by: Mathieu Olivari math...@codeaurora.org

[OpenWrt-Devel] [PATCH 1/2] rules.mk: export STAGING_DIR_HOST to sub-makefiles and shells

2015-08-05 Thread Mathieu Olivari
Certains host packages (like quilt) need to know the previously used install location at run-time. They currently use $STAGING_DIR, which causes issues on cleaned environment, where $STAGING_DIR doesn't exist yet. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- rules.mk | 2 +- 1 file

[OpenWrt-Devel] [PATCH] scripts: add a new patch-rename.sh script

2015-08-05 Thread Mathieu Olivari
-rename.sh -i 5 target/linux/generic/1* Add 5 to all the prefix numbers of all the patch files specified as an argument. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- scripts/patch-rename.sh | 66 + 1 file changed, 66 insertions(+) create

[OpenWrt-Devel] [PATCH 3/4] ipq806x: fix pcie pinmux naming in ipq806x dts

2015-08-04 Thread Mathieu Olivari
PCIe controller nodes are numbers 0/1/2 in the chipset dtsi file, but the pinmux nodes are numbers 1/2/3. We'll make it consistent by changing the pinmux numbering to match the controller's one. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- ...-qcom-add-pcie-nodes-to-ipq806x

[OpenWrt-Devel] [PATCH 4/4] ipq806x: fix freeze in PCIe code when booting with an old u-boot

2015-08-04 Thread Mathieu Olivari
with bootloader branch 0.0.1 Signed-off-by: Mathieu Olivari math...@codeaurora.org --- ...-qcom-add-pcie-nodes-to-ipq806x-platforms.patch | 23 +- .../patches-3.18/114-pcie-add-ctlr-init.patch | 278 + .../patches-3.18/115-add-pcie-aux-clk-dts.patch| 80 ++ ...RM-dts

[OpenWrt-Devel] [PATCH 2/2] ipq806x: add ethernet (stmmac) support

2015-08-04 Thread Mathieu Olivari
We forgot to enable the stmmac driver for 4.1 kernel, so ethernet interfaces don't show-up on this kernel. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-4.1 | 5 + 1 file changed, 5 insertions(+) diff --git a/target/linux/ipq806x/config-4.1 b/target

[OpenWrt-Devel] [PATCH 2/4] ipq806x: add support for non-dt enabled ap148 bootloader

2015-08-04 Thread Mathieu Olivari
to generate their own firmare as well. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/image/Makefile| 10 ++ .../ipq806x/patches-3.18/024-ap148-add-memory-node.patch | 14 ++ .../ipq806x/patches-4.1/024-ap148-add-memory

[OpenWrt-Devel] [PATCH 1/2] ipq806x: refresh kernel configs

2015-08-04 Thread Mathieu Olivari
Remove options which have been moved into the generic config ever since. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 1 - target/linux/ipq806x/config-4.1 | 12 2 files changed, 13 deletions(-) diff --git a/target/linux/ipq806x

Re: [OpenWrt-Devel] [PATCH 3/4] ipq806x: fix pcie pinmux naming in ipq806x dts

2015-08-04 Thread Mathieu Olivari
Olivari; j...@openwrt.org; blo...@openwrt.org Cc: openwrt-devel@lists.openwrt.org Subject: Re: [PATCH 3/4] ipq806x: fix pcie pinmux naming in ipq806x dts On 2015-08-04 23:55, Mathieu Olivari wrote: PCIe controller nodes are numbers 0/1/2 in the chipset dtsi file, but the pinmux nodes are numbers 1/2/3

Re: [OpenWrt-Devel] [PATCH 2/2] tools/quilt: fix build error during kernel_menuconfig on a cleaned env

2015-08-03 Thread Mathieu Olivari
Hi Jow, I just tried it out. I confirm the SDK works after the patch as well. Thanks, Mathieu -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Jo-Philipp Wich Sent: Wednesday, July 22, 2015 12:29 AM To: openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] [PATCH 1/2] rules.mk: export STAGING_DIR_HOST to sub-makefiles and shells

2015-07-21 Thread Mathieu Olivari
Certains host packages (like quilt) need to know the previously used install location at run-time. They currently use $STAGING_DIR, which causes issues on cleaned environment, where $STAGING_DIR doesn't exist yet. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- rules.mk | 2 +- 1 file

[OpenWrt-Devel] [PATCH 2/2] tools/quilt: fix build error during kernel_menuconfig on a cleaned env

2015-07-21 Thread Mathieu Olivari
. The quilt executable doesn't find its different commands, errors out, and creates this message. We're fixing it by using $STAGING_DIR_HOST rather than $STAGING_DIR, which is absolute. It will work even if there is no target directory yet. Signed-off-by: Mathieu Olivari math...@codeaurora.org

[OpenWrt-Devel] [PATCH 1/2] ipq806x: move stmmac support in the kernel binary

2015-05-29 Thread Mathieu Olivari
Ethernet GMAC is built-in the SoC, so there is no need to enable it as a module. We'll just assume we need it. That's what is done for other platform where this driver is used so it'll make things more consistent. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x

[OpenWrt-Devel] [PATCH 2/2] kernel: remove stmmac kernel package

2015-05-29 Thread Mathieu Olivari
We just moved the stmmac support in the kernel for ipq806x. Therefore, nobody needs this driver so we'll just get rid of it. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- package/kernel/linux/modules/netdevices.mk | 21 - 1 file changed, 21 deletions(-) diff

Re: [OpenWrt-Devel] [PATCH 3/6] kernel: add stmmac as a new kernel package

2015-05-29 Thread Mathieu Olivari
Yeah; that's what I was thinking actually. I'll post a patch today. -Original Message- From: Felix Fietkau [mailto:n...@openwrt.org] Sent: Friday, May 29, 2015 1:35 PM To: Mathieu Olivari; blo...@openwrt.org; ka...@openwrt.org Cc: openwrt-devel@lists.openwrt.org Subject: Re: [PATCH 3/6

Re: [OpenWrt-Devel] [PATCH] perf: replace libelf1 select by a depend

2015-05-27 Thread Mathieu Olivari
Daros de Luca luizl...@gmail.com Initial proposal is here: https://patchwork.ozlabs.org/patch/473676/ Thanks, Mathieu -Original Message- From: Felix Fietkau [mailto:n...@openwrt.org] Sent: Wednesday, May 27, 2015 8:33 AM To: Mathieu Olivari; 'Luiz Angelo Daros de Luca'; blo...@openwrt.org

Re: [OpenWrt-Devel] [PATCH] perf: replace libelf1 select by a depend

2015-05-26 Thread Mathieu Olivari
It was not merged; it stayed pending without resolution since then, so I figured I’d find an alternative. Thanks, Mathieu From: Luiz Angelo Daros de Luca [mailto:luizl...@gmail.com] Sent: Tuesday, May 26, 2015 3:08 PM To: Mathieu Olivari; n...@openwrt.org; blo...@openwrt.org Cc: openwrt

[OpenWrt-Devel] [PATCH] perf: replace libelf1 select by a depend

2015-05-26 Thread Mathieu Olivari
doesn't silently fail. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- package/devel/perf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile index b77e29a..e31a693 100644 --- a/package/devel/perf

[OpenWrt-Devel] [PATCH 0/6] ipq806x: replace qca-nss-gmac by stmmac

2015-05-26 Thread Mathieu Olivari
This patch serie replaces the previously used qca-nss-gmac driver by its upstream counterpart cherry-picked from the following LKML thread: *https://lkml.org/lkml/2015/5/26/744 Mathieu Olivari (6): ipq806x: move arm-gic include into pcie patch kernel: add missing STMMAC options in generic

[OpenWrt-Devel] [PATCH 2/6] kernel: add missing STMMAC options in generic configs

2015-05-26 Thread Mathieu Olivari
STMMAC_PLATFORM and STMMAC_PCI have been added recently in the kernel, but show up only when STMMAC driver is enabled. So se'll add it in the generic config, so the kernel build doesn't stall whenever we enable this driver. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux

[OpenWrt-Devel] [PATCH 4/6] ipq806x: enable kernel support for Fixed PHY emulation

2015-05-26 Thread Mathieu Olivari
Most ipq806x platforms use an ethernet switch, and the new upstream GMAC driver makes use of the Fixed PHY emulation to force the link settings despite the lack of PHY. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 1 + target/linux/ipq806x/config

[OpenWrt-Devel] [PATCH 1/6] ipq806x: move arm-gic include into pcie patch

2015-05-26 Thread Mathieu Olivari
This include is necessary starting at the PCIe patch, which has a lower number. So in order to keep the patches consistent, we'll move the arm-gic include in the first patch who needs it. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x

[OpenWrt-Devel] [PATCH 3/6] kernel: add stmmac as a new kernel package

2015-05-26 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- package/kernel/linux/modules/netdevices.mk | 21 + 1 file changed, 21 insertions(+) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 9dd18f3..62fd949 100644

[OpenWrt-Devel] [PATCH 6/6] qca-nss-gmac: delete package

2015-05-26 Thread Mathieu Olivari
nss-gmac has been replaced by its upstream counterpart stmmac, to which we added the SoC glue layer required for it to run on IPQ806x. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- package/kernel/qca-nss-gmac/Makefile | 50 -- ...01-nss-gmac-remove

Re: [OpenWrt-Devel] [PATCH] scripts/feeds: print the source of packages installed

2015-05-26 Thread Mathieu Olivari
On Tue, May 26, 2015 at 08:12:01AM -0700, Karl Palsson wrote: From: Karl Palsson ka...@remake.is Can be helpful in diagnosing unexpected package overlaps between feeds. Signed-off-by: Karl Palsson ka...@remake.is --- scripts/feeds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[OpenWrt-Devel] [PATCH] generic/4.0: fix error during kernel patch application

2015-05-20 Thread Mathieu Olivari
not apply (enforce with -f) This change just adapts the actual patch to fix what is in kernel 4.0 and make it apply cleanly. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- ...-ipv6-Fixed-source-specific-default-route-handling.patch | 13 +++-- 1 file changed, 3 insertions(+), 10

[OpenWrt-Devel] [PATCH 0/5] ipq806x: add frequency scaling support

2015-05-20 Thread Mathieu Olivari
-picked from linux-next and LKML, with a couple of fixes and backports here and there. Mathieu Olivari (5): ipq806x: refresh kernel patches ipq806x: disable i2c device on gsbi4 ipq806x: add power regulators support ipq806x: add enable cpufreq support ipq806x: enable cpu idle support

[OpenWrt-Devel] [PATCH 3/5] ipq806x: add power regulators support

2015-05-20 Thread Mathieu Olivari
Patches are cherry-picked from linux-next. We're also adding the corresponding config option to the kernel. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 6 +- target/linux/ipq806x/config-4.0| 5 +- ...-mfd

[OpenWrt-Devel] [PATCH 1/5] ipq806x: refresh kernel patches

2015-05-20 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../011-watchdog-qcom-use-timer-devicetree-binding.patch | 11 +++ ...ARM-qcom-add-description-of-KPSS-WDT-for-IPQ8064.patch | 5 - target/linux/ipq806x/patches-3.18/022-add-db149-dts.patch | 8 ...02-soc-qcom-gsbi

[OpenWrt-Devel] [PATCH 2/5] ipq806x: disable i2c device on gsbi4

2015-05-20 Thread Mathieu Olivari
clks and i2c on gsbi4 are meant for RPM usage. So turning them off in kernel is incorrect. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- ...M-dts-ipq806x-Disable-i2c-device-on-gsbi4.patch | 53 ++ ...1-ARM-qcom-add-USB-nodes-to-ipq806x-ap148.patch | 2 +- ...-qcom-add

[OpenWrt-Devel] [PATCH 5/5] ipq806x: enable cpu idle support in kernel conf

2015-05-20 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 3 +++ target/linux/ipq806x/config-4.0 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/target/linux/ipq806x/config-3.18 b/target/linux/ipq806x/config-3.18 index 2f5954c..814f142 100644

[OpenWrt-Devel] [PATCH 2/5] argp-standalone: import package from packages.git

2015-05-18 Thread Mathieu Olivari
argp-standalone is required by elfutils, itself required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- package/libs/argp-standalone/Makefile | 48 + .../patches

[OpenWrt-Devel] [PATCH 1/5] uClibc: elf: Add STT_GNU_IFUNC from glibc

2015-05-18 Thread Mathieu Olivari
perf in upstream Linux kernel 3.17 onwards expects STT_GNU_IFUNC replicate it from glibc Patch cherry-picked from: http://lists.busybox.net/pipermail/uclibc/2015-February/048825.html Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../012-elf-Add-STT_GNU_IFUNC-from-glibc.patch

[OpenWrt-Devel] [PATCH 4/5] bzip2: import package from packages.git

2015-05-18 Thread Mathieu Olivari
bzip2 is required by elfutils, itself required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- package/utils/bzip2/Makefile | 87 1 file changed

[OpenWrt-Devel] [PATCH 0/5] perf: fix dependencies restore uClibc compatibility

2015-05-18 Thread Mathieu Olivari
perf has on eglibc. Mathieu Olivari (5): uClibc: elf: Add STT_GNU_IFUNC from glibc argp-standalone: import package from packages.git elfutils: import package from packages.git bzip2: import package from packages.git perf: remove EGLIBC dependency package/devel/perf/Makefile

[OpenWrt-Devel] [PATCH 5/5] perf: remove EGLIBC dependency

2015-05-18 Thread Mathieu Olivari
EGLIBC dependency was required as libelf was not found. But we now fixed the root cause, so we can remove it. perf works with uClibc again. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- package/devel/perf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git

2015-05-18 Thread Mathieu Olivari
...@lists.openwrt.org] On Behalf Of Mathieu Olivari Sent: Monday, May 18, 2015 7:32 PM To: 'Luiz Angelo Daros de Luca'; blo...@openwrt.org Cc: mmccl...@codeaurora.org; openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git Yeah; I actually wondered

Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git

2015-05-18 Thread Mathieu Olivari
Thanks, Mathieu From: Luiz Angelo Daros de Luca [mailto:luizl...@gmail.com] Sent: Monday, May 18, 2015 6:43 PM To: Mathieu Olivari; blo...@openwrt.org Cc: mmccl...@codeaurora.org; openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git

[OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git

2015-05-18 Thread Mathieu Olivari
elfutils is required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- package/libs/elfutils/Makefile | 97 + .../patches/001-elfutils-portability.patch | 1871

[OpenWrt-Devel] [Patch V2] build: don't call prereq for any package/symlinks rules

2015-05-08 Thread Mathieu Olivari
defconfig This change is removing the need for the first defconfig, making the process more logical for OpenWrt users using the package/symlinks target. Signed-off-by: Mathieu Olivari math...@qca.qualcomm.com --- Makefile| 14 -- include/toplevel.mk | 14 ++ 2 files

[OpenWrt-Devel] [PATCH] ipq806x: add pcie support to ipq806x based platforms

2015-05-05 Thread Mathieu Olivari
the ap148 dbs149 DTS files (patch 113). Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 6 + target/linux/ipq806x/config-4.0| 10 +- ...CI-qcom-Document-PCIe-devicetree-bindings.patch | 266 ...-qcom

[OpenWrt-Devel] [Patch V2 1/2] ipq806x: fix boot freeze on zImage kernel

2015-05-04 Thread Mathieu Olivari
. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- Notes: v2: *add the patch for kernel 4.0 .../300-arch-arm-force-ZRELADDR-on-arch-qcom.patch | 72 ++ .../300-arch-arm-force-ZRELADDR-on-arch-qcom.patch | 72 ++ 2 files changed, 144

[OpenWrt-Devel] [Patch V2 2/2] ipq806x: add support for zImage kernel

2015-05-04 Thread Mathieu Olivari
but it is done as a stepping stone for early IPQ806x platforms, which did not include DT support in U-boot. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- Notes: v2: Addressing jogo comments about DTB compat. Current platforms set the console bootargs to an incorrect value

[OpenWrt-Devel] [PATCH] generic: add CRYPTO_DEV_QCE option to default config

2015-04-30 Thread Mathieu Olivari
This option has been added in kernel 3.17. It shows-up only when both ARCH_QCOM and CRYPTO are enabled. So we'll disable these two by default to avoid stalling the build when these conditions are met. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/generic/config-3.18 | 1

[OpenWrt-Devel] [PATCH 1/2] ipq806x: fix boot freeze on zImage kernel

2015-04-30 Thread Mathieu Olivari
. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../300-arch-arm-force-ZRELADDR-on-arch-qcom.patch | 72 ++ 1 file changed, 72 insertions(+) create mode 100644 target/linux/ipq806x/patches-3.18/300-arch-arm-force-ZRELADDR-on-arch-qcom.patch diff --git a/target/linux

[OpenWrt-Devel] [PATCH 2/2] ipq806x: add support for zImage kernel

2015-04-30 Thread Mathieu Olivari
This change enable ATAGS support in ipq806x kernel options, and generate the zImage as part of the kernel binaries. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/Makefile | 2 +- target/linux/ipq806x/config-3.18 | 7

[OpenWrt-Devel] [PATCH 1/2] build: make device-tree arg optional in mkits.sh

2015-04-30 Thread Mathieu Olivari
mkits.sh help currently shows dtb file as optional, but generates an invalid its file when this option is unspecified. We're fixing this problem by removing the use of the sed command and just including variables instead. Signed-off-by: Mathieu Olivari math...@qca.qualcomm.com --- scripts

[OpenWrt-Devel] [PATCH 2/2] include: make dtb argument optional in MkFIT

2015-04-30 Thread Mathieu Olivari
As mkits.sh makes the -d argument optional, we'll make this same argument optional in the MkFIT function as well. With this change, MkFIT can be used both to generate FIT images with DT, and without DT. Signed-off-by: Mathieu Olivari math...@qca.qualcomm.com --- include/image.mk | 2 +- 1 file

Re: [OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules

2015-04-28 Thread Mathieu Olivari
, Mathieu -Original Message- From: 'Toerless Eckert' [mailto:t...@cs.fau.de] Sent: Monday, April 27, 2015 6:46 PM To: Mathieu Olivari Cc: 'Mathieu Olivari'; openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules So if make

[OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules

2015-04-27 Thread Mathieu Olivari
defconfig This change is removing the need for the first defconfig, making the process more logical for OpenWrt users using the package/symlinks target. Signed-off-by: Mathieu Olivari math...@qca.qualcomm.com --- include/toplevel.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include

Re: [OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules

2015-04-27 Thread Mathieu Olivari
: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Toerless Eckert Sent: Monday, April 27, 2015 4:59 PM To: Mathieu Olivari Cc: openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules Mathieu: I can't quite

[OpenWrt-Devel] [PATCH 2/3] ipq806x: add db149 dts files

2015-04-20 Thread Mathieu Olivari
DB149 is an IPQ806x based development platform. This patch adds the dts files to support it. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../ipq806x/patches-3.18/022-add-db149-dts.patch | 293 + .../ipq806x/patches-4.0/022-add-db149-dts.patch| 293

[OpenWrt-Devel] [PATCH 1/3] ipq806x: enable AT803x driver

2015-04-20 Thread Mathieu Olivari
Certain IPQ806x based platforms are making use of this PHY. So we'll enable it so it gets detected as such. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 1 + target/linux/ipq806x/config-4.0 | 1 + 2 files changed, 2 insertions(+) diff --git

[OpenWrt-Devel] [PATCH 3/3] ipq806x: add db149 support to OpenWrt init scripts

2015-04-20 Thread Mathieu Olivari
DB149 is a IPQ8064 based platform. This patch adds the init scripts to detect it, configure the network accordingly, and generate a flashable image for it. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/base-files/etc/uci-defaults/network | 6 ++ target/linux

[OpenWrt-Devel] [PATCH 5/6] ipq806x: add platform usb support

2015-04-02 Thread Mathieu Olivari
and AP148 dts files. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- ...b-phy-Add-Qualcomm-DWC3-HS-SS-PHY-drivers.patch | 511 + ...1-ARM-qcom-add-USB-nodes-to-ipq806x-ap148.patch | 125 + ...qcom-gsbi-Add-support-for-ADM-CRCI-muxing.patch | 258 +++ .../103-ARM

[OpenWrt-Devel] [PATCH 0/6] Add USB support to ipq806x target

2015-04-02 Thread Mathieu Olivari
packages for dwc3, dwc3-qcom and the corresponding PHYs Patches only concern 3.18 for now. 4.0 patches will come later as they get updated posted on LKML. Mathieu Olivari (6): ipq806x: clean-up kernel config file linux: Add missing config options to generic configs ipq806x: enable usb support

[OpenWrt-Devel] [PATCH 1/6] ipq806x: clean-up kernel config file

2015-04-02 Thread Mathieu Olivari
Options that used to be in target config have been added to the generic config file, so remove them. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 1 - target/linux/ipq806x/config-4.0 | 4 2 files changed, 5 deletions(-) diff --git a/target

[OpenWrt-Devel] [PATCH 2/6] linux: Add missing config options to generic configs

2015-04-02 Thread Mathieu Olivari
These missing options have been noticed while enabling the following configuration options on ipq806x, but they're available in the standard kernel: *ARCH_QCOM *CONFIG_USB_SUPPORT *CONFIG_USB_DWC3 *CONFIG_MFD_SYSCON Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/generic

[OpenWrt-Devel] [PATCH 4/6] kernel: add package for dwc3 usb driver used on ipq806x

2015-04-02 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- package/kernel/linux/modules/usb.mk | 53 + 1 file changed, 53 insertions(+) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 4950ab8..09251fa 100644

[OpenWrt-Devel] [PATCH 6/6] ipq806x: enable usb3 packages in default profile

2015-04-02 Thread Mathieu Olivari
Default profile already enables usb2 so we'll do the same for usb3 now that we have support for it. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/profiles/default.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ipq806x

[OpenWrt-Devel] [PATCH 3/6] ipq806x: enable usb support

2015-04-02 Thread Mathieu Olivari
This change doesn't make USB functional but it does make it selectable from a configuration perspective. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 1 + target/linux/ipq806x/config-4.0 | 1 + 2 files changed, 2 insertions(+) diff --git a/target

[OpenWrt-Devel] [PATCH 2/5] ipq806x: add support for 4.0 kernel

2015-03-30 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-4.0| 389 +++ .../001-spi-qup-Add-DMA-capabilities.patch | 522 + ...-v3-spi-qup-Fix-incorrect-block-transfers.patch | 376 +++ .../003-spi

[OpenWrt-Devel] [PATCH 1/5] ipq806x: move 020-add-ap148-bootargs.patch in patches-3.18

2015-03-30 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../patches-3.18/020-add-ap148-bootargs.patch | 46 ++ .../ipq806x/patches/020-add-ap148-bootargs.patch | 46 -- 2 files changed, 46 insertions(+), 46 deletions(-) create mode 100644 target

[OpenWrt-Devel] [PATCH 4/5] config: add an option to enable KPROBE

2015-03-30 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- config/Config-kernel.in | 17 + include/kernel-defaults.mk | 1 - target/linux/generic/config-3.10 | 4 target/linux/generic/config-3.14 | 4 target/linux/generic/config-3.18 | 4 target

[OpenWrt-Devel] [PATCH 5/5] kernel: upgrade 4.0 to rc6

2015-03-30 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- include/kernel-version.mk | 4 +-- .../patches-4.0/668-fix-ipv6-throw-routes.patch| 31 -- 2 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 target/linux/generic

[OpenWrt-Devel] [PATCH 3/5] ipq806x: clean up kernel conf

2015-03-30 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 5 - 1 file changed, 5 deletions(-) diff --git a/target/linux/ipq806x/config-3.18 b/target/linux/ipq806x/config-3.18 index 97687ac..b2f5571 100644 --- a/target/linux/ipq806x/config-3.18 +++ b/target

[OpenWrt-Devel] [PATCH 3/3] ipq806x: fix AP148 boot from NOR

2015-03-13 Thread Mathieu Olivari
will then be parsed and split between rootfs + rootfs_data, as usual. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 3 ++ .../patches-3.18/021-add-ap148-partitions.patch| 35 ++ 2 files changed, 38 insertions

[OpenWrt-Devel] [PATCH 2/3] ipq806x: add ap148 bootargs to DT

2015-03-13 Thread Mathieu Olivari
Only one bootargs is really needed: the tty port. All the other information will use the OpenWrt mechanisms. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../ipq806x/patches/020-add-ap148-bootargs.patch | 46 ++ 1 file changed, 46 insertions(+) create mode

[OpenWrt-Devel] [PATCH] ipq806x: rename patches in patches-3.18

2015-03-05 Thread Mathieu Olivari
This will allow ipq806x to support multiple kernel version more easily. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../001-spi-qup-Add-DMA-capabilities.patch | 522 + ...-v3-spi-qup-Fix-incorrect-block-transfers.patch | 376 +++ .../003-spi

[OpenWrt-Devel] [PATCH 2/4] ipq806x: enable GMAC support in DTS

2015-02-23 Thread Mathieu Olivari
This adds the GMAC entries in the ipq806x dtsi file as well as in the ap148 specific dts file. This also adds the MDIO change as well. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../ipq806x/patches/700-add-gmac-dts-suport.patch | 172 + 1 file changed, 172

[OpenWrt-Devel] [PATCH 4/4] ipq806x: initialize the network on AP148

2015-02-23 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../ipq806x/base-files/etc/uci-defaults/network| 32 ++ 1 file changed, 32 insertions(+) create mode 100755 target/linux/ipq806x/base-files/etc/uci-defaults/network diff --git a/target/linux/ipq806x/base-files/etc

[OpenWrt-Devel] [PATCH 1/4] ipq806x: enable ar8xxx switch family support

2015-02-23 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ipq806x/config-3.18 b/target/linux/ipq806x/config-3.18 index 7cda416..51f2de7 100644 --- a/target/linux/ipq806x/config-3.18 +++ b/target

[OpenWrt-Devel] [PATCH 3/4] kernel: add qca-nss-gmac as a new module

2015-02-23 Thread Mathieu Olivari
This driver is used on IPQ806x to instanciate drive the ethernet interfaces. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- package/kernel/qca-nss-gmac/Makefile | 50 1 file changed, 50 insertions(+) create mode 100644 package/kernel/qca-nss-gmac

[OpenWrt-Devel] [PATCH 0/4] ipq806x: Add ethernet support

2015-02-23 Thread Mathieu Olivari
These 4 changes add ethernet support to IPQ806x. It's using the driver available on codeaurora.org and updates the corresponding DT information. Same driver has also been posted to LKML: https://lkml.org/lkml/2015/1/8/534 Its needs rework for kernel.org upstream acceptance. Mathieu Olivari (4

[OpenWrt-Devel] [PATCH] ipq806x: fix spi read issues observed with SMP enabled

2015-02-23 Thread Mathieu Olivari
in the patch file. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../003-spi-qup-Ensure-done-detection.patch| 56 ++ 1 file changed, 56 insertions(+) create mode 100644 target/linux/ipq806x/patches/003-spi-qup-Ensure-done-detection.patch diff --git a/target

[OpenWrt-Devel] [PATCH V2 2/2] ipq806x: fix reboot command

2015-02-20 Thread Mathieu Olivari
-by: Mathieu Olivari math...@codeaurora.org --- ...atchdog-qcom-use-timer-devicetree-binding.patch | 72 ++ ...m-add-description-of-KPSS-WDT-for-IPQ8064.patch | 53 ...-watchdog-entries-to-DT-timer-binding-doc.patch | 50 +++ 3 files changed, 175 insertions

[OpenWrt-Devel] [PATCH V2 1/2] ipq806x: enable watchdog kernel option

2015-02-20 Thread Mathieu Olivari
Some bootloaders seem to trigger the watchdog during the boot process, therefore the lack of watchdog driver trigger a reboot a few seconds after boot. So we'll enable it here to avoid it. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.18 | 3 ++- 1 file

[OpenWrt-Devel] [PATCH] ipq806x: delete config-3.14 file

2015-02-18 Thread Mathieu Olivari
ipq806x target has been upgraded to 3.14. There is no need to maintain this file anymore. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- target/linux/ipq806x/config-3.14 | 360 --- 1 file changed, 360 deletions(-) delete mode 100644 target/linux

[OpenWrt-Devel] [PATCH 3/3] ipq806x: add ap148 bootargs to DT

2015-02-18 Thread Mathieu Olivari
This will simplify the boot process by avoiding the bootloader bootargs configuration process. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- .../ipq806x/patches/004-add-ap148-bootargs.patch | 86 ++ 1 file changed, 86 insertions(+) create mode 100644 target

  1   2   >