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

2015-04-27 Thread Mathieu Olivari
age/symlinks cp real.config .config make 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 --- include/toplevel.mk | 2 ++ 1 file changed, 2 insertions(+) di

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

2015-04-27 Thread Mathieu Olivari
From: 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 c

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

2015-04-28 Thread Mathieu Olivari
a Thanks, 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

[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 --- target/linux/generic/config-3.18 | 1 + target/

[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 --- scripts/mkits.sh

[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 --- include/image.mk | 2 +- 1 file changed, 1 inse

[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 --- target/linux/ipq806x/Makefile | 2 +- target/linux/ipq806x/config-3.18 | 7 ++- target/linux/ipq806x

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

2015-04-30 Thread Mathieu Olivari
ed designs. Signed-off-by: Mathieu Olivari --- .../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/ipq806x/pa

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

2015-05-04 Thread Mathieu Olivari
ed designs. Signed-off-by: Mathieu Olivari --- 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 insertions(+) c

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

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

[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 --- target/linux/ipq806x/config-3.18 | 6 + target/linux/ipq806x/config-4.0| 10 +- ...CI-qcom-Document-PCIe-devicetree-bindings.patch | 266 ...-qcom-Add-Qualcomm-

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

2015-05-08 Thread Mathieu Olivari
age/symlinks cp real.config .config make 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 --- Makefile| 14 -- include/toplevel.mk

[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 --- package/libs/argp-standalone/Makefile | 48 + .../patches/001-thr

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

2015-05-18 Thread Mathieu Olivari
dency 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/Mak

[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 --- package/devel/perf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/devel/perf

[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 --- .../012-elf-Add-STT_GNU_IFUNC-from-glibc.patch | 37

[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 --- package/utils/bzip2/Makefile | 87 1 file changed, 87 inser

[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 --- package/libs/elfutils/Makefile | 97 + .../patches/001-elfutils-portability.patch |

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

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 actuall

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

2015-05-20 Thread Mathieu Olivari
s 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 --- ...-ipv6-Fixed-source-specific-default-route-handling.patch | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff

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

[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 --- ...M-dts-ipq806x-Disable-i2c-device-on-gsbi4.patch | 53 ++ ...1-ARM-qcom-add-USB-nodes-to-ipq806x-ap148.patch | 2 +- ...-qcom-add-pcie-nodes-to-ipq806x

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

2015-05-20 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari --- 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 --- a/target/linux/ipq806x

[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 --- target/linux/ipq806x/config-3.18 | 6 +- target/linux/ipq806x/config-4.0| 5 +- ...-mfd-qcom-rpm-Drive

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

2015-05-20 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari --- .../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-Add-support-for-ADM

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

2015-05-26 Thread Mathieu Olivari
check doesn't silently fail. Signed-off-by: Mathieu Olivari --- 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/Makefile +++ b/pac

[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 --- target/linux/generic/confi

[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 --- target/linux/ipq806x/config-3.18 | 1 + target/linux/ipq806x/config-4.0 | 1 + 2 files

[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 --- .../112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch

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

2015-05-26 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari --- 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 --- a/package/kernel

[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 --- package/kernel/qca-nss-gmac/Makefile | 50 -- ...01-nss-gmac-remov

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 > > Can be helpful in diagnosing unexpected package overlaps between feeds. > > Signed-off-by: Karl Palsson > --- > scripts/feeds | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts

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

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

2015-05-27 Thread Mathieu Olivari
al 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 Cc: openwrt-devel@lists.openwrt.

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:

[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 --- target/linux/ipq806x/M

[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 --- package/kernel/linux/modules/netdevices.mk | 21 - 1 file changed, 21 deletions(-) diff --git a/package/k

[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 --- rules.mk | 2 +- 1 file changed, 1 inse

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

2015-07-21 Thread Mathieu Olivari
;make clean"), $STAGING_DIR doesn't exist. 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

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 Sub

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

2015-08-04 Thread Mathieu Olivari
his zImage code to generate their own firmare as well. Signed-off-by: Mathieu Olivari --- 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-nod

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

2015-08-04 Thread Mathieu Olivari
nd 4.1 on an AP148 with bootloader branch 0.0.1 Signed-off-by: Mathieu Olivari --- ...-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-

[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 --- ...-qcom-add-pcie-nodes-to-ipq806x-platforms.

[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 --- 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/config-3.18 b/target/linux

[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 --- target/linux/ipq806x/config-4.1 | 5 + 1 file changed, 5 insertions(+) diff --git a/target/linux/ipq806x/config-4.1 b/target/linux/ipq806x/c

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 numbe

[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 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 --- rules.mk | 2 +- 1 file changed, 1 inse

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

2015-08-05 Thread Mathieu Olivari
;make clean"), $STAGING_DIR doesn't exist. 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

[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 --- scripts/patch-rename.sh | 66 + 1 file changed, 66 insertions(+) create mode 100755 scripts

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

2015-08-06 Thread Mathieu Olivari
boot 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/ipq

[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 --- target/linux/ipq806x/Makefile| 2 +- target/linux/ipq806x/config-3.18 | 21 - target/linux/ipq806x/config-4.1 | 19 ++- 3 files changed, 39 insert

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

2015-08-06 Thread Mathieu Olivari
t is necessary to bring-up NAND flash support. Signed-off-by: Mathieu Olivari --- 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-dma_chan_get.p

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

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

2015-08-07 Thread Mathieu Olivari
ts to select between "dynamic" smem 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: Frida

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

2015-08-10 Thread Mathieu Olivari
nas Gorski Signed-off-by: Mathieu Olivari --- .../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-dts-qcom-add-gmac-nodes-

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

2015-08-12 Thread Mathieu Olivari
lash. The MTD 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

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

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

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

2015-08-12 Thread Mathieu Olivari
ned-off-by: Mathieu Olivari --- ...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-parser-t

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

2015-08-12 Thread Mathieu Olivari
f-by: Mathieu Olivari --- 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 +- ...-qcom

[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 --- ...soc-qcom-Add-device-tree-binding

[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 --- .../037-mtd-add-qcom-smem-parser.patch | 253 + .../patches-4.1/037-mtd-add-qcom-smem-parser.patch | 253

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

2015-08-13 Thread Mathieu Olivari
PM To: Mathieu 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 wrote: > The "linux,part-probe" dts parsing is a

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

2015-08-14 Thread Mathieu Olivari
ned-off-by: Mathieu Olivari --- ...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-parser-t

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

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

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

2015-08-14 Thread Mathieu Olivari
f-by: Mathieu Olivari --- 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 +- ...-qcom

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

2015-08-14 Thread Mathieu Olivari
lash. The MTD layout was detected accurately on both boot methods. v2: *rebased and fix conflicts with previous patches *renamed patch files according to their LKML names *updated the SMEM parser with comments provided on LKML Mathieu Olivari (5): kernel: move linux,part-probe dt parsing in

[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 --- ...37-mtd-add-SMEM-parser-for-QCOM-platforms.patch | 277 + ...37-mtd-add-SMEM-parser-for-QCOM-platforms.patch | 277

[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 --- ...soc-qcom-Add-device-tree-binding

[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 --- 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 --- a/target/linux

[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 --- include/image.mk | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/image.mk b/include/image.mk index 73fc805..f98d871

[OpenWrt-Devel] [PATCH] include: remove file before overwritting it with replace_script

2014-09-11 Thread Mathieu Olivari
of errors where config.sub is missing, or only partially present when running configure because a cp is currently in progress This is commonly seen building with a lot of parallel jobs and on packages that use 'PKG_FIXUP:=autoreconf' Signed-off-by: Matthew McClintock Signed-off-b

[OpenWrt-Devel] [PATCH] build: allow openwrt.git packages to be replaced by feeds

2015-01-16 Thread Mathieu Olivari
application which needs to replace one particular package which exists within openwrt.git by a custom/newer version. Signed-off-by: Mathieu Olivari --- include/scan.awk | 17 + include/scan.mk |2 +- scripts/feeds|9 ++--- 3 files changed, 24 insertions(+), 4 deletions

[OpenWrt-Devel] [PATCH v2] build: allow openwrt.git packages to be replaced by feeds

2015-01-21 Thread Mathieu Olivari
; This mechanism is particularly useful for vendor tree, or in general for application which needs to replace one particular package which exists within openwrt.git by a custom/newer version. Signed-off-by: Mathieu Olivari --- v2: *fix an issue when trying to override packages which include a dependency i

[OpenWrt-Devel] [Patch v3 1/4] build: allow openwrt.git packages to be replaced by feeds

2015-02-02 Thread Mathieu Olivari
; This mechanism is particularly useful for vendor tree, or in general for application which needs to replace one particular package which exists within openwrt.git by a custom/newer version. Signed-off-by: Mathieu Olivari --- Notes: v2: *fix an issue when trying to override packages which incl

[OpenWrt-Devel] [Patch v3 4/4] base-files: taint the build if the override mechanism is used

2015-02-02 Thread Mathieu Olivari
If some packages are overridden (using ./scripts/feeds -f), add a new taint flag in /etc/openwrt_release. We'll use the CONFIG_OVERRIDE_PKGS variable reported through the .config to detect it. Signed-off-by: Mathieu Olivari --- include/version.mk | 1 + 1 file changed, 1 insertion(+)

[OpenWrt-Devel] [Patch v3 2/4] build: propagate override information to .packageinfo

2015-02-02 Thread Mathieu Olivari
Packages overridden with "./scripts/feeds -f" will show up with an "Override: " in .packageinfo. This will be useful to create a corresponding option in .config and use this information during the build process. Signed-off-by: Mathieu Olivari --- include/scan.awk | 4 +

[OpenWrt-Devel] [Patch v3 3/4] build: propagate override information to .config file

2015-02-02 Thread Mathieu Olivari
.config, and will contain a space-separated list of all the overridden packages. Signed-off-by: Mathieu Olivari --- scripts/metadata.pl | 8 scripts/metadata.pm | 11 ++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/scripts/metadata.pl b/scripts/metadata.pl index

Re: [OpenWrt-Devel] Porting package, need permanent storage

2015-02-06 Thread Mathieu Olivari
Don’t create it into /var/lib. Instead, create it somewhere in /etc. If for some reason you don’t want to modify your daemon, then create a link from /var/lib to a persistent location in /etc before you launch your daemon in your init.d script. From: openwrt-devel [mailto:openwrt-devel-boun.

[OpenWrt-Devel] [PATCH 3/4] ipq806x: add JFFS2 mark at the end of the squashfs

2015-02-10 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari --- target/linux/ipq806x/image/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile index 977e674..77d191f 100644 --- a/target/linux/ipq806x/image/Makefile +++ b/target/linux

[OpenWrt-Devel] [PATCH 2/4] ipq806x: fix SPI read errors

2015-02-10 Thread Mathieu Olivari
15859&w=2 *002-v3-spi-qup-Fix-incorrect-block-transfers.patch is pulled from: http://marc.info/?l=linux-spi&m=141211211011539&w=2 Signed-off-by: Mathieu Olivari --- .../patches/001-spi-qup-Add-DMA-capabilities.patch | 522 + ...-v3-spi-qup-Fix-incorrect-block-

[OpenWrt-Devel] [PATCH 4/4] ipq806x: enable NOR flash support in the kernel config

2015-02-10 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari --- target/linux/ipq806x/config-3.18 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ipq806x/config-3.18 b/target/linux/ipq806x/config-3.18 index d45862b..22d8092 100644 --- a/target/linux/ipq806x/config-3.18 +++ b/target/linux/ipq806x/config

[OpenWrt-Devel] [PATCH 2/3] ipq806x: fix restart

2015-02-18 Thread Mathieu Olivari
Add an out of tree patch to fix reset on IPQ806x. Patch is available on codeaurora.org but needs to be cleaned-up and upstreamed properly at some point. Signed-off-by: Mathieu Olivari --- .../003-HACK-qcom-make-restart-work-w-IPQ.patch| 65 ++ 1 file changed, 65

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

2015-02-18 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 --- target/linux/ipq806x/config-3.18 | 3 ++- 1 file changed, 2 inser

[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 --- .../ipq806x/patches/004-add-ap148-bootargs.patch | 86 ++ 1 file changed, 86 insertions(+) create mode 100644 target/linux/ipq806x/patches/004

[OpenWrt-Devel] [PATCH 2/2] kernel: Add a selectable option for ar8xxx

2015-02-18 Thread Mathieu Olivari
AR8xxx driver covers all the QCA switch families. Most architectures usually build it in the kernel, but it may be valuable for some targets to build it as a module for more flexibility. Signed-off-by: Mathieu Olivari --- package/kernel/linux/modules/netdevices.mk | 16 1 file

[OpenWrt-Devel] [PATCH 0/2] kernel: make ar8216 driver selectable as a package

2015-02-18 Thread Mathieu Olivari
. The name ar8xxx is also more inline with the current driver structure and where the implementation seems to be going. Mathieu Olivari (2): kernel: rename ar8216.ko into ar8xxx.ko kernel: Add a selectable option for ar8xxx package/kernel/linux/modules/netdevices.mk | 16

[OpenWrt-Devel] [PATCH 1/2] kernel: rename ar8216.ko into ar8xxx.ko

2015-02-18 Thread Mathieu Olivari
. In order to keep the option name consistent, we're also renaming the kernel option CONFIG_AR8XXX_PHY, which ends-up propagating the change into the patches-* folders and the different kernel configs. Signed-off-by: Mathieu Olivari --- target/linux/ar71xx/config-3.14| 2

[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 --- target/linux/ipq806x/config-3.14 | 360 --- 1 file changed, 360 deletions(-) delete mode 100644 target/linux/ipq806x/config-3.14

Re: [OpenWrt-Devel] [PATCH 2/2] kernel: Add a selectable option for ar8xxx

2015-02-19 Thread Mathieu Olivari
...@openwrt.org] Sent: Wednesday, February 18, 2015 11:58 PM To: Mathieu Olivari; blo...@openwrt.org; hkallwe...@gmail.com Cc: openwrt-devel@lists.openwrt.org Subject: Re: [PATCH 2/2] kernel: Add a selectable option for ar8xxx On 2015-02-19 12:25, Mathieu Olivari wrote: > AR8xxx driver covers

[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 --- target/linux/ipq806x/config-3.18 | 3 ++- 1 file changed, 2 inser

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

2015-02-20 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari --- ...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] ipq806x: fix spi read issues observed with SMP enabled

2015-02-23 Thread Mathieu Olivari
the patch file. Signed-off-by: Mathieu Olivari --- .../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/linux/ipq806x/pat

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

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

2015-02-23 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari --- .../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/uci-defaults/network

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

2015-02-23 Thread Mathieu Olivari
Signed-off-by: Mathieu Olivari --- 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/linux/ipq806x/config

[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 --- package/kernel/qca-nss-gmac/Makefile | 50 1 file changed, 50 insertions(+) create mode 100644 package/kernel/qca-nss-gmac/Makefile diff -

[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 --- .../ipq806x/patches/700-add-gmac-dts-suport.patch | 172 + 1 file changed, 172 insertions(+) create

  1   2   >