Re: [LEDE-DEV] [PATCH 2/2] target/generic: update settings of mx25u3235f

2017-02-02 Thread André Valentin
Hi John, thanks for clarifying this. I'm a bit confused. How should I continue with this now? Kind regards, André smime.p7s Description: S/MIME Cryptographic Signature ___ Lede-dev mailing list Lede-dev@lists.infradead.org

Re: [LEDE-DEV] [PATCH 1/2] ipq806x/nbg6817: fixup internal mmc and switch configuration in DTS

2017-02-02 Thread André Valentin
Hi Mathias! I removed this line. Please take a look at v2. Kind regards, André Am 02.02.2017 um 09:34 schrieb Mathias Kresin: > 01.02.2017 22:08, André Valentin: >> The setting mmc-ddr-1_8v in the platform dts leads to read errors. The >> device is unusable and system re

[LEDE-DEV] [PATCH 1/2 v2] ipq806x/nbg6817: fixup internal mmc and switch configuration in DTS

2017-02-02 Thread André Valentin
of constants in the switch settings. Switch now initializes again. Signed-off-by: André Valentin <avalen...@marcant.net> --- target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts | 4 +--- target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi| 2 +- 2

[LEDE-DEV] [PATCH 1/2] ipq806x/nbg6817: fixup internal mmc and switch configuration in DTS

2017-02-01 Thread André Valentin
was a wrong conversion of constants in the switch settings. Switch now initializes again. Signed-off-by: André Valentin <avalen...@marcant.net> --- target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts | 4 +--- target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi

Re: [LEDE-DEV] [PATCH v4 2/5] linux/mtd: add id for mx25u3235f needed by ZyXEL NBG6817

2016-10-25 Thread André Valentin
Hi, Am 25.10.2016 um 08:58 schrieb Arjen de Korte:> Citeren André Valentin <avalen...@marcant.net>: > >> Signed-off-by: André Valentin <avalen...@marcant.net> >> --- >> .../patches-4.4/477-mtd-add-spi-nor-add-mx25u3235f.patch | 10 >> ++

[LEDE-DEV] [PATCH v4 3/5] ipq806x/nbg6817: add sysupgrade support

2016-10-25 Thread André Valentin
Add new way of flashing to mmc devices based on rootfs split with loop devices. Signed-off-by: André Valentin <avalen...@marcant.net> --- .../ipq806x/base-files/lib/upgrade/platform.sh | 12 +++ .../linux/ipq806x/base-files/lib/upgrade/zyxel.sh | 87 ++ 2 files c

[LEDE-DEV] [PATCH v4 0/5] ipq806x: add support for ZyXEL NBG6817

2016-10-25 Thread André Valentin
-remove offset calculation from sysupgrade script -remove old code older Changes: -update GPIO definitions Comments are appreciated. André Valentin (5): ipq806x/nbg6817: add support for ZyXEL NBG6817 linux/mtd: add id for mx25u3235f needed by ZyXEL NBG6817 ipq806x/nbg6817: add sysupgrade

[LEDE-DEV] [PATCH v4 4/5] package/basefiles: add mkfs.ext4 and losetup binaries to ramfs list

2016-10-25 Thread André Valentin
mkfs.ext4 und losetup are needed for sysupgrade support on mmc devices with automatic rootfs split (loopback device usage). Signed-off-by: André Valentin <avalen...@marcant.net> --- package/base-files/files/lib/upgrade/common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packag

Re: [LEDE-DEV] [PATCH v3 3/5] ipq806x/nbg6817: add sysupgrade support

2016-10-24 Thread André Valentin
Hi! Am 23.10.2016 um 16:44 schrieb Felix Fietkau: > On 2016-10-23 16:25, André Valentin wrote: >> Add new way of flashing to mmc devices based on rootfs split with loop >> devices. >> >> Signed-off-by: André Valentin <avalen...@marcant.net> >> ---

Re: [LEDE-DEV] [PATCH v3 1/5] ipq806x/nbg6817: add support for ZyXEL NBG6817

2016-10-24 Thread André Valentin
Hi! Am 23.10.2016 um 16:38 schrieb Felix Fietkau: > On 2016-10-23 16:25, André Valentin wrote: >> CPU: 2x1.8GHz ARM, RAM: 512MiB >> Storage: 4MiB serial Flash, 3.9GiB MMC >> NIC: 2x1GBit/s, Switch with 5 external and 2 internal ports >> WiFi: Dualband,

[LEDE-DEV] [PATCH v3 4/5] package/basefiles: add mkfs.ext4 and losetup binaries to ramfs list

2016-10-23 Thread André Valentin
mkfs.ext4 und losetup are needed for sysupgrade support on mmc devices with automatic rootfs split (loopback device usage). Signed-off-by: André Valentin <avalen...@marcant.net> --- package/base-files/files/lib/upgrade/common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packag

[LEDE-DEV] [PATCH v3 3/5] ipq806x/nbg6817: add sysupgrade support

2016-10-23 Thread André Valentin
Add new way of flashing to mmc devices based on rootfs split with loop devices. Signed-off-by: André Valentin <avalen...@marcant.net> --- .../ipq806x/base-files/lib/upgrade/platform.sh | 12 +++ .../linux/ipq806x/base-files/lib/upgrade/zyxel.sh | 94 ++ 2 files c

[LEDE-DEV] [PATCH v3 1/5] ipq806x/nbg6817: add support for ZyXEL NBG6817

2016-10-23 Thread André Valentin
-kernel.bin > /dev/mmc0blk0p4 cat xx-mmcblk0p5-rootfs-full.bin > /dev/mmc0blk0p5 reboot -f For debugging serial console is easily visible on board, no soldering needed. Signed-off-by: André Valentin <avalen...@marcant.net> --- .../linux/ipq806x/base-files/etc/board.d/01_leds | 5 + .../

[LEDE-DEV] [PATCH v3 2/5] linux/mtd: add id for mx25u3235f needed by ZyXEL NBG6817

2016-10-23 Thread André Valentin
Signed-off-by: André Valentin <avalen...@marcant.net> --- .../patches-4.4/477-mtd-add-spi-nor-add-mx25u3235f.patch | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 target/linux/generic/patches-4.4/477-mtd-add-spi-nor-add-mx25u3235f.patch diff --git a/target

[LEDE-DEV] [PATCH v3 5/5] package/uboot-envtools: Add support for ZyXEL NBG6817

2016-10-23 Thread André Valentin
Signed-off-by: André Valentin <avalen...@marcant.net> --- package/boot/uboot-envtools/files/ipq | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/boot/uboot-envtools/files/ipq b/package/boot/uboot-envtools/files/ipq index 8cf0ddb..369f90f 100755 --- a/package/boot/uboot-en

[LEDE-DEV] [PATCH v3 0/5] ipq806x/nbg6817: add support for ZyXEL NBG6817

2016-10-23 Thread André Valentin
Support for NBG6817 comes with several challenges: -enable mmc support on platform -use fstools rootfs split on block devices ( creates a loop dev with offset ) -extend sysupgrade support to format the loop fs and save config Please comment changes. André Valentin (5): ipq806x/nbg6817: add

[LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-17 Thread André Valentin
CPU: 1.8GHz ARM, RAM: 512MB Storage: 4MiB Serial Flash, 3.9GiB MMC NIC: 2x1GBit/s, 5 external and 2 internal Port Switch WiFi: Dualband, ATH10k 2.4GHz, 5GHz MU-MIMO Changes: -remove kernel compression changes -give spi-nor.c patch a correct name Signed-off-by: André Valentin <ava

[LEDE-DEV] [PATCH] ipq806x: add support for ZyXEL NBG6817

2016-10-17 Thread André Valentin
CPU: 1.8GHz ARM, RAM: 512MB Storage: 4MiB Serial Flash, 3.9GiB MMC NIC: 2x1GBit/s, 5 external and 2 internal Port Switch WiFi: Dualband, ATH10k 2.4GHz, 5GHz MU-MIMO Signed-off-by: André Valentin <avalen...@marcant.net> --- .../linux/ipq806x/base-files/etc/board.d/01_leds | 5 + .../i