Re: [LEDE-DEV] ramips: MT7621 Ethernet IRQ Balancing

2016-10-18 Thread John Crispin
On 19/10/2016 02:59, Andrew Yong wrote: > There has previously been discussion > (https://lists.openwrt.org/pipermail/openwrt-devel/2015-December/038118.html) > about how Ethernet on MT7621 has affinity to only the first CPU. > > Is anyone on the list particularly familiar with why this is so or

Re: [LEDE-DEV] [PATCH] Add support for Comfast E380AC v1 and v2

2016-10-18 Thread Piotr Dymacz
Hello Gareth, Please, take a look how I made support for other Comfast devices (QCA953x based) [1]. I will rebase, update and send PR when I'm back from my holidays. Maybe we could keep everything in one mach-*.c file as there are some common parts, ex. timer for external watchdog. [1] https://

[LEDE-DEV] ramips: MT7621 Ethernet IRQ Balancing

2016-10-18 Thread Andrew Yong
There has previously been discussion (https://lists.openwrt.org/pipermail/openwrt-devel/2015-December/038118.html) about how Ethernet on MT7621 has affinity to only the first CPU. Is anyone on the list particularly familiar with why this is so or where the code behind this is? The SoC is very capa

[LEDE-DEV] [PATCH] imx6: Add ds1307 RTC to kernel for working hctosys

2016-10-18 Thread Petr Štetiar
Otherwise if we use ds1307 as kernel module, hctosys fails as ds1307 is being initialized later then hctosys: [2.427349] hctosys: unable to open rtc device (rtc0) [3.714263] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1 [8.990061] rtc-ds1307 3-

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-18 Thread Felix Fietkau
On 2016-10-18 23:11, Petr Štetiar wrote: > Currently we're forced to have system time in the UTC timezone as > hardware clock, mainly because kernel expects in rtc_hctosys(), that RTC > time is held in UTC timezone. > > With this patch one can now have local system time for example in CEST > timez

[LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-18 Thread Petr Štetiar
Currently we're forced to have system time in the UTC timezone as hardware clock, mainly because kernel expects in rtc_hctosys(), that RTC time is held in UTC timezone. With this patch one can now have local system time for example in CEST timezone and RTC time still in UTC with boolean config opt

[LEDE-DEV] Signed tags missing in Git repositories

2016-10-18 Thread Heinrich Schuchardt
The Lede git repositories provide no signed tags. It is therefore difficult to verify if the downloaded repository has been tampered with or should be trusted. For each repository there should be at least one responsible person who will create signed tags at regular intervals. Best regards Hein

Re: [LEDE-DEV] [RFC] dwr-512: Image Cracking

2016-10-18 Thread Andre Valentin
Hi Giuseppe, I also have a device here (ZyXEL LTE3301) which has the same bootloader/tool. This also prevents me to publish my lede patches for it. I hope that someone can help us. André Am 18.10.2016 um 20:22 schrieb Giuseppe Lippolis: > Dear All, > I'm working to port the Dlink DWR-512 in o

Re: [LEDE-DEV] [RFC] dwr-512: Image Cracking

2016-10-18 Thread Giuseppe Lippolis
If someone is interested in testing the binboy, it can be found here: http://tsd.dlink.com.tw/downloads2008detail.asp download the file: DWR-512_GPL_V2.00b01_20131231_v1.tar.bz2 The "binboy" is stored in the following directory DWR-512_GPL_V2.00b01_20131231_v1\CIG531AM_U11_GPL_03QS0.1006_2013123

[LEDE-DEV] [RFC] dwr-512: Image Cracking

2016-10-18 Thread Giuseppe Lippolis
Dear All, I'm working to port the Dlink DWR-512 in openwrt. Currently I'm able to complete the boot and control properly a big part of the system. Nevertheless there is an issue with the oem bootloader. The oem bootloader need to get the firmware in a propietary format. If the format is not recogni

Re: [LEDE-DEV] [PATCH v3 3/4] base-files, mac80211, broadcom-wl: wifi detection and configuration

2016-10-18 Thread Christian Lamparter
On Tuesday, October 18, 2016 11:31:54 AM CEST Felix Fietkau wrote: > On 2016-10-17 15:59, Christian Lamparter wrote: > > > > Acked-by: Jo-Philipp Wich > > Signed-off-by: Mathias Kresin > > Signed-off-by: Christian Lamparter > Added to my staging tree with a small modification: > I added a check

[LEDE-DEV] [RFC netifd] Bridge member name issue when using aliased interface

2016-10-18 Thread Hans Dedecker
Hi Felix, An aliased interface can be specified as bridge member which is usefull in case the underlying device is dynamically created. In case the device is not yet present an empty string will be displayed in the ubus bridge member section as the aliased device ifname has not yet been set; not d

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-18 Thread André Valentin
Hi John! >>> can this not go into the commandline inside the devicetree ? >> I tried, but block2mtd accepts only one mapping in the command line. >> >> I will rework the patch the next days and send an update. > ah ok, let me try and find an old patch i built that adds multi instance > support to

Re: [LEDE-DEV] [PATCH v3 1/4] base-files: generate /etc/config/wireless, if it doesn't exist

2016-10-18 Thread Christian Lamparter
On Tuesday, October 18, 2016 12:05:43 PM CEST Bastian Bittorf wrote: > * Christian Lamparter [18.10.2016 08:41]: > > wifi_detect() { > > + [ ! -f /etc/config/wireless ] && touch /etc/config/wireless > > + > > for driver in $DRIVERS; do ( > > if eval "type detect_$driver" 2>/dev/

[LEDE-DEV] Need help with package dependencies

2016-10-18 Thread Zefir Kurtisi
Hi, to those understanding the package dependency logic by heart, I'm trying to achieve something I assumed to be common, but fail to get there with the help of the available documentation. The short version is this: * package A has an optional feature X provided by package B * package B is optio

Re: [LEDE-DEV] [PATCH v3 1/4] base-files: generate /etc/config/wireless, if it doesn't exist

2016-10-18 Thread Bastian Bittorf
* Christian Lamparter [18.10.2016 08:41]: > wifi_detect() { > + [ ! -f /etc/config/wireless ] && touch /etc/config/wireless > + > for driver in $DRIVERS; do ( > if eval "type detect_$driver" 2>/dev/null >/dev/null; then > eval "detect_$driver" || echo

Re: [LEDE-DEV] [PATCH] Add support for Comfast E380AC v1 and v2

2016-10-18 Thread Gareth Parker
Thanks, I'm sorting out all of this and all previous comments then will re-submit. Gareth -Original Message- From: Lede-dev [mailto:lede-dev-boun...@lists.infradead.org] On Behalf Of John Crispin Sent: Tuesday, 18 October 2016 7:14 p.m. To: Gareth Parker; lede-dev@lists.infradead.org; gar

Re: [LEDE-DEV] [PATCH]fstools: added f2fs to block-mount

2016-10-18 Thread Felix Fietkau
On 2016-10-18 11:22, Alberto Bursi wrote: > added the code to recognize the filesystem checker of f2fs > added f2fs to the filesystem whitelist of block so it can mount it on > /overlay at boot. > > I've looked at fstools, adding proper xfs support to fstools is a bit > more involved and will ta

Re: [LEDE-DEV] [PATCH v3 3/4] base-files, mac80211, broadcom-wl: wifi detection and configuration

2016-10-18 Thread Felix Fietkau
On 2016-10-17 15:59, Christian Lamparter wrote: > Currently, the wifi detection script is executed as part of > the (early) boot process. Pluggable wifi USB devices, which > are inserted at a later time are not automatically > detected and therefore they don't show up in LuCI. > > A user has to de

[LEDE-DEV] [PATCH]fstools: added f2fs to block-mount

2016-10-18 Thread Alberto Bursi
added the code to recognize the filesystem checker of f2fs added f2fs to the filesystem whitelist of block so it can mount it on /overlay at boot. I've looked at fstools, adding proper xfs support to fstools is a bit more involved and will take some time (to me anyway), I need f2fs support to l

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-18 Thread John Crispin
On 18/10/2016 09:49, André Valentin wrote: > Hi John, > > thanks for your comments. Please take a look: > > Am 18.10.2016 um 08:22 schrieb John Crispin: > >>> +++ b/target/linux/ipq806x/base-files/lib/preinit/04_set_mtd_ipq806x.sh >>> @@ -0,0 +1,21 @@ >>> +# >>> +# Copyright (C) 2009 OpenWrt.o

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-18 Thread André Valentin
Hi John, thanks for your comments. Please take a look: Am 18.10.2016 um 08:22 schrieb John Crispin: >> +++ b/target/linux/ipq806x/base-files/lib/preinit/04_set_mtd_ipq806x.sh >> @@ -0,0 +1,21 @@ >> +# >> +# Copyright (C) 2009 OpenWrt.org >> +# >> + >> +. /lib/ipq806x.sh >> +. /lib/functions/syst

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-18 Thread J Mo
On 10/18/2016 12:00 AM, John Crispin wrote: On 18/10/2016 08:54, J Mo wrote: On 10/17/2016 11:22 PM, John Crispin wrote: +boot_hook_add preinit_main preinit_assign_mtd2block diff --git a/target/linux/ipq806x/base-files/lib/preinit/05_set_iface_mac_ipq806x.sh b/target/linux/ipq806x/base-fil

Re: [LEDE-DEV] [RFC 3/3] config: ext4: use 1K blocks by default to support online resize2fs

2016-10-18 Thread Alberto Bursi
On 10/17/2016 11:25 PM, Michael Heimpold wrote: > In general, I'm fine with larger default partition size. However, this results > in large images available for download at downloads.lede-project.org... > > mhei Not necessarily, if the disk image filesystem's free space is zeroed (a guide here)

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-18 Thread J Mo
(whoops, resend in plain text) On 10/17/2016 11:22 PM, John Crispin wrote: +boot_hook_add preinit_main preinit_assign_mtd2block >diff --git a/target/linux/ipq806x/base-files/lib/preinit/05_set_iface_mac_ipq806x.sh b/target/linux/ipq806x/base-files/lib/preinit/05_set_iface_mac_ipq806x.sh >new

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-18 Thread John Crispin
On 18/10/2016 08:54, J Mo wrote: > > > On 10/17/2016 11:22 PM, John Crispin wrote: >>> +boot_hook_add preinit_main preinit_assign_mtd2block >>> > diff --git >>> > a/target/linux/ipq806x/base-files/lib/preinit/05_set_iface_mac_ipq806x.sh >>> > b/target/linux/ipq806x/base-files/lib/preinit/05_s