Re: [OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread Andrew Yong
Yeah I think that wants a RW filesystem, haha. My apologies in advance to all other ramips devices, then, I’ll add an init.d script for ./target/linux/ramips/base-files/etc/init.d/S99bootcount to do this. On Tue, Apr 26, 2016 at 2:35 PM, John Crispin wrote: > ok, this might not work, just move i

Re: [OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread John Crispin
ok, this might not work, just move it to the init.d folder On 26/04/2016 08:31, Andrew Yong wrote: > Alright. > > Is it acceptable to call `. /lib/functions/uci-defaults.sh` in a preinit file? > > If it does not violate the sanctity of any OpenWrt init conventions, > I’ll do that and test drive

Re: [OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread Andrew Yong
Alright. Is it acceptable to call `. /lib/functions/uci-defaults.sh` in a preinit file? If it does not violate the sanctity of any OpenWrt init conventions, I’ll do that and test drive it. On Tue, Apr 26, 2016 at 2:06 PM, John Crispin wrote: > > > On 26/04/2016 03:24, Andrew Yong wrote: >> "alt

[OpenWrt-Devel] [PATCH v2][CC] Revert "ar71xx: change some TP-link modelnames (WR841, WA701, WA730)"

2016-04-25 Thread Tim Niemeyer
This reverts commit 0fd48fd7dab066db8a46e51775579c9ef507ca25. We are facing some problem on rolling out the current 15.05-branch to our devices because the image name changed. The changed image name breaks compatibility for derived projects and that's something which should only happen if there i

Re: [OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread John Crispin
On 26/04/2016 03:24, Andrew Yong wrote: > "alternatively call uboot-env directly without the fw_* abstraction layer" > > Pardon the obtuse question but how would I go about doing this? It > sounds like the cleanest way to do things. > > I'd like to avoid calling uci-default earlier than it need

[OpenWrt-Devel] Flashing Openwrt to Mikrotik Board RB433AH

2016-04-25 Thread Matogoro Jabera
Dear Colleagues, I have a new board with Mikrotik OS loaded in it and I want to load OpenWRT for my Wireless Project. In fact, I want to use it for my TV White Space Project in Tanzania due to its cost-benefit as compared to available TVWS Radio Devices available in the market. I am following thi

Re: [OpenWrt-Devel] upstream opkg

2016-04-25 Thread Luiz Angelo Daros de Luca
Thanks Jo, Do you have any idea how it would be possible to reduce upstream opkg size? Create a libarchive-mini? Maybe we can simply revert libarchive adoption (specially if we turn it into a ./configure option). I guess it is limited to libopkg/pkg_extract.c file. Maybe it is better to keep an o

Re: [OpenWrt-Devel] [PATCH 02/05] [tools] findutils glibc >= 2.23 compat

2016-04-25 Thread Weedy
On 25 Apr 2016 1:33 pm, "Jo-Philipp Wich" wrote: > > Hi, > > this should be handled already, configure uses AC_HEADER_MAJOR and > mountlist.c does: > > #ifdef MAJOR_IN_SYSMACROS > #include > #define HAVE_MAJOR > ... > > did you patched findutils proactively or was there an actual build issue? I

Re: [OpenWrt-Devel] [RFC] ramips: fix bad patch awake rt305x USB controller

2016-04-25 Thread Сергей Василюгин
25.04.2016, 19:11, "John Crispin" : > Hi, > > i dont see why this is needed.the patch in the tree does not look broken > and seems to compile fine. > > John > Because fixed in changeset #49221 --- serge ___ openwrt-devel mailing list openwrt-de

Re: [OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread Andrew Yong
"alternatively call uboot-env directly without the fw_* abstraction layer" Pardon the obtuse question but how would I go about doing this? It sounds like the cleanest way to do things. I'd like to avoid calling uci-default earlier than it needs to be, and potentially messing up other things in th

[OpenWrt-Devel] [PATCH 4/4] add usb gadget ehci debug driver

2016-04-25 Thread Alexander Couzens
This gadget driver allow you to debug other devices via EHCI Debug Port capability. Signed-off-by: Alexander Couzens --- package/kernel/linux/modules/usb.mk | 17 + 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/

[OpenWrt-Devel] [PATCH 2/4] [RFC] omap: switch to 4.4

2016-04-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- target/linux/omap/Makefile | 2 +- target/linux/omap/config-4.4 | 525 ++- 2 files changed, 171 insertions(+), 356 deletions(-) diff --git a/target/linux/omap/Makefile b/target/linux/omap/Makefile index 20f7517..d70

[OpenWrt-Devel] [PATCH 3/4] kernel/spi: add kernel package for spi-omap-24xx

2016-04-25 Thread Alexander Couzens
spi-omap-24xx can be found in TI based SoC like the beaglebone black Signed-off-by: Alexander Couzens --- package/kernel/linux/modules/spi.mk | 17 + 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel/linux/modules/spi.mk index 1c

[OpenWrt-Devel] [PATCH 1/4] omap: add sdcard creation script

2016-04-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- target/linux/omap/image/Config.in | 5 target/linux/omap/image/Makefile | 34 +- target/linux/omap/image/gen_omap_sdcard_img.sh | 33 + target/linux/omap/image/uEnv.txt

[OpenWrt-Devel] [PATCH 0/4] omap 4.4, ehci, sdcard

2016-04-25 Thread Alexander Couzens
I'm using the beaglebone black as development tool for coreboot. The bbb can receive debug output via ehci debug and flash spi chips via spi-omap-24xx. I'm not quite sure about the config-4.4 config. I copied over the omap config-4.1 and did make kernel_oldconfig. Is there a better way to create t

[OpenWrt-Devel] [PATCH] [CC] lantiq: Fix ath9k LED for TDW8970.

2016-04-25 Thread Vittorio Gambaletta (VittGam)
Backport of r47911, r47912, r47969 to CC. All other required patches have already been backported in r48822. Signed-off-by: Vittorio Gambaletta --- diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds index 6956d61..5643

[OpenWrt-Devel] [PATCH] [CC] lantiq: Fix LED handling.

2016-04-25 Thread Vittorio Gambaletta (VittGam)
Backport of r47914 to CC. Without this patch the TDW8970 is left without any status LED at all, even during preinit and failsafe. Signed-off-by: Vittorio Gambaletta --- diff --git a/target/linux/lantiq/base-files/etc/diag.sh b/target/linux/lantiq/base-files/etc/diag.sh index 26f0a3c..57a7055 1

[OpenWrt-Devel] [PATCH v3] ar71xx: Add support for the OMYlink OMY-G1

2016-04-25 Thread L. D. Pinney
https://wiki.openwrt.org/toh/omylink/omy-g1 http://www.omylink.com/ Signed-off-by: L. D. Pinney --- v2 corrects the Device name in Subject v3 removes changes to mktplinkfw.c target/linux/ar71xx/base-files/etc/board.d/01_leds| 6 target/linux/ar71xx/base-files/etc/board.d/02_ne

Re: [OpenWrt-Devel] How to initialize multiple phy radios

2016-04-25 Thread David Hutchison
Scanning appears to work ( iw dev wlan1 scan ) , As soon as I try to use hostapd to run as an AP I get: [20475.14] ath10k_pci :00:00.0: firmware crashed! (uuid b826d45e-e51f-4beb-a489-6b7a4d5c6f76) [20475.15] ath10k_pci :00:00.0: qca988x hw2.0 (0x4100016d, 0x004000ff sub :

Re: [OpenWrt-Devel] [PATCH 2/2] lantiq: Fix status LED on TDW89X0 after boot is completed.

2016-04-25 Thread Vittorio G (VittGam)
On 25/04/2016 23:10:22 CEST, Martin Blumenstingl wrote: maybe you could document this in the wiki: [0] Most people check the wiki when they are looking for configuration hints like this Done: https://wiki.openwrt.org/toh/tp-link/td-w8970#leds Cheers, Vittorio __

Re: [OpenWrt-Devel] [PATCH 5/5] lantiq: use new image build process for brnImages

2016-04-25 Thread Hauke Mehrtens
On 04/24/2016 05:53 PM, Mathias Kresin wrote: > LZMA compress the kernel without dictionary, otherwise brnboot fails to > uncompress the kernel. > > The filesystem parameter of mkbrncmdline was dropped since the used > filesystem isn't exported in the kernel build step and at least in my > tests e

Re: [OpenWrt-Devel] [PATCH] lantiq: remove read-only flag on two partitions on BTHOMEHUBV3A

2016-04-25 Thread Martin Blumenstingl
On Mon, Apr 25, 2016 at 5:38 PM, Ben Mulvihill wrote: >> @Ben: one probably has to enable caldata swapping in the .dts. > > I saw your comment on openwrt.ebilan.co.uk that the "ath,eep-swap;" > flag should be added to the dts in order to use unmodified calibration > data, but actually this does no

Re: [OpenWrt-Devel] [PATCH 2/2] lantiq: Fix status LED on TDW89X0 after boot is completed.

2016-04-25 Thread Martin Blumenstingl
On Mon, Apr 25, 2016 at 8:51 PM, Vittorio G (VittGam) wrote: > For the record, if anyone wants the old behaviour they just need to put > this in /etc/config/system: > > config led 'led_system' > option name 'System' > option sysfs 'tdw89x0:green:wps' > option default '1' >

[OpenWrt-Devel] Buildbot not building all images for Lantiq XRX200

2016-04-25 Thread Vittorio G (VittGam)
Hello, I've seen that Lantiq XRX200 trunk images are only being built for the VG3503J. Is this intended, or a mistake? Thank you. Cheers, Vittorio ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailma

Re: [OpenWrt-Devel] [PATCH v2] dnsmasq: run as dedicated UID/GID

2016-04-25 Thread Karl Palsson
Would it be worthwhile keeping these userids in a wiki registry page maybe? This is a current extract from the packages feed and the base packages. 22:sshd 22:sshd 51:pulse 52:tor 53:zabbix 54:prosody 56:dmapd 57:bind 59:dovecot 72:ocserv 87:icecast 88:pianod 89:upmpdcli 99:_fdm 105:avahi 121:lld

Re: [OpenWrt-Devel] [RFC] ar71xx: add TP-Link TL-WR810N support

2016-04-25 Thread John Crispin
Hi On 10/04/2016 14:00, Jens Steinhauser wrote: > This patch adds support for the TP-Link TL-WR810N. > https://wiki.openwrt.org/toh/tp-link/tl-wr810n > > The device has a slide switch to select its mode of operation when using > the stock firmware. After looking at how it's implemented for simila

Re: [OpenWrt-Devel] How to initialize multiple phy radios

2016-04-25 Thread Christian Lamparter
Hello, On Monday, April 25, 2016 10:53:41 AM David Hutchison wrote: > So with some modifications to pci.c, hw.h and core.c I was able to get > the radio initialized! :) Hey, that's nice! Can you make and post a patch for that? I'm sure if it's just a matter of adding the new pci and chip ids to

Re: [OpenWrt-Devel] [PATCH 2/2] lantiq: Fix status LED on TDW89X0 after boot is completed.

2016-04-25 Thread Vittorio G (VittGam)
On 25/04/2016 15:14:31 CEST, John Crispin wrote: i understand the problem, but the WPS led is for WPS and should be left free for the WPS feature eventually. so nack on this one i am afraid. Ok, thank you anyway. For the record, if anyone wants the old behaviour they just need to put this in /

[OpenWrt-Devel] [PATCH v2] dnsmasq: run as dedicated UID/GID

2016-04-25 Thread Daniel Golle
Running dnsmasq in a dedicated user/group allows matching its outgoing traffic more easily using iptables' owner match. Add UID/GID to the package metadata and append the user/group parameters to the init script. Signed-off-by: Daniel Golle --- package/network/services/dnsmasq/Makefile

Re: [OpenWrt-Devel] [PATCH/RFC] dnsmasq: run as dedicated UID/GID

2016-04-25 Thread Daniel Golle
Hi John! On Mon, Apr 25, 2016 at 06:28:47PM +0200, John Crispin wrote: > > > On 22/04/2016 06:26, Daniel Golle wrote: > > Running dnsmasq in a dedicated user/group allows matching its outgoing > > traffic more easily using iptables' owner match. > > Add UID/GID to the package metadata and append

Re: [OpenWrt-Devel] [PATCH 02/05] [tools] findutils glibc >= 2.23 compat

2016-04-25 Thread Jo-Philipp Wich
Hi, this should be handled already, configure uses AC_HEADER_MAJOR and mountlist.c does: #ifdef MAJOR_IN_SYSMACROS #include #define HAVE_MAJOR ... did you patched findutils proactively or was there an actual build issue? ~ Jo ___ openwrt-devel mailin

[OpenWrt-Devel] [PATCH 05/05] [tools] squashfs4 glibc >= 2.23 compat

2016-04-25 Thread Weedy
With the update to glibc 2.23, sys/types.h doesn't inherit sys/sysmacros.h anymore. We need to include it manually. Signed-off-by: Weedy --- /dev/null 2016-04-18 05:53:30.273258717 -0400 +++ tools/squashfs4/patches/125-glibc-2.23-sysmacros.patch 2016-04-24 16:22:30.271759670 -0400 @@ -0,0

[OpenWrt-Devel] [PATCH 04/05] [tools] squashfs glibc >= 2.23 compat

2016-04-25 Thread Weedy
With the update to glibc 2.23, sys/types.h doesn't inherit sys/sysmacros.h anymore. We need to include it manually. Signed-off-by: Weedy --- /dev/null 2016-04-18 05:53:30.273258717 -0400 +++ tools/squashfs/patches/125-glibc-2.23-sysmacros.patch 2016-04-24 16:16:39.524863687 -0400 @@ -0,0

[OpenWrt-Devel] [PATCH 03/05] [tools] mtd-utils glibc >= 2.23 compat

2016-04-25 Thread Weedy
With the update to glibc 2.23, sys/types.h doesn't inherit sys/sysmacros.h anymore. We need to include it manually. Signed-off-by: Weedy --- /dev/null 2016-04-18 05:53:30.273258717 -0400 +++ tools/mtd-utils/patches/125-glibc-2.23-sysmacros.patch 2016-04-24 15:31:35.050480434 -0400 @@ -0,0

[OpenWrt-Devel] [PATCH 02/05] [tools] findutils glibc >= 2.23 compat

2016-04-25 Thread Weedy
With the update to glibc 2.23, sys/types.h doesn't inherit sys/sysmacros.h anymore. We need to include it manually. Signed-off-by: Weedy --- /dev/null 2016-04-18 05:53:30.273258717 -0400 +++ tools/findutils/patches/125-glibc-2.23-sysmacros.patch 2016-04-24 15:36:39.330172567 -0400 @@ -0,

[OpenWrt-Devel] [PATCH 01/05] [tools] e2fsprogs glibc >= 2.23 compat

2016-04-25 Thread Weedy
With the update to glibc 2.23, sys/types.h doesn't inherit sys/sysmacros.h anymore. We need to include it manually. Signed-off-by: Weedy --- /dev/null 2016-04-18 05:53:30.273258717 -0400 +++ tools/e2fsprogs/patches/125-glibc-2.23-sysmacros.patch 2016-04-24 14:58:32.704376584 -0400 @@ -0,

Re: [OpenWrt-Devel] How to initialize multiple phy radios

2016-04-25 Thread David Hutchison
Hello, So with some modifications to pci.c, hw.h and core.c I was able to get the radio initialized! :) pci.c: added QCA9887_DEVICE_ID, modified ath10k_pci_id_table and ath10k_pci_supp_chips core.c: Duplicated QCA988X entry in ath10k_hw_params_list and passed 0x4100016d as the ID ( left everythin

Re: [OpenWrt-Devel] [PATCH 01/??] [tools] make-ext4fs glibc >= 2.23 compat

2016-04-25 Thread Jo-Philipp Wich
Hi, no, I only cared about make-ext4fs as I maintain this fork. ~ Jo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH 01/??] [tools] make-ext4fs glibc >= 2.23 compat

2016-04-25 Thread Weedy
On 25 Apr 2016 09:09, "Jo-Philipp Wich" wrote: > > Hi! > > Thanks for the patch, I fixed the include issue directly in Git, so this > patch can be dropped and make-ext4fs should be updated in tools/ to a > newer version instead. > > ~ Jo Have you fixed all the packages that need this? Make-ext4f

Re: [OpenWrt-Devel] [PATCH/RFC] dnsmasq: run as dedicated UID/GID

2016-04-25 Thread Daniel Dickinson
> > please us an id between 0-999. ideally check what debian uses. > For most system services, with a very small number exceptions, debian auto-assigns id < 500(?), and which service gets id depends on order of package installation (which can be hassle with when trying to do network filesystems)

Re: [OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread John Crispin
On 25/04/2016 18:01, Andrew Yong wrote: > diff --git a/target/linux/ramips/base-files/lib/preinit/04_handle_bootcount > b/target/linux/ramips/base-files/lib/preinit/04_handle_bootcount > new file mode 100644 > index 000..570fe16 > --- /dev/null > +++ b/target/linux/ramips/base-files/lib/prei

Re: [OpenWrt-Devel] [PATCH/RFC] dnsmasq: run as dedicated UID/GID

2016-04-25 Thread John Crispin
On 22/04/2016 06:26, Daniel Golle wrote: > Running dnsmasq in a dedicated user/group allows matching its outgoing > traffic more easily using iptables' owner match. > Add UID/GID to the package metadata and append the user/group > parameters to the init script. > > Signed-off-by: Daniel Golle >

[OpenWrt-Devel] [PATCH] lantiq: install uboot-envtools by default on BTHOMEHUBV3A

2016-04-25 Thread Ben Mulvihill
The only way to access the u-boot console on the BTHOMEHUBV3A is by soldering a serial console onto some really tiny pads. To enable installation without soldering it would be helpful to be able to modify the uboot environment from within the ramdisk image used as part of the installation process

Re: [OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread Andrew Yong
Hopefully third time's the charm: PATCHv1: This patch adds support for the SamKnows version 8.0 Whitebox, built around the MT7621 platform. 2.4GHz appears to be working, albeit poorly; 5GHz not working yet. PATCHv2: Fixed LED name in DTS. PATCHv3:  DTS: Syntax error fixed, LEDs and buttons mappe

[OpenWrt-Devel] [PATCH v2] lantiq: use dwc2 by default on all ar9 boards

2016-04-25 Thread Ben Mulvihill
The dwc2 USB driver now works on Lantiq ar9, but the default is still ltq-hcd-ar9. This patch switches to dwc2 by default. v2: all ar9 boards (v1 was just for BTHOMEHUBV3A and WBMR) Signed-off-by: Ben Mulvihill --- diff -uprN a/target/linux/lantiq/xway/profiles/avm.mk b/target/linux/lantiq/xway

Re: [OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread Andrew Yong
Working on my email client choice. Anyway, preinit seems to be before fw_setenv gets its bearings: Board is SamKnows Whitebox 8, resetting bootcount environment variable... Cannot parse config file: No such file or directory Error: environment not initialized Router still soft bricks after 3 rebo

Re: [OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread John Crispin
i'm afraid they are both badly formatted On 25/04/2016 16:51, Andrew Yong wrote: > PATCHv1: > This patch adds support for the SamKnows version 8.0 Whitebox, built > around the MT7621 platform. 2.4GHz appears to be working, albeit > poorly; 5GHz not working yet. > > PATCHv2: > Fixed LED name in

Re: [OpenWrt-Devel] [PATCH] lantiq: remove read-only flag on two partitions on BTHOMEHUBV3A

2016-04-25 Thread John Crispin
On 25/04/2016 17:38, Ben Mulvihill wrote: > On Mon, 2016-04-25 at 16:29 +0200, Martin Blumenstingl wrote: >> On Mon, Apr 25, 2016 at 3:00 PM, John Crispin wrote: >>> is this not a bit risky ? normally we try to keep them read-only so that >>> users cannot accidentally kill them. is the calib dat

Re: [OpenWrt-Devel] [PATCH] lantiq: remove read-only flag on two partitions on BTHOMEHUBV3A

2016-04-25 Thread Ben Mulvihill
On Mon, 2016-04-25 at 16:29 +0200, Martin Blumenstingl wrote: > On Mon, Apr 25, 2016 at 3:00 PM, John Crispin wrote: > > is this not a bit risky ? normally we try to keep them read-only so that > > users cannot accidentally kill them. is the calib data normally not > > located in the art partition

Re: [OpenWrt-Devel] [luci] [PATCH] luci-mod-admin-full: Add option to set anonymous_identity field

2016-04-25 Thread John Crispin
please send this as a PR against the luci tree on github John On 07/04/2016 18:22, Kevin O'Connor wrote: > Add support for setting the "anonymous_identity" field on EAP type > networks. > > Signed-off-by: Kevin O'Connor > --- > > I sent a similar request to the openwrt mailing list tha

Re: [OpenWrt-Devel] How to initialize multiple phy radios

2016-04-25 Thread Valo, Kalle
Christian Lamparter writes: > On Sunday, April 24, 2016 01:16:11 AM David Hutchison wrote: >> I spoke too soon: >> https://pci-ids.ucw.cz/read/PC/168c/0050 >> >> It is the QCA9887, so it's definitely on the PCIe bus and is being >> seen. > > Does ath10k support the QCA9887? I see no entry for th

Re: [OpenWrt-Devel] [PATCH] ar71xx: add tools/kernel2minor package for Mikrotik NOR flash devices.

2016-04-25 Thread John Crispin
Hi, comments inline On 18/04/2016 12:05, ad...@yapic.net wrote: > From: Sergey Sergeev > > kernel2minor tool is used for packing openwrt kernel into modified yaffs2 > file system image. > This is necessary to boot via Routerboot on new Mikrotik NOR flash devices. > --- > config/Config-images.

Re: [OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread Andrew Yong
Re-sending, newline issues (oops) diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips index a759bcc..9ad5974 100644 --- a/package/boot/uboot-envtools/files/ramips +++ b/package/boot/uboot-envtools/files/ramips @@ -24,7 +24,8 @@ linkits7688d | \ wsr-600

[OpenWrt-Devel] [PATCHv5] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread Andrew Yong
PATCHv1: This patch adds support for the SamKnows version 8.0 Whitebox, built around the MT7621 platform. 2.4GHz appears to be working, albeit poorly; 5GHz not working yet. PATCHv2: Fixed LED name in DTS. PATCHv3: DTS: Syntax error fixed, LEDs and buttons mapped correctly now - diag.sh updated t

Re: [OpenWrt-Devel] [RFC] ramips: fix bad patch awake rt305x USB controller

2016-04-25 Thread Martin Blumenstingl
On Mon, Apr 25, 2016 at 3:11 PM, John Crispin wrote: > i dont see why this is needed.the patch in the tree does not look broken > and seems to compile fine. It seems that Hauke already pushed a similar fix: https://dev.openwrt.org/changeset/49221/ ___ op

Re: [OpenWrt-Devel] [PATCH] lantiq: remove read-only flag on two partitions on BTHOMEHUBV3A

2016-04-25 Thread Martin Blumenstingl
On Mon, Apr 25, 2016 at 3:00 PM, John Crispin wrote: > is this not a bit risky ? normally we try to keep them read-only so that > users cannot accidentally kill them. is the calib data normally not > located in the art partition or why do you need to copy it after flashing ? I think the caldata pa

Re: [OpenWrt-Devel] [PATCHv4] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread John Crispin
On 25/04/2016 15:32, Andrew Yong wrote: > Stupid question - what calls these files? I assume I have to call my > new function from somewhere. > > I'm working on it. preinit gets called automagically during preinit/boot > > On Mon, Apr 25, 2016 at 9:22 PM, John Crispin wrote: >> >> >> On 25/0

Re: [OpenWrt-Devel] [PATCHv4] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread Andrew Yong
Stupid question - what calls these files? I assume I have to call my new function from somewhere. I'm working on it. On Mon, Apr 25, 2016 at 9:22 PM, John Crispin wrote: > > > On 25/04/2016 15:18, Andrew Yong wrote: >> I have just found out that I need to perform this additional step on >> this

Re: [OpenWrt-Devel] [PATCH] Hostapd: Add support for multiple RADIUS servers

2016-04-25 Thread John Crispin
On 21/04/2016 08:39, amine.ahd wrote: > Hostapd allows more than one RADIUS server to be added in case the main > server goes down. > This allows netifd to load a list of RADIUS servers from the wireless confid > file and add them to hostapd. > The format of the list in the config file is as fo

Re: [OpenWrt-Devel] [PATCH] lantiq: use dwc2 by default on BTHOMEHUBV3A and WBMR

2016-04-25 Thread John Crispin
yes please resend a new patch with all boards getting switched John On 25/04/2016 12:26, Ben Mulvihill wrote: > The dwc2 USB driver now works on Lantiq ar9, but the > default is still ltq-hcd-ar9. This patch switches to > dwc2 by default, on the two boards I can test, namely > BTHOMEHUBV3

Re: [OpenWrt-Devel] [PATCHv4] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread John Crispin
On 25/04/2016 15:18, Andrew Yong wrote: > I have just found out that I need to perform this additional step on > this SamKnows Whitebox 8 every boot: > > /usr/sbin/fw_setenv bootcount 0 > > Where would be an appropriate place to put this? I could add (yet > another) init script in ./target/linu

Re: [OpenWrt-Devel] [PATCHv4] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread Andrew Yong
I have just found out that I need to perform this additional step on this SamKnows Whitebox 8 every boot: /usr/sbin/fw_setenv bootcount 0 Where would be an appropriate place to put this? I could add (yet another) init script in ./target/linux/ramips/base-files/etc/init.d with START=99 (this is ho

Re: [OpenWrt-Devel] [PATCH] [scripts] avoid hard-coded path in sha-bang

2016-04-25 Thread John Crispin
please avoid using slang words and add "scripts:" as a subject prefix On 22/04/2016 11:06, Iblis Lin wrote: > Signed-off-by: Iblis Lin > --- > scripts/brcmImage.pl | 2 +- > scripts/deptest.sh| 2 +- > scripts/feeds | 2 +- > scripts/mkits.sh | 2 +- > scripts

Re: [OpenWrt-Devel] [PATCH 2/2] lantiq: Fix status LED on TDW89X0 after boot is completed.

2016-04-25 Thread John Crispin
On 22/04/2016 09:13, Vittorio G (VittGam) wrote: > On 22/04/2016 08:34:41 CEST, Mathias Kresin wrote: >> Am 21.04.2016 um 23:43 schrieb Vittorio Gambaletta (VittGam): >>> After recent patches, the status LED on this router would stay >>> switched off after boot is completed. A switched off status

Re: [OpenWrt-Devel] [RFC] ramips: fix bad patch awake rt305x USB controller

2016-04-25 Thread John Crispin
Hi, i dont see why this is needed.the patch in the tree does not look broken and seems to compile fine. John On 23/04/2016 05:55, Сергей Василюгин wrote: > Sorry, fix bad patch (ticket #22248) > > Signed-Off-By: Serge Vasilugin > > diff --git > a/target/linux/ramips/patches-4.4/0069-

Re: [OpenWrt-Devel] [PATCH 01/??] [tools] make-ext4fs glibc >= 2.23 compat

2016-04-25 Thread Jo-Philipp Wich
Hi! Thanks for the patch, I fixed the include issue directly in Git, so this patch can be dropped and make-ext4fs should be updated in tools/ to a newer version instead. ~ Jo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.o

Re: [OpenWrt-Devel] [PATCH 01/??] [tools] make-ext4fs glibc >= 2.23 compat

2016-04-25 Thread John Crispin
On 25/04/2016 11:41, Weedy wrote: > With the update to glibc 2.23, sys/types.h doesn't inherit > sys/sysmacros.h anymore. We need to include it manually. > > > --- /dev/null 2016-04-18 05:53:30.273258717 -0400 > +++ tools/make-ext4fs/patches/125-glibc-2.23-sysmacros.patch 2016-04-24 > 14:50:33

Re: [OpenWrt-Devel] [PATCH] lantiq: remove read-only flag on two partitions on BTHOMEHUBV3A

2016-04-25 Thread John Crispin
On 24/04/2016 21:29, Ben Mulvihill wrote: > Remove read-only flag on two partitions on BTHOMEHUBV3A: > uboot-config - otherwise fw_setenv command cannot be used. > ath9k-cal- so that ath9k calibration data can be copied > to the partition on a newly installed board. > >

Re: [OpenWrt-Devel] [PATCHv4] ramips: add support for SamKnows SK-WB8

2016-04-25 Thread John Crispin
Hi, few comments inline. apart from those 2 nitpicks the patch looks good. John On 25/04/2016 03:05, Andrew Yong wrote: > This patch adds support for the SamKnows version 8.0 Whitebox, built > around the MT7621 platform. 2.4GHz appears to be working, albeit > poorly; 5GHz not working yet

[OpenWrt-Devel] [PATCH] lantiq: use dwc2 by default on BTHOMEHUBV3A and WBMR

2016-04-25 Thread Ben Mulvihill
The dwc2 USB driver now works on Lantiq ar9, but the default is still ltq-hcd-ar9. This patch switches to dwc2 by default, on the two boards I can test, namely BTHOMEHUBV3A and WBMR. John, if you are happy with the principle of switching would you prefer me to send a patch covering all the ar9 boar

[OpenWrt-Devel] [PATCH 01/??] [tools] make-ext4fs glibc >= 2.23 compat

2016-04-25 Thread Weedy
With the update to glibc 2.23, sys/types.h doesn't inherit sys/sysmacros.h anymore. We need to include it manually. --- /dev/null 2016-04-18 05:53:30.273258717 -0400 +++ tools/make-ext4fs/patches/125-glibc-2.23-sysmacros.patch2016-04-24 14:50:33.932873523 -0400 @@ -0,0 +1,10 @@ +--- a/ext4_

[OpenWrt-Devel] [PATCH v4] package/utils/usbutils: Update USB IDs list and drop gzip compression

2016-04-25 Thread Daniel Engberg
Change mirror to Github (Gentoo repo) and drop the gzip compression. Worst case there's about 4kbyte increase in size but most images ends up beign somewhere between 4-100kbyte smaller due to the lzma compression. Tested on ar71xx v2 Now contains the correct patch, sorry! v3 Turns out that the up

Re: [OpenWrt-Devel] [PATCH][CC] Revert "ar71xx: change some TP-link modelnames (WR841, WA701, WA730)"

2016-04-25 Thread John Crispin
On 25/04/2016 08:54, Bastian Bittorf wrote: > * John Crispin [25.04.2016 07:39]: >>> The changed image name breaks compatibility for derived projects and >>> that's something which should only happen if there is a really good >>> reason (e.g. security fix). >> >> how does it beak compatibility ?