Re: [OpenWrt-Devel] Howto force mips64

2014-06-18 Thread John Crispin
Hi Martin, you win the medal as contributor of the day ... i have been fighting with octeon on and off for almost a month. i just dumped my own series of patches which tried to fix up uclibc and simple did what you wrote in the mail and i have a functional image for octeon :) i just tested this

Re: [OpenWrt-Devel] Howto force mips64

2014-06-17 Thread Martin Fäcknitz
force mips64 support is quite simple: set CPU_CFLAGS_octeon=-march=octeon -mabi=64 inside target/linux/octeon/Makefile and replace the same line in include/target.mk. Finally you have to add the following patch: diff --git a/target/linux/octeon/patches-3.10/-cn61xx_support.patch

Re: [OpenWrt-Devel] Howto force mips64

2014-06-17 Thread John Crispin
On 17/06/2014 11:24, Martin Fäcknitz wrote: uclibc's mips64 support is broken, so you have to use glibc. gcc-4.8 doesn't work for me (invalid TLS related code), therefore use gcc-4.6. Hi, yes, utterly broken :) i have been talking to the guys at imgtec about this and there are people

Re: [OpenWrt-Devel] Howto force mips64

2014-06-17 Thread Martin Fäcknitz
Hi, here are the patches which will fix the uclibc-mips64-tls problem: --- a/toolchain/uClibc/patches-0.9.33.2/999-mips64-tprel.patch +++ b/toolchain/uClibc/patches-0.9.33.2/999-mips64-tprel.patch @@ -1,8 +1,19 @@ Index: b/ldso/ldso/mips/elfinterp.c

Re: [OpenWrt-Devel] Howto force mips64

2014-06-16 Thread Edison Figueira Junior
hello, I can be a beta test if you want :-) Enviada do meu iPhone Em 04/06/2014, às 10:05, John Crispin j...@phrozen.org escreveu: octeon is currently only partially working. we will push a fix to trunk in the next few days. experimental patch is currently in testing. please be patient for

[OpenWrt-Devel] Howto force mips64

2014-06-04 Thread Edison Figueira Junior
Howto force to use mips64 for target octeon? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Howto force mips64

2014-06-04 Thread John Crispin
octeon is currently only partially working. we will push a fix to trunk in the next few days. experimental patch is currently in testing. please be patient for a few dyas On 04/06/2014 14:36, Edison Figueira Junior wrote: Howto force to use mips64 for target octeon?