[LEDE-DEV] [PATCH] lantiq: fix building AVM/EVA sysupgrade images on NOR devices

2016-08-21 Thread Martin Blumenstingl
Device/AVM unconditionally inherits Device/NAND, which changes the sysupgrade image to sysupgrade-tar (instead of a "raw" sysupgrade image as used in the Device/Default template). This moves the Device/NAND call to the FRITZ3370 device definition, as this is the only AVM/EVA device that uses NAND.

[LEDE-DEV] [PATCH 0/4] MIPS: switch from 34kc/1004kc to 24kc

2016-08-21 Thread Jonas Gorski
GCC treats both 34Kc and 1004Kc as aliases for 24Kc, and will generate identical code for all three. Exhibit a) In gcc/gcc/config/mips-cpus.def, they are treated as equal: ... MIPS_CPU ("24kc", PROCESSOR_24KC, 33, 0) ... MIPS_CPU ("34kc", PROCESSOR_24KC, 33, 0) /* 34K with MT/DSP. */ ... M

[LEDE-DEV] [PATCH 1/4] ar71xx: switch to 24kc

2016-08-21 Thread Jonas Gorski
GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 34kc instead of 24kc. Signed-off-by: Jonas Gorski --- target/linux/ar71xx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/

[LEDE-DEV] [PATCH 4/4] ramips: mt7621: switch to 24kc

2016-08-21 Thread Jonas Gorski
1004kc is just a SMP capable 34kc, and GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 1004kc instead of 24kc. Signed-off-by: Jonas Gorski --- include/target.mk| 1 - target/linux/ramips/mt7621/target.mk | 2 +- 2 fil

[LEDE-DEV] [PATCH 2/4] lantiq: switch from 34k to 24k

2016-08-21 Thread Jonas Gorski
GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 34kc instead of 24kc. Signed-off-by: Jonas Gorski --- target/linux/lantiq/xrx200/target.mk | 2 +- target/linux/lantiq/xway/target.mk| 2 +- target/linux/lantiq/xway_legacy/tar

[LEDE-DEV] [PATCH 3/4] include: remove 34k distinction

2016-08-21 Thread Jonas Gorski
Now that there are no users anymore, drop the 34kc CPU_FLAGS. Signed-off-by: Jonas Gorski --- include/target.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/include/target.mk b/include/target.mk index 8b94959..ed15d04 100644 --- a/include/target.mk +++ b/include/target.mk @@ -167,7 +167,6

Re: [LEDE-DEV] [PATCH 3/4] include: remove 34k distinction

2016-08-21 Thread John Crispin
On 21/08/2016 19:23, Jonas Gorski wrote: > Now that there are no users anymore, drop the 34kc CPU_FLAGS. > > Signed-off-by: Jonas Gorski > --- > include/target.mk | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/target.mk b/include/target.mk > index 8b94959..ed15d04 100644 > --

Re: [LEDE-DEV] TP-Link Archer C7 boot loop

2016-08-21 Thread e9hack
Am 20.08.2016 um 23:35 schrieb Jochen Demmer: > yesterday I bricked an Archer C7 v2 by installing some homebrew (buildroot) > lede firmware. > It got stuck in a boot loop and it's also not reachable on 192.168.1.1 on any > time during > boot whatsoever. No failsafe mode. Archer C7 v2 can be un-b

Re: [LEDE-DEV] [PATCH 3/4] include: remove 34k distinction

2016-08-21 Thread John Crispin
On 21/08/2016 19:52, John Crispin wrote: > > > On 21/08/2016 19:23, Jonas Gorski wrote: >> Now that there are no users anymore, drop the 34kc CPU_FLAGS. >> >> Signed-off-by: Jonas Gorski >> --- >> include/target.mk | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/include/target.mk b

Re: [LEDE-DEV] Legal question/request

2016-08-21 Thread John Crispin
On 18/08/2016 13:51, Alexandru Ardelean wrote: > Hey, > > 1) Preamble > So, long story short. > The legal department at work requires some legality regarding the way > I (and some other colleagues) continue to upstream patches (and Pull > Requests) to LEDE. > > For OpenWrt, I referenced: > http

Re: [LEDE-DEV] [PATCH 2/4] lantiq: switch from 34k to 24k

2016-08-21 Thread A. Benz
> GCC treats 24kc and 34kc exactly the same and will generate identical > code, so there is no need to tune to 34kc instead of 24kc. Perhaps a future version of GCC will have this changed. Keep them as they are, whether they are aliases (at this point) or not is irrelevant. If GCC has them as t

[LEDE-DEV] Regarding switching "everything" to 24kc

2016-08-21 Thread Daniel Engberg
Hi, Before going all in switching to 24kc, 74kc seems to use a different code path and looking at datasheets 1004kc seems more similar to 74kc than 24kc. Please benchmark the impact between 74kc and 24kc on 1004kc and possibly on 74kc devices before blindly(?) switching. http://code.metager.

Re: [LEDE-DEV] [PATCH 1/3] brcm63xx: fix Livebox 1 support: DTS

2016-08-21 Thread Rafał Miłecki
On 16 August 2016 at 13:47, Daniel Gonzalez Cabanelas wrote: > Fix the DTS file for the Livebox 1 routers: > - leds are totally wrong, fix them. > - no failsafe button, use button 1 for this purpose > - part probe wrong, it should be RedBoot (uppercase matters) > > Signed-off-by: Daniel Gonzalez C

Re: [LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-08-21 Thread Rafał Miłecki
On 13 August 2016 at 13:04, wrote: > From: Sergey Sergeev > > scp uls(like this > scp://adron@192.168.88.6:lede/lede-ar71xx-mikrotik-NAND-512b-squashfs-sysupgrade.bin) > is supported too. And you also can specify custom ssh > port(...8.88.6:22110:lede...) > > Signed-off-by: Sergey Sergee