Re: [OpenWrt-Devel] Broken GCC 4.9 (and 5.2) on ARM - asking for review/test

2015-08-21 Thread John Szakmeister
On Thu, Aug 20, 2015 at 6:57 AM, Jonas Gorski j...@openwrt.org wrote: Hi, On Thu, Aug 20, 2015 at 11:40 AM, Dirk Neukirchen dirkneukirc...@web.de wrote: GCC 4.9 was marked BROKEN with r46089. Recently GCC 5.2 was added (marked as broken too) commit msg: toolchain: mark gcc 4.9 as

[OpenWrt-Devel] [PATCH 01/10] ipq806x: enable ubiblock support

2015-08-21 Thread Jonas Gorski
To allow squashfs on ubi, enable ubiblock support in the kernel. Signed-off-by: Jonas Gorski j...@openwrt.org --- target/linux/ipq806x/config-3.18 | 2 +- target/linux/ipq806x/config-4.1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ipq806x/config-3.18

[OpenWrt-Devel] [PATCH 02/10] image: add a build step for building and appending an ubinized rootfs

2015-08-21 Thread Jonas Gorski
Signed-off-by: Jonas Gorski j...@openwrt.org --- include/image.mk | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/image.mk b/include/image.mk index 73fc805..fb89ed1 100644 --- a/include/image.mk +++ b/include/image.mk @@ -345,6 +345,16 @@ define Build/append-rootfs

[OpenWrt-Devel] [PATCH 00/10] ipq806x: implement sysupgrade for AP148

2015-08-21 Thread Jonas Gorski
This patchset adds sysupgrade support and and builds images for AP148. This has been tested on AP148. sysupgrade from original QSDK should work in theory, but in practice either ubiformat or something else in QSDK writes the ubi image in a way that makes OpenWrt fail to mount the image. U-Boot

[OpenWrt-Devel] [PATCH 05/10] ipq806x: rename rootfs to ubi on nand

2015-08-21 Thread Jonas Gorski
OpenWrt expects the ubi paritition to be named ubi, not rootfs. Signed-off-by: Jonas Gorski j...@openwrt.org --- .../patches-3.18/302-mtd-qcom-smem-rename-rootfs-ubi.patch | 13 + .../patches-4.1/302-mtd-qcom-smem-rename-rootfs-ubi.patch | 13 + 2 files changed, 26

[OpenWrt-Devel] [PATCH 04/10] ipq806x: enable smem-parser for nand on AP148

2015-08-21 Thread Jonas Gorski
Signed-off-by: Jonas Gorski j...@openwrt.org --- .../166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch| 11 +++ .../707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch | 6 +++--- ...708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch | 2 +-

[OpenWrt-Devel] [PATCH RFC 10/10] ipq806x: wrap ubi in itb

2015-08-21 Thread Jonas Gorski
The stock QSDK expects the ubi to be wrapped in an itb image, so provide one for easy sysupgrade from QSDK. FIXME: currently does not work? Seems to flash fine, but ubi cannot be mounted by OpenWrt and needs to be flashed a second time. Signed-off-by: Jonas Gorski j...@openwrt.org ---

[OpenWrt-Devel] [PATCH RFC 09/10] image: add a build recipe to wrap an ubi image in a itb file

2015-08-21 Thread Jonas Gorski
Signed-off-by: Jonas Gorski j...@openwrt.org --- include/image.mk | 7 + scripts/mkits-ubi.sh | 79 2 files changed, 86 insertions(+) create mode 100755 scripts/mkits-ubi.sh diff --git a/include/image.mk b/include/image.mk index

Re: [OpenWrt-Devel] [PATCH RFC 10/10] ipq806x: wrap ubi in itb

2015-08-21 Thread Jonas Gorski
On 21.08.2015 13:24, John Crispin wrote: On 21/08/2015 13:17, Jonas Gorski wrote: The stock QSDK expects the ubi to be wrapped in an itb image, so provide one for easy sysupgrade from QSDK. FIXME: currently does not work? Seems to flash fine, but ubi cannot be mounted by OpenWrt and

[OpenWrt-Devel] [PATCH 03/10] build: add a build step for generic sysupgrade nand image

2015-08-21 Thread Jonas Gorski
Signed-off-by: Jonas Gorski j...@openwrt.org --- include/image.mk | 8 ++ scripts/sysupgrade-nand.sh | 68 ++ 2 files changed, 76 insertions(+) create mode 100755 scripts/sysupgrade-nand.sh diff --git a/include/image.mk

[OpenWrt-Devel] [PATCH 08/10] ipq806x: build images and add sysupgrade support for AP148

2015-08-21 Thread Jonas Gorski
Add full ubi and sysupgrade images for AP148 and add sysupgrade support for ipq806x to allow updating the current installation. Signed-off-by: Jonas Gorski j...@openwrt.org --- .../linux/ipq806x/base-files/lib/upgrade/platform.sh | 18 ++ target/linux/ipq806x/image/Makefile

[OpenWrt-Devel] [PATCH 06/10] ipq806x: wrap legacy image in uImage

2015-08-21 Thread Jonas Gorski
Wrap the zImage in a uImage header so we can easily boot it from legacy u-boots. Signed-off-by: Jonas Gorski j...@openwrt.org --- target/linux/ipq806x/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ipq806x/image/Makefile

[OpenWrt-Devel] [PATCH 07/10] ipq806x: clear IMAGES for devices

2015-08-21 Thread Jonas Gorski
Ensure that IMAGE-less devices won't keep the IMAGES of any previous devices. Signed-off-by: Jonas Gorski j...@openwrt.org --- target/linux/ipq806x/image/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile index

Re: [OpenWrt-Devel] [PATCH 2/7] modules: move libahci to kmod-ata-core

2015-08-21 Thread wigyori
2015-07-31 21:32 időpontban Zoltan HERPAI ezt írta: Daniel Golle wrote: Newer kernels make use of libahci in ahci-platform, ie. also on non-PCI platforms. As there is no single config symbol deciding whether libahci.ko is being built or not it seems the most sensitive thing to package it in

Re: [OpenWrt-Devel] [PATCH 6/6] bcm53xx: R8000 handle PEX8603 switch

2015-08-21 Thread Hauke Mehrtens
On 08/16/2015 06:19 AM, Ian Kent wrote: On Tue, 2015-06-23 at 07:58 +0800, Ian Kent wrote: On Mon, 2015-06-22 at 18:42 +0200, Hauke Mehrtens wrote: On 03/10/2015 04:30 AM, Ian Kent wrote: The Netgear R8000 has a PEX8603 connected to the BCM53012 and if it isn't configured during the bus

Re: [OpenWrt-Devel] [PATCH 1/1] [kernel] Fix kmod-v4l2 modules have missing symbols due to lack of clk support

2015-08-21 Thread Hauke Mehrtens
On 08/20/2015 01:30 AM, Daniel Dickinson wrote: Your patch resolves the issue of compiling - I have not yet tested the functionality of the resulting v4l module. I suspect the disadvantage of this patch is that it will silently fail to work for the types of devices (DV primarily) that

Re: [OpenWrt-Devel] [PATCH 1/1] [kernel] Fix kmod-v4l2 modules have missing symbols due to lack of clk support

2015-08-21 Thread Hauke Mehrtens
On 08/20/2015 01:30 AM, Daniel Dickinson wrote: Your patch resolves the issue of compiling - I have not yet tested the functionality of the resulting v4l module. I suspect the disadvantage of this patch is that it will silently fail to work for the types of devices (DV primarily) that

Re: [OpenWrt-Devel] [PATCH RFC 10/10] ipq806x: wrap ubi in itb

2015-08-21 Thread John Crispin
On 21/08/2015 13:28, Jonas Gorski wrote: On 21.08.2015 13:24, John Crispin wrote: On 21/08/2015 13:17, Jonas Gorski wrote: The stock QSDK expects the ubi to be wrapped in an itb image, so provide one for easy sysupgrade from QSDK. FIXME: currently does not work? Seems to flash fine, but

Re: [OpenWrt-Devel] [PATCH RFC 10/10] ipq806x: wrap ubi in itb

2015-08-21 Thread Jonas Gorski
On 21.08.2015 13:39, John Crispin wrote: On 21/08/2015 13:28, Jonas Gorski wrote: On 21.08.2015 13:24, John Crispin wrote: On 21/08/2015 13:17, Jonas Gorski wrote: The stock QSDK expects the ubi to be wrapped in an itb image, so provide one for easy sysupgrade from QSDK. FIXME:

[OpenWrt-Devel] [PATCH 1/7] ar71xx: rename NETGEAR_ variables to their netgear names

2015-08-21 Thread Jonas Gorski
Netgear names them BOARD_ID and HW_ID, so we should do the same. Signed-off-by: Jonas Gorski j...@openwrt.org --- target/linux/ar71xx/image/Makefile | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile

[OpenWrt-Devel] [PATCH 2/7] image: move netgear-image to top and rename to -dni

2015-08-21 Thread Jonas Gorski
Use the same naming as netgear-chk. Signed-off-by: Jonas Gorski j...@openwrt.org --- include/image.mk | 9 + target/linux/ar71xx/image/Makefile | 13 ++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/image.mk b/include/image.mk

[OpenWrt-Devel] [PATCH 0/7] ipq806x: add support for Netgear Nighthawk X4 R7500

2015-08-21 Thread Jonas Gorski
This patchset adds support for the Netgear Nighthawk X4 R7500. This patchset depends on patches 1 to 8 from ipq806x: implement sysupgrade for AP148. Most things are working, except for the following: * One of the usb ports is non functional. This is also the case on AP148, so likely driver

[OpenWrt-Devel] [PATCH 3/7] image: allow exactly KERNEL_SIZE sized kernels

2015-08-21 Thread Jonas Gorski
The KERNEL_SIZE should be the maximum size, inclusive, so we need to check for greater equal, not just greater. Signed-off-by: Jonas Gorski j...@openwrt.org --- include/image.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/image.mk b/include/image.mk index

[OpenWrt-Devel] [PATCH 4/7] ipq806x: add support for retrieving macs from mtd

2015-08-21 Thread Jonas Gorski
Add support for mtd-mac-address for stmac. Signed-off-by: Jonas Gorski j...@openwrt.org --- ...orm-add-support-for-retreiving-mac-from-m.patch | 35 ++ ...orm-add-support-for-retreiving-mac-from-m.patch | 35 ++ 2 files changed, 70 insertions(+) create

[OpenWrt-Devel] [PATCH 5/7] base-files: allow setting ide-disk led trigger

2015-08-21 Thread Jonas Gorski
Signed-off-by: Jonas Gorski j...@openwrt.org --- package/base-files/files/lib/functions/uci-defaults.sh | 16 1 file changed, 16 insertions(+) diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh index

[OpenWrt-Devel] [PATCH 6/7] ipq806x: enable ide led trigger

2015-08-21 Thread Jonas Gorski
To use gpio leds as ide leds, we need to enable the trigger to be included in the kernel. Signed-off-by: Jonas Gorski j...@openwrt.org --- target/linux/ipq806x/config-3.18 | 1 + target/linux/ipq806x/config-4.1 | 1 + 2 files changed, 2 insertions(+) diff --git

[OpenWrt-Devel] [PATCH 7/7] ipq806x: add support for Netgear Nighthawk X4 R7500

2015-08-21 Thread Jonas Gorski
Add support for the Netgear Nighthawk X4 R7500 and build appropariate sysupgrade and factory images. Known issues: * 5 GHz wifi not working - there is no quantenna driver * One of the USB ports is not working Signed-off-by: Jonas Gorski j...@openwrt.org ---

Re: [OpenWrt-Devel] [PATCH] ar71xx: Add UBNT airGateway Pro support

2015-08-21 Thread John Crispin
Hi Mathew, patch content is fine however the patch is generated against the wrong basee. please use git to respin the patch and resend it. John On 21/08/2015 03:19, Matthew Reeve wrote: This patch adds kernel and userspace support for the Ubiquiti Networks airGateway Pro.

[OpenWrt-Devel] [PATCH] add hostname validation check for netifd dhcp script

2015-08-21 Thread tymon.huang
Signed-off-by: tymon.huang banglang.hu...@foxmail.com --- package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh

Re: [OpenWrt-Devel] [PATCH v3] Add Minibox v1.0 support

2015-08-21 Thread John Crispin
Hi, Patch looks fine now, however the subject is missing the ar71xx: prefix John On 18/08/2015 21:44, Stijn Segers wrote: This patch adds Gainstrong Minibox v1.0 into trunk. I have addressed the following issues: - all caps prefix - added vendor I have built images and asked for

[OpenWrt-Devel] [netifd][PATCH] proto-shell: add hostname validation check for netifd dhcp script

2015-08-21 Thread tymon.huang
Signed-off-by: tymon.huang banglang.hu...@foxmail.com --- package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh

[OpenWrt-Devel] [netifd][PATCH v3] proto-shell: add hostname validation check for netifd dhcp script

2015-08-21 Thread tymon.huang
This patch can fix the issue that luci web shows '?' sign when WAN port work on DHCP-client mode without setting hostname. After adding the hostname check, the udhcpc can work with '-H' parameter correctly and send hostname to dhcp server. Signed-off-by: tymon.huang banglang.hu...@foxmail.com

[OpenWrt-Devel] [PATCH v2] ar71xx: Add UBNT airGateway Pro support

2015-08-21 Thread Matthew Reeve
This patch adds kernel and userspace support for the Ubiquiti Networks airGateway Pro. v2: Modify file bases so that git apply will apply it. Signed-off-by: Matthew Reeve mreeve at tenxnetworks.com --- /dev/null 2015-08-07 21:02:55.557188068 -0600 +++