Re: [OpenWrt-Devel] [PATCH] OpenSSL: update to 1.0.1g

2014-04-10 Thread Jay Carlson
On April 8, 2014 at 3:57:57 AM, Michel Stempin (michel.stem...@wanadoo.fr) wrote: > Le 08/04/2014 08:37, Steven Barth a écrit : > > Applied, thanks. Will probably take care of AA later today. >  > Does it mean that ther ewill be a new AA binary release, or just the sources > will be updated? A

[OpenWrt-Devel] [PATCH] cmake.mk should use no-ccache variants of CC/CXX

2013-11-08 Thread Jay Carlson
ff-by: Jay Carlson --- include/cmake.mk |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cmake.mk b/include/cmake.mk index 7746321..619ee98 100644 --- a/include/cmake.mk +++ b/include/cmake.mk @@ -24,9 +24,9 @@ else CCACHE:=$(STAGING_DIR_HOST)/bin/ccache

Re: [OpenWrt-Devel] [PATCH] disable mips16 for mysql and postgresql

2013-11-04 Thread Jay Carlson
On Nov 3, 2013, at 11:46 AM, Matthew M. Dean wrote: > mysql does not compile with mips16 enabled, here is the fix. Well, it's *a* fix. The underlying gcc bug is #51931 "No support for MIPS16 long branches", and happens when functions get really large. In this case, it's the bison-generated SQL

[OpenWrt-Devel] WD MyNet N750: ar9344 + ar8327 switch, unclear on phy/mdio/mac wiring

2013-10-22 Thread Jay Carlson
oes the switch setup problem sound familiar? I can back out all my printk garbage and post my (clueless) board setup code if it would help. I can mail a box to somebody who's worked with ar934x, although I've never mailed hardware out

Re: [OpenWrt-Devel] LTS Kernel

2013-04-10 Thread Jay Carlson
On Apr 8, 2013, at 5:49 PM, David Lang wrote: > A lot of people get really nervous about installing from a dev tree onto > their one and only router. They really should be able to install from a > release before the hardware is discontinued. That is a really good way of saying it. Even 2011-12-

Re: [OpenWrt-Devel] What does CONFIG_TLS_SUPPORT=n mean? (was Re: [PATCH 3/5][mips16] Disable mips16 for uClibc for now)

2013-04-08 Thread Jay Carlson
On Apr 7, 2013, at 5:28 AM, Felix Fietkau wrote: > On 2013-04-04 4:56 AM, Jay Carlson wrote: >> On Apr 3, 2013, at 4:30 PM, Jay Carlson wrote: >> >>> In addition, touching errno means touching a TLS model symbol, and >>> that's not supported in gcc 4.6. >

Re: [OpenWrt-Devel] [PATCH 0/5][mips16] Minimal patches for userspace mips16

2013-04-06 Thread Jay Carlson
On Apr 5, 2013, at 8:47 AM, Florian Fainelli wrote: > I would be grateful if you could also test with vanilla GCC 4.6, 4.7 and 4.8 > and 4.7-linaro whether we need the GCC patch you provided? We need something for each, but the file I'm patching doesn't exist in some other versions. I'm going t

[OpenWrt-Devel] Thought-experiment: big-TLB MIPS global shared segment

2013-04-04 Thread Jay Carlson
I don't know whether this is worth it. I would need to spend a lot more time with the simulator and oprofile. But once I had the idea I had to write it down. And if somebody decides to build a non-PIC ABI, this is definitely worth it. I mentioned before I'm wondering about the tiny number of TL

[OpenWrt-Devel] What does CONFIG_TLS_SUPPORT=n mean? (was Re: [PATCH 3/5][mips16] Disable mips16 for uClibc for now)

2013-04-03 Thread Jay Carlson
On Apr 3, 2013, at 4:30 PM, Jay Carlson wrote: > In addition, touching errno means touching a TLS model symbol, and > that's not supported in gcc 4.6. OK, that's starting to look like a bug. At the toplevel .config, the default is CONFIG_TLS_SUPPORT off. This triggers too

Re: [OpenWrt-Devel] [PATCH 0/5][mips16] Minimal patches for userspace mips16

2013-04-03 Thread Jay Carlson
On Apr 3, 2013, at 4:47 PM, Florian Fainelli wrote: > Did you also enable a MIPS16 build of the kernel or just user-space for now? Just user-space. I think there may be large parts of the kernel which can be built in mips16. Because the rest of the mailing list probably doesn't read all the tic

[OpenWrt-Devel] [PATCH 3/5][mips16] Disable mips16 for uClibc for now

2013-04-03 Thread Jay Carlson
be no fun. Signed-off-by: Jay Carlson --- toolchain/uClibc/common.mk |2 ++ 1 file changed, 2 insertions(+) diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk index 5f3bd29..6d07b76 100644 --- a/toolchain/uClibc/common.mk +++ b/toolchain/uClibc/common.mk @@ -44,6 +44,8 @

[OpenWrt-Devel] [PATCH 0/5][mips16] Minimal patches for userspace mips16

2013-04-03 Thread Jay Carlson
erlink-mips16 -mips16" to CONFIG_TARGET_OPTIMIZATION. Jay Carlson (5): Separate TARGET_AS and TARGET_ASFLAGS; append -mno-mips16 to TARGET_ASFLAGS if otherwise in CFLAGS. Since we get a bunch of modified static libraries, get a new arch name for the toolchain directory.

[OpenWrt-Devel] [PATCH 5/5][mips16][package/openssl] Pass in any TARGET_ASFLAGS

2013-04-03 Thread Jay Carlson
Packages not picking up the regular TARGET_AS need their openwrt Makefiles tweaked. For a basic build, that's just openssl. This depends on patch 1/5. Signed-off-by: Jay Carlson --- package/openssl/Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/package/openssl/Makef

[OpenWrt-Devel] [PATCH 4/5][mips16] .init and .fini need to pick one ISA

2013-04-03 Thread Jay Carlson
the t-libgcc-mips16 makefile fragment is a hack not suitable for pushing upstream, but there is no mips/t-linux or mips/t-uclibc and I am not going to touch gcc/configure for two lines. Signed-off-by: Jay Carlson --- .../gcc/patches/4.6-linaro/900-bad-mips16-crt |9 + 1 file chang

[OpenWrt-Devel] [PATCH 1/5][mips16] Create TARGET_ASFLAGS; force -mno-mips16

2013-04-03 Thread Jay Carlson
Create and use a TARGET_ASFLAGS, defaulting to TARGET_CFLAGS. MIPS .S files reasonably assume they are not in mips16 mode. Because "-mips16 -mno-mips16" results in -mno-mips16, I can append that to the TARGET_ASFLAGS. This should be done with $(filter-out)? Signed-off-by: J

[OpenWrt-Devel] [PATCH 2/5][mips16] MIPS16 builds get a different toolchain

2013-04-03 Thread Jay Carlson
To be safe, build "m16" into the toolchain and target architecture the same way mips32r2 does: target-mips_r2_m16_uClibc-0.9.33.2 toolchain-mips_r2_m16_gcc-4.6-linaro_uClibc-0.9.33.2 Signed-off-by: Jay Carlson --- rules.mk |1 + 1 file changed, 1 insertion(+) diff --git a/

[OpenWrt-Devel] [PATCH] [include] If cmake running ccache, use nocache compiler flavor

2013-04-01 Thread Jay Carlson
away with this change. Signed-off-by: Jay Carlson --- include/cmake.mk |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cmake.mk b/include/cmake.mk index 4c4af50..a1a5a4b 100644 --- a/include/cmake.mk +++ b/include/cmake.mk @@ -22,9 +22,9 @@ else CCACHE:=$(S

[OpenWrt-Devel] benchmarks? small TLB on small MIPS boxes?

2013-03-27 Thread Jay Carlson
I've been playing with performance hacks, mostly for fun. I have a mips16 patch which seems to work, but running microbenchmarks in lua isn't very interesting. What's a good macrobenchmark reflecting what people actually care about? Rebuilding a ppp config? luci status page load speed? My

Re: [OpenWrt-Devel] [PATCH][RFC] uboot-kirkwood: upgrade to 2012.10

2012-11-30 Thread Jay Carlson
On Nov 30, 2012, at 3:57 AM, Luka Perkov wrote: > On Wed, Nov 28, 2012 at 08:01:55PM -0500, Jay Carlson wrote: >>> Sorry it took me a while to test your patch. I applied it to trunk >>> r33391 and can confirm, that uboot works fine on my dockstar when >>> installed

Re: [OpenWrt-Devel] [PATCH][RFC] uboot-kirkwood: upgrade to 2012.10

2012-11-28 Thread Jay Carlson
On Nov 4, 2012, at 11:57 AM, Martin Mueller wrote: > On Thu, Oct 18, 2012 at 10:59:00PM +0200, openwrt at lukaperkov.net wrote: >> All our kirkwood uboot patches have been upstreamed with this release ;) >> >> Board owners please test this patch and give feedback for the boards: >> >> * dockstar