[LEDE-DEV] jffs issues on sysupgrade with keeping old config

2016-06-19 Thread Josh Bendavid
Hi, Having some issues with sysupgrade on Archer C2600 (ipq806x with NOR flash). (from the discussion at https://forum.openwrt.org/viewtopic.php?pid=327671#p327671) When doing sysupgrade without keeping config files, everything goes ok. In that case at first boot I get Sat Jun 18 09:50:48 2016 u

[LEDE-DEV] fstools: ext4 overlay support - rootfs mounted twice bug

2016-06-19 Thread Josua Mayer
Hi everybody, Some of you might remember that there was a bug where an ext4 rootfs was mounted twice, first as / and then as overlay. After staring down the mount_root.c file I think I spotted the reason for it. Sadly I was not able to reproduce the original problem so I am looking for somebody wh

[LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread Mathias Kresin
So far the network in failsafe is setup only for one board. Use the eth0 interface as lan interface for all boards for now. If a board has its lan interface(s) on another eth, a special handling based on the board name can be added. Signed-off-by: Mathias Kresin --- .../lantiq/base-files/lib/pr

[LEDE-DEV] [PATCH] lantiq: fix build of NAND sysupgrade images

2016-06-19 Thread Mathias Kresin
The *_UBIFS_OPTS variables need to be prefixed with DEVICE_ to match the profile name. The conditions need to be evaluated after the *_UBIFS_OPTS are set, otherwise the variables are always empty. Do not append or pass the DEVICE_ prefixed profile name to the images. Use the name that is passed b

[LEDE-DEV] [PATCH] lantiq: diag - switch off the power led on failsafe

2016-06-19 Thread Mathias Kresin
This patch is a follow up to commit 4cf3fd4 "add support for indicating the boot state using three leds". At the time of writing the patch, I wasn't aware that it's possible to switch info failsafe after boot (factory reset). Enabling the failsafe led without disabling the running led causes an u

[LEDE-DEV] [PATCH] lantiq: BTHOMEHUBV5A - use the power event code for the restart button

2016-06-19 Thread Mathias Kresin
The restart event code is used in LEDE to trigger a factory reset on long press as well. By using the power event code, the restart functionality can be used without being prone to trigger a factory reset. Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 2 +- 1 file

[LEDE-DEV] Me prioritizing work on automated bug report data collection

2016-06-19 Thread Daniel Curran-Dickinson
Hi, I'm thinking since I'll be having limited time to LEDE for a while that once we know what we're doing for bug report system that I should prioritize the LuCI and command line bug report info tool (to maximize usefulness of bug reports) and that's probably the most useful thing I can work on in

Re: [LEDE-DEV] lede integration issues remaining from the detrius of cerowrt

2016-06-19 Thread Daniel Curran-Dickinson
On Thu, 2016-06-16 at 10:34 -0400, Aaron Z wrote: > On Thu, Jun 16, 2016 at 4:03 AM, David Lang wrote: > > With Imagebuilder and things pre-compiled, what does it take to create an > > image? I'm wondering if this is something that can be converted to a web UI > > where we could have someone sele

Re: [LEDE-DEV] lede integration issues remaining from the detrius of cerowrt

2016-06-19 Thread Daniel Curran-Dickinson
Hi David, Thanks for the good info on wear levelling; apparently I was misinformed on the topic. On Thu, 2016-06-16 at 01:03 -0700, David Lang wrote: [snip] > >>> To a certain extent though, I question the need for something as > >>> restricted as OpenWrt > >>> for the new bigger devices anywa

Re: [LEDE-DEV] lede integration issues remaining from the detrius of cerowrt

2016-06-19 Thread David Lang
On Sun, 19 Jun 2016, Daniel Curran-Dickinson wrote: On Thu, 2016-06-16 at 10:34 -0400, Aaron Z wrote: On Thu, Jun 16, 2016 at 4:03 AM, David Lang wrote: With Imagebuilder and things pre-compiled, what does it take to create an image? I'm wondering if this is something that can be converted to

Re: [LEDE-DEV] looking for ar7 testers

2016-06-19 Thread Daniel Curran-Dickinson
On Wed, 2016-06-15 at 19:52 -0700, David Lang wrote: > Is there a list of hardware that is needed? (or do you want donations of > money > for the project to buy hardware)? TBH I'm not sure how useful random hardware donations are. For example getting a router which is more than just updating i

Re: [LEDE-DEV] TR-069 and OpenWrt discussion on these lists?

2016-06-19 Thread Daniel Curran-Dickinson
On Thu, 2016-06-16 at 02:50 -0500, L. D. Pinney wrote: > From the OP > > I wanted to ask folks whether they want me to continue to cross post to these > Quite frankly I think it's great that companies are stepping up and contributing back - I think the lack of that is a frustration that more th

Re: [LEDE-DEV] TR-069 and OpenWrt discussion on these lists?

2016-06-19 Thread Daniel Curran-Dickinson
On Wed, 2016-06-15 at 16:55 -0700, Dave Taht wrote: > On Wed, Jun 15, 2016 at 3:22 PM, L. D. Pinney wrote: > > It's a Development List ... no place for corporate agendas. > > I think you are making a good point here, being that there is only one > lede list, presently, and devs would like to jus

Re: [LEDE-DEV] lede integration issues remaining from the detrius of cerowrt

2016-06-19 Thread Daniel Curran-Dickinson
On Sun, 2016-06-19 at 12:35 -0700, David Lang wrote: > On Sun, 19 Jun 2016, Daniel Curran-Dickinson wrote: > > > On Thu, 2016-06-16 at 10:34 -0400, Aaron Z wrote: > >> On Thu, Jun 16, 2016 at 4:03 AM, David Lang wrote: > >>> With Imagebuilder and things pre-compiled, what does it take to create

Re: [LEDE-DEV] lede integration issues remaining from the detrius of cerowrt

2016-06-19 Thread David Lang
On Sun, 19 Jun 2016, Daniel Curran-Dickinson wrote: On Sun, 2016-06-19 at 12:35 -0700, David Lang wrote: On Sun, 19 Jun 2016, Daniel Curran-Dickinson wrote: On Thu, 2016-06-16 at 10:34 -0400, Aaron Z wrote: On Thu, Jun 16, 2016 at 4:03 AM, David Lang wrote: With Imagebuilder and things pre

Re: [LEDE-DEV] looking for ar7 testers

2016-06-19 Thread David Lang
On Sun, 19 Jun 2016, Daniel Curran-Dickinson wrote: On Wed, 2016-06-15 at 19:52 -0700, David Lang wrote: Is there a list of hardware that is needed? (or do you want donations of money for the project to buy hardware)? TBH I'm not sure how useful random hardware donations are. For example get

Re: [LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread Zhao, Gang
Hi, Mathias Kresin On Sun, Jun 19, 2016 at 10:30 PM, Mathias Kresin wrote: > So far the network in failsafe is setup only for one board. Use the > eth0 interface as lan interface for all boards for now. > > If a board has its lan interface(s) on another eth, a special > handling based on the boar

Re: [LEDE-DEV] looking for ar7 testers

2016-06-19 Thread John Crispin
On 20/06/2016 02:51, David Lang wrote: > On Sun, 19 Jun 2016, Daniel Curran-Dickinson wrote: > >> On Wed, 2016-06-15 at 19:52 -0700, David Lang wrote: >>> Is there a list of hardware that is needed? (or do you want donations >>> of money >>> for the project to buy hardware)? >> >> TBH I'm not su

Re: [LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread John Crispin
On 20/06/2016 05:15, Zhao, Gang wrote: > Hi, Mathias Kresin > > On Sun, Jun 19, 2016 at 10:30 PM, Mathias Kresin wrote: >> So far the network in failsafe is setup only for one board. Use the >> eth0 interface as lan interface for all boards for now. >> >> If a board has its lan interface(s) on

[LEDE-DEV] [PATCH] uloop: handle waker pipe write() return value

2016-06-19 Thread Eyal Birger
Recent glibc warns if result of read() or write() is unused. Added a retry in case of EINTR, all other faults are silently discarded. Signed-off-by: Eyal Birger - - I was not able to reproduce the EINTR case, but it seems to be the right thing to do - Retrying on EAGAIN in this case would

Re: [LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread Mathias Kresin
Am 20.06.2016 um 07:19 schrieb John Crispin: On 20/06/2016 05:15, Zhao, Gang wrote: Hi, Mathias Kresin On Sun, Jun 19, 2016 at 10:30 PM, Mathias Kresin wrote: So far the network in failsafe is setup only for one board. Use the eth0 interface as lan interface for all boards for now. If a bo

Re: [LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread John Crispin
On 20/06/2016 07:39, Mathias Kresin wrote: > Am 20.06.2016 um 07:19 schrieb John Crispin: >> >> >> On 20/06/2016 05:15, Zhao, Gang wrote: >>> Hi, Mathias Kresin >>> >>> On Sun, Jun 19, 2016 at 10:30 PM, Mathias Kresin wrote: So far the network in failsafe is setup only for one board. Use th

Re: [LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread Mathias Kresin
Am 20.06.2016 um 05:15 schrieb Zhao, Gang: Hi, Mathias Kresin On Sun, Jun 19, 2016 at 10:30 PM, Mathias Kresin wrote: So far the network in failsafe is setup only for one board. Use the eth0 interface as lan interface for all boards for now. If a board has its lan interface(s) on another eth,

Re: [LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread Mathias Kresin
Am 20.06.2016 um 07:40 schrieb John Crispin: On 20/06/2016 07:39, Mathias Kresin wrote: Am 20.06.2016 um 07:19 schrieb John Crispin: On 20/06/2016 05:15, Zhao, Gang wrote: Hi, Mathias Kresin On Sun, Jun 19, 2016 at 10:30 PM, Mathias Kresin wrote: So far the network in failsafe is setup