[OpenWrt-Devel] [PATCH] tools/squashfs: add argument -fixed-time to set all timestamps

2015-12-05 Thread Alexander Couzens
-fixed-time set mkfs-timestamp and file-mtime to this timestamp. Reproducible builds requires the removal of all timestamp or setting all to a specific one. Signed-off-by: Alexander Couzens --- .../patches/120-add-fixed-timestamp-support.patch | 130 + .../patches/200-add-fixed-ti

Re: [OpenWrt-Devel] [PATCH v6 6/6] ar71xx: add support for Cisco's MR18

2015-12-05 Thread Alexander Couzens
Hi Christian, please use the new image/Makefile style. Like the most tplink or ubiquity devices use it. If you need any help, just ask. Best, lynxis On Sat, 5 Dec 2015 23:48:08 +0100 Christian Lamparter wrote: > +MIPS_MACHINE(ATH79_MACH_MR18, "MR18", "Meraki MR18", mr18_setup); > diff --git

[OpenWrt-Devel] [PATCH v3] ar71xx: Add support for Wallys DR344

2015-12-05 Thread Philippe DUCHEIN
This patch is for Wallys DR344 support under OpenWRT. It’s release 3 Changelog: -updated to support r47670 trunk release -corrected led support Signed-off-by: Philippe DUCHEIN mailto:wireless-...@duchein.net>> — diff -Nru a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-

[OpenWrt-Devel] [PATCH v6 6/6] ar71xx: add support for Cisco's MR18

2015-12-05 Thread Christian Lamparter
From: Chris R Blake This patch adds support for Cisco's MR18. Detailed instructions for the flashing the device can be found in the OpenWrt forum thread: Signed-off-by: Chris R Blake --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 4

[OpenWrt-Devel] [PATCH v6 5/6] ar71xx: scan nand ubi partition for ath9k eeprom files

2015-12-05 Thread Christian Lamparter
From: Chris R Blake The MR18 stores the ath9k eeprom values on the NAND. This patch makes it possible to retrieve the images from there. Signed-off-by: Chris R Blake --- package/base-files/files/lib/functions/system.sh| 17 + .../base-files/etc/hotplug.d/firmware/10-ath

[OpenWrt-Devel] [PATCH v6 4/6] ar71xx: add LED driver NU801

2015-12-05 Thread Christian Lamparter
From: Chris R Blake The MR18 uses a 3-channel 16-bit PWM Constant Current Driver for its status LED. Signed-off-by: Chris R Blake --- .../linux/ar71xx/files/drivers/leds/leds-nu801.c | 396 + .../linux/ar71xx/files/include/linux/leds-nu801.h | 38 ++ target/linux/ar71xx

[OpenWrt-Devel] [PATCH v6 3/6] firmware-utils mkmerakifw: firmware generator for MR18

2015-12-05 Thread Christian Lamparter
From: Thomas Hebb This patch adds firmware generation tool for Cisco's MR18 Signed-off-by: Thomas Hebb --- tools/firmware-utils/Makefile | 1 + tools/firmware-utils/src/mkmerakifw.c | 263 ++ 2 files changed, 264 insertions(+) create mode 100644 tools

[OpenWrt-Devel] [PATCH v6 2/6] ar71xx: add rx/tx delay definitons for qca955x's MAC

2015-12-05 Thread Christian Lamparter
From: Chris R Blake This patch adds the rx/tx register offsets for the qca955x SoC. Signed-off-by: Chris R Blake --- .../742-MIPS-ath79-add-qca955x-mac-tx-rx-delay-defs.patch | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 target/linux/ar71xx/patches-4.1/742-MIPS-at

[OpenWrt-Devel] [PATCH v6 1/6] base-files: use max_brightness to set LED

2015-12-05 Thread Christian Lamparter
From: Chris R Blake LEDs which are controlled by a PWM need to use the supplied max_brightness instead. Otherwise they might appear to be very dim / broken. Signed-off-by: Chris R Blake --- package/base-files/files/etc/init.d/led | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[OpenWrt-Devel] [PATCH v6 0/6] add Cisco MR18 support

2015-12-05 Thread Christian Lamparter
This series adds support for Cisco Meraki's MR18 router [0]. It features: CPU: Atheros/Qualcomm QCA9557-AT4A at 720MHz RAM: 128 MiB DDR2 NAND Flash: Hynix NAND 128MiB 3,3V 8-bit Wireless: SoC AR9550 + 2x Atheros AR9582-AR1A (one 5Ghz, other 2.4Ghz/5Ghz) Ethernet: 1x Gigabit AR8035-A, 802.3af PoE ca

[OpenWrt-Devel] [PATCH] [package] OpenSSL: Added source/old to PKG_SOURCE_URL

2015-12-05 Thread Kevin Kirsch
From: Kevin Kirsch OpenSSL moves old versions of the library from http://www.openssl.org/source/ to http://www.openssl.org/source/old/1.0.2/ breaking the old links. That behavior breaks the OpenWRT-build every time OpenSSL releases a new version. This patch adds http://www.openssl.org/source/old

[OpenWrt-Devel] [PATCH] x86/x86_64:Support for kernel v4.1

2015-12-05 Thread Hans Ulli Kroll
Support kernel v4.1 Added needed platfporm patches and config Tested on for x86 with PC Engines ALIX6F2 for x86_64 with PC Engines APU 4G Signed-off-by: Hans Ulli Kroll --- target/linux/x86/Makefile | 2 +- target/linux/x86/config-4.1| 451

Re: [OpenWrt-Devel] [PATCH] [ipq806x] Add initial support for TP-Link Archer C2600

2015-12-05 Thread Jonas Gorski
Hi, On Sat, Dec 5, 2015 at 5:13 AM, Josh Bendavid wrote: > From: Josh Bendavid > > Add initial support for Archer C2600 to Makefiles and profiles. This is > sufficient to build a working factory image. Sysupgrade image is not > implemented yet. Currently wired network is working, but > LED's/

Re: [OpenWrt-Devel] [PATCH] lantiq: don't unnecessarily disable gcc's format-security

2015-12-05 Thread Andre Heider
Hi, On Sat, Dec 5, 2015 at 10:38 AM, Felix Fietkau wrote: > /Users/nbd/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.11/linux-lantiq_xrx200/ltq-dsl-ar9/drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c: > In function 'DSL_DRV_debug_printf': > /Users/nbd/openwrt/build_dir/target-mips_3

[OpenWrt-Devel] [PATCH 3/3] [CC] ramips: Disable all ethernet ports except port 4 on HT-TM02.

2015-12-05 Thread Vittorio G (VittGam)
Port 4 is the only ethernet port on this router, so disable all other PHYs in order to save power. Signed-off-by: Vittorio Gambaletta --- --- a/target/linux/ramips/dts/HT-TM02.dts +++ b/target/linux/ramips/dts/HT-TM02.dts @@ -57,6 +57,7 @@ esw@1011 { ralink,portmap

[OpenWrt-Devel] [PATCH] ramips: Fix failsafe for HT-TM02.

2015-12-05 Thread Vittorio G (VittGam)
The failsafe VLAN workaround is not needed on HT-TM02 (RT5350); it actually breaks failsafe since this router has only one port and it is 4 and not 0. Anyway, it seems that the workaround is still needed for other routers (see https://patchwork.ozlabs.org/patch/424017/ for a previous attempt at r

[OpenWrt-Devel] [PATCH 3/3] ramips: Disable all ethernet ports except port 4 on HT-TM02.

2015-12-05 Thread Vittorio G (VittGam)
Port 4 is the only ethernet port on this router, so disable all other PHYs in order to save power. Signed-off-by: Vittorio Gambaletta --- --- a/target/linux/ramips/dts/HT-TM02.dts +++ b/target/linux/ramips/dts/HT-TM02.dts @@ -63,6 +63,7 @@ esw@1011 { ralink,portmap

[OpenWrt-Devel] [PATCH 2/3] ramips: Get ethernet ports to be disabled from the device tree.

2015-12-05 Thread Vittorio G (VittGam)
Line 461 is actually enabling all switch ports, so line 508 is always getting zero ports to be disabled (except for port 5 in SoCs where this is not implemented, as it will be sticky disabled in register POC0). Also, the bootloader on some routers sets all ports to disabled (which is also the def

[OpenWrt-Devel] [PATCH 1/3] ramips: Fix whitespace in the switch driver.

2015-12-05 Thread Vittorio G (VittGam)
Also avoid using two variables where one can be used. Signed-off-by: Vittorio Gambaletta --- Please apply to both trunk and CC. --- a/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c +++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c @@ -1373,7 +1373,7 @

Re: [OpenWrt-Devel] [PATCH] lantiq: don't unnecessarily disable gcc's format-security

2015-12-05 Thread Felix Fietkau
On 2015-11-30 20:02, Andre Heider wrote: > ltq-adsl-mei as well as ltq-adsl build just fine with these compiler > flags, there's no need to disable it. > > Signed-off-by: Andre Heider I don't know about ltq-adsl-mei, but ltq-adsl does not build with this patch: Applications/Xcode.app/Contents/De