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 ask

[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 --- 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 index 0e88af9..bf91c29 10075

[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 --- package/network/config/

[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 --- /dev/null 2015-08-07 21:02:55.557188068 -0600 +++ b/target/linux/ar71xx/patches-4.1/610-MIPS-ath79-UBNT-add-airGatew

Re: [OpenWrt-Devel] [PATCH] Added WIZnet WizFi630A Platform based on Ralink RT5350

2015-08-21 Thread Piotr Dymacz
Hello Tobias, I saw on patchwork that your patch is already marked as accepted, but I have a lot of comments, please see them inline, below. PS. Sorry for being so pedantic, but it took me lot of time to clean ramips target few weeks ago. 2015-08-17 22:47 GMT+02:00 Tobias Welz : > From: Tobias W

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

2015-08-21 Thread Jonas Gorski
On Fri, Aug 21, 2015 at 3:34 AM, Mathieu Olivari wrote: > 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 I have a slightly different approach in my queue that uses scripts/ubinize-i

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

2015-08-21 Thread John Crispin
On 21/08/2015 11:49, Jonas Gorski wrote: > On Fri, Aug 21, 2015 at 3:34 AM, Mathieu Olivari > wrote: >> 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 > > I have a slightly di

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 wrote: > Hi, > > On Thu, Aug 20, 2015 at 11:40 AM, Dirk Neukirchen > 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 broken, it miscompiles some cod

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

[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 --- 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 dd if=$(word 2,$

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

[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 --- 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 b/include/image.mk index fb89ed1.

[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 --- .../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 insertions(+) c

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

2015-08-21 Thread Jonas Gorski
Signed-off-by: Jonas Gorski --- .../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 +- .../166-arch-qcom-dts-enable-qcom-smem-

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

[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 --- target/linux/ipq806x/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile

[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 --- .../linux/ipq806x/base-files/lib/upgrade/platform.sh | 18 ++ target/linux/ipq806x/image/Makefile | 20

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

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

2015-08-21 Thread John Crispin
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 needs to be flashed a second time. how do

[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 --- 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 8ac3593..261cbb2 1006

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 Open

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 t

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

[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 --- target/linux/ar71xx/image/Makefile | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefil

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

[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 --- 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 index 261cbb2..d4ebde

[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 --- include/image.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/image.mk b/include/image.mk index d4ebdef..400dce8 1006

[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 --- ...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 mode 100644 target

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

2015-08-21 Thread Jonas Gorski
Signed-off-by: Jonas Gorski --- 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 8ba95a2..2658d43 1006

[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 --- .../linux/ipq806x/base-files/etc/uci-defaults/leds |

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

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 kmo

Re: [OpenWrt-Devel] [musl] SuperH conflict of arch/sh/__set_thread_area vs thread/__set_thread_area

2015-08-21 Thread Christian Lamparter
(Added Openwrt-dev - since this isn't a musl issue) On Thursday, August 20, 2015 12:21:55 PM Christian Lamparter wrote: > On Wednesday, August 19, 2015 11:04:02 PM Rich Felker wrote: > > On Thu, Aug 20, 2015 at 02:44:11AM +0200, Christian Lamparter wrote: > > > I'm trying to add a port for a SH4-l

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 de

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 de

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 d