[OpenWrt-Devel] [PATCH] buildroot: improve git submodule handling for packages

2016-02-26 Thread Karl Palsson
Move the `--recursive` switch from `git clone` to `git submodule` so that submodules are cloned for upstream branches where the PKG_SOURCE_VERSION commit-ish has a different .gitmodules configuration than the repository default. This is, for example, required when the master branch for a source

Re: [OpenWrt-Devel] [PATCH 1/3] ar71xx: WNR612v2: exclude USB modules from image

2016-02-26 Thread Michal
On Fri, 26 Feb 2016 21:47:42 +0100 Felix Fietkau wrote: > On 2016-02-26 21:36, Felix Fietkau wrote: > > On 2016-02-26 21:18, Michal wrote: > >> On Thu, 25 Feb 2016 14:27:56 +0100 > >> Felix Fietkau wrote: > >> > >>> On 2016-02-21 22:55, Michal wrote: >

Re: [OpenWrt-Devel] Where init scripts are linked to rc.d?

2016-02-26 Thread alzhao
Use /etc/init.d/yourscript enable It should be enabled by default, as I know. On Sat, 27 Feb 2016 at 03:33, Jakub Jančo wrote: > Hello, > > Im adding some custom init script in ImageBuilder throught FILES, but > these are not linked to /etc/rc.d on first boot. > > Where to

[OpenWrt-Devel] Exceptions are broken in the uClibc++ - any throw causes memory corruption

2016-02-26 Thread Ivan Koldaev
Hi community! I believe I have discovered that uClibc++ incorrectly implements C++ exception ABI, allocating not enough memory in the "__cxxabiv1::__cxa_allocate_exception": /// code begin /// retval = malloc (thrown_size + sizeof(__cxa_exception)); /// code end /// uClibc++ allocates

Re: [OpenWrt-Devel] Setting uci defaults in trunk

2016-02-26 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix Fietkau wrote: > - Interfaces using dhcp are usually considered 'wan' instead of 'lan', > LAN should have a predictable IP address. > If you believe that that any of the above changes are > necessary, please provide compelling

Re: [OpenWrt-Devel] [PATCH 1/3] ar71xx: WNR612v2: exclude USB modules from image

2016-02-26 Thread Felix Fietkau
On 2016-02-26 21:36, Felix Fietkau wrote: > On 2016-02-26 21:18, Michal wrote: >> On Thu, 25 Feb 2016 14:27:56 +0100 >> Felix Fietkau wrote: >> >>> On 2016-02-21 22:55, Michal wrote: >>> > From: Michal Cieslakiewicz >>> > Date: Sun, 21 Feb 2016

Re: [OpenWrt-Devel] [PATCH 1/3] ar71xx: WNR612v2: exclude USB modules from image

2016-02-26 Thread Felix Fietkau
On 2016-02-26 21:18, Michal wrote: > On Thu, 25 Feb 2016 14:27:56 +0100 > Felix Fietkau wrote: > >> On 2016-02-21 22:55, Michal wrote: >> > From: Michal Cieslakiewicz >> > Date: Sun, 21 Feb 2016 18:17:27 +0100 >> > Subject: [PATCH 1/3] ar71xx:

Re: [OpenWrt-Devel] [PATCH 1/3] ar71xx: WNR612v2: exclude USB modules from image

2016-02-26 Thread Michal
On Thu, 25 Feb 2016 14:27:56 +0100 Felix Fietkau wrote: > On 2016-02-21 22:55, Michal wrote: > > From: Michal Cieslakiewicz > > Date: Sun, 21 Feb 2016 18:17:27 +0100 > > Subject: [PATCH 1/3] ar71xx: WNR612v2: exclude USB modules from > > image > >

[OpenWrt-Devel] [PATCH] ramips: EX2700: remove unused kernel modules

2016-02-26 Thread Joseph C. Lehner
Remove the kmod-mt76 and kmod-rt2800-pci packages from the EX2700 profile to free up around 100 KiB of space on the root filesystem. This patch applies to both trunk and Chaos Calmer. Signed-off-by: Joseph C. Lehner --- diff --git

[OpenWrt-Devel] Where init scripts are linked to rc.d?

2016-02-26 Thread Jakub Jančo
Hello, Im adding some custom init script in ImageBuilder throught FILES, but these are not linked to /etc/rc.d on first boot. Where to hook them? If I make package, will it be linked automatically? Thanks. -- S pozdravom Jakub Janco ___

[OpenWrt-Devel] [PATCH v2] ar71xx: Add OOLITE to the Gainstrong profile, removed standalone profile.

2016-02-26 Thread Stijn Segers
This patch moves the OOLITE profile code into the overarching Gainstrong profile and deletes the old single profile file. Signed-off by: Stijn Segers --- target/linux/ar71xx/generic/profiles/gainstrong.mk | 11 +++

Re: [OpenWrt-Devel] Setting uci defaults in trunk

2016-02-26 Thread micke . prag
2016-02-26 17:20 skrev Felix Fietkau: On 2016-02-26 15:54, micke.prag@telldus.sewrote: 2016-02-26 15:35 skrev Felix Fietkau: On 2016-02-26 15:27, micke.prag@telldus.sewrote: Hi I have a board config for a device that I am about to commit to OpenWRT. I am rebasing my work against trunk but

Re: [OpenWrt-Devel] Setting uci defaults in trunk

2016-02-26 Thread Felix Fietkau
On 2016-02-26 15:54, micke.p...@telldus.se wrote: > 2016-02-26 15:35 skrev Felix Fietkau: > >> On 2016-02-26 15:27, micke.prag@telldus.sewrote: >> >>> Hi I have a board config for a device that I am about to commit to >>> OpenWRT. I am rebasing my work against trunk but some things have >>>

Re: [OpenWrt-Devel] Setting uci defaults in trunk

2016-02-26 Thread micke . prag
2016-02-26 15:35 skrev Felix Fietkau: On 2016-02-26 15:27, micke.prag@telldus.sewrote: Hi I have a board config for a device that I am about to commit to OpenWRT. I am rebasing my work against trunk but some things have changed since I made the config. My code was written against r46120 but

Re: [OpenWrt-Devel] Setting uci defaults in trunk

2016-02-26 Thread Jo-Philipp Wich
Hi. > In r48800 this file seems to have been replaced by > /etc/board.d/02_network instead. Unfortunately "raw" uci commands does > not work since its generating /etc/board.json instead? Am I correct? > > If I do this then "dhcp" is ignored and the interface is set to static > anyway: >

Re: [OpenWrt-Devel] Setting uci defaults in trunk

2016-02-26 Thread Felix Fietkau
On 2016-02-26 15:27, micke.p...@telldus.se wrote: > Hi > > I have a board config for a device that I am about to commit to > OpenWRT. I am rebasing my work against trunk but some things have > changed since I made the config. My code was written against r46120 but > somethings doesn't work on

[OpenWrt-Devel] Setting uci defaults in trunk

2016-02-26 Thread micke . prag
Hi I have a board config for a device that I am about to commit to OpenWRT. I am rebasing my work against trunk but some things have changed since I made the config. My code was written against r46120 but somethings doesn't work on r48800. My question is how I should update my code to

[OpenWrt-Devel] [PATCH resend] [ubus 1/2] cli: static keyword tweak

2016-02-26 Thread Zhao, Gang
Function ubus_cli_listen() is called only once, and function uloop_run() and uloop_done() which need struct ubus_event_handler listener are called within this function, so it's not needed to mark struct ubus_event_handler listener as static. The same as pointer struct ubus_context *ctx in main

[OpenWrt-Devel] [PATCH resend] [ubus 2/2] cli: add timeout support for listen command

2016-02-26 Thread Zhao, Gang
Currently 'ubus listen' command does not respect the timeout parameter, i.e., whether timeout parameter is provided, 'ubus listen' will always run infinitely. This patch let 'ubus listen' command support the timeout parameter. For example, 'ubus listen -t 60' will cause the command to exit after

Re: [OpenWrt-Devel] [PATCH] dnsmasq: add host-specific lease time option for static hosts

2016-02-26 Thread Hannu Nyman
On 26.2.2016 10:33, John Crispin wrote: Hi, this does not apply anymore. mind to rebase and resend it please ? John Rebased patch v2 re-sent as https://patchwork.ozlabs.org/patch/588694/ ___ openwrt-devel mailing list

[OpenWrt-Devel] [PATCH v2] dnsmasq: add host-specific lease time option for static hosts

2016-02-26 Thread Hannu Nyman
Enable setting a host-specific lease time for static hosts. The new option is called "leasetime" and the format is similar as for the default lease time: e.g. 12h, 3d, infinite Default lease time is used for all hosts for which there is no host-specific definition. The option is added to

Re: [OpenWrt-Devel] [PATCH v3] bcm53xx: add support for Huawei WS880

2016-02-26 Thread Rafał Miłecki
On 2 December 2015 at 21:25, Hauke Mehrtens wrote: >> ++ >> ++leds { >> ++compatible = "gpio-leds"; >> ++ >> ++wlan { >> ++label = "bcm53xx:white:wlan"; >> ++gpios = < 0 GPIO_ACTIVE_LOW>; >> ++

Re: [OpenWrt-Devel] [PATCH v3] bcm53xx: add support for Huawei WS880

2016-02-26 Thread Rafał Miłecki
Hi Sergey, Sorry for this late (!) reply, I totally missed this patch. On 2 December 2015 at 15:48, Sergey Shatunov wrote: > From: Prototik It doesn't really matter for our svn repo, but please don't try hiding your real name. > Changes since v2: > LED default

Re: [OpenWrt-Devel] [PATCH] [ubus 2/2] cli: add timeout support for listen command

2016-02-26 Thread John Crispin
hi you need to put this information into the description of the patch a patch normally has this format --- The patch does ABC to achieve XYZ Signed-off-by: name --- $(The actual patch) - please

[OpenWrt-Devel] [PATCH] [packages] opkg: Make opkg understand old md5

2016-02-26 Thread Michal Hrusecky
Opkg now uses sha256 by default and expects them. Making it optionally understand md5s also and detect md5 sum so we can migrate from configuration that used md5. Signed-off-by: Michal Hrusecky --- package/system/opkg/Makefile | 35 +-

Re: [OpenWrt-Devel] [PATCH] [ubus 2/2] cli: add timeout support for listen command

2016-02-26 Thread Zhao, Gang
On Fri, Feb 26, 2016 at 2:33 PM, John Crispin wrote: > Description of what the patch does is missing > Hi, John Currently 'ubus listen' command does not respect the timeout parameter, i.e., whether timeout parameter is provided, 'ubus listen' will always run infinitely,

Re: [OpenWrt-Devel] [PATCH] dnsmasq: add host-specific lease time option for static hosts

2016-02-26 Thread John Crispin
Hi, this does not apply anymore. mind to rebase and resend it please ? John On 05/01/2016 12:48, Hannu Nyman wrote: > Enable setting a host-specific lease time for static hosts. > The new option is called "leasetime" and the format is similar > as for the default lease time: e.g. 12h, 3d,

Re: [OpenWrt-Devel] [PATCH] [ubus 1/2] cli: static keyword tweak

2016-02-26 Thread Zhao, Gang
On Fri, Feb 26, 2016 at 2:33 PM, John Crispin wrote: > Description of what the patch does is missing > > John > > On 26/02/2016 03:27, Zhao, Gang wrote: > > Signed-off-by: Zhao, Gang > > --- > > cli.c | 6 +++--- > > 1 file changed, 3

Re: [OpenWrt-Devel] [PATCH v2] lantiq, xrx200-net: add devicetree aliases support for port->mac mapping

2016-02-26 Thread John Crispin
On 22/12/2015 10:36, Martin Schiller wrote: >>> And there are also situations, where you even can't do it in >> > hardware: >>> > > when you use the xrx200 in Gigabit mode, you can use mac 0,1,2,4,5. >>> > > mac/port 3 is dead in this case. >>> > > >>> > > But you can't tell an enduser/customer

Re: [OpenWrt-Devel] [PATCH] [packages] opkg: Make opkg understand old md5

2016-02-26 Thread John Crispin
[...] >>> >>> +define Package/opkg-smime/config >>> +config OPKG_SMIME_SUPPORT_MD5 >>> + bool >>> + default n >>> + depends on PACKAGE_opkg-smime >>> + prompt "Support reading old md5 hashes." >>> + help >>> + Old opkg used md5s, new uses sha. This options enables understanding >>>

Re: [OpenWrt-Devel] [PATCH] [packages] opkg: Make opkg understand old md5

2016-02-26 Thread Michal Hrusecky
John Crispin - 8:40 26.02.16 wrote: > Hi, > > few comments inline > > On 25/02/2016 13:39, Michal Hrusecky wrote: > > Opkg now uses sha256 by default and expects them. Making it optionally > > understand md5s also and detect md5 sum so we can migrate from configuration > > that used md5. > > >

Re: [OpenWrt-Devel] [PATCH v2] [CC] ar71xx: backport support for TP-LINK TL-WR1043ND v3

2016-02-26 Thread John Crispin
Hi, i cant merge this without a correct patch for trunk. John On 08/02/2016 15:27, Sven Roederer wrote: > The hardware of the v3 is identical to the v2. > > - adding support for WR1043v3 > - resending this patch after fixing the original from >

Re: [OpenWrt-Devel] [PATCH] comgt: NCM protocol now propagate defaultroute, peerdns, metric to dynamic ifaces

2016-02-26 Thread John Crispin
Hi, can you change this and put the functionality in a more generic place so that it works for all virtual interfaces ? felix explained in the hilink thread that bruno started where he thinks this should go. John On 09/02/2016 21:38, Jakub Janco wrote: > NCM protocol now propagate