Re: [OpenWrt-Devel] [hard floating point]

2013-02-21 Thread Alberich de megres
Thanks Florian, I will give it a try :) On Wed, Feb 20, 2013 at 4:10 PM, Florian Fainelli wrote: > Alberich, > > > On 02/20/2013 03:53 PM, Florian Fainelli wrote: > >> Hello Alberich, >> >> On 02/20/2013 02:46 PM, Alberich de megres wrote: >> >>> Hi Florian, >>> >>> I think you are right: the po

Re: [OpenWrt-Devel] [hard floating point]

2013-02-20 Thread Florian Fainelli
Alberich, On 02/20/2013 03:53 PM, Florian Fainelli wrote: Hello Alberich, On 02/20/2013 02:46 PM, Alberich de megres wrote: Hi Florian, I think you are right: the point is the toolchain. At the moment we could not release anything. The toolchain targets a normal glibc, I was expecting buildro

Re: [OpenWrt-Devel] [hard floating point]

2013-02-20 Thread Florian Fainelli
Hello Alberich, On 02/20/2013 02:46 PM, Alberich de megres wrote: Hi Florian, I think you are right: the point is the toolchain. At the moment we could not release anything. The toolchain targets a normal glibc, I was expecting buildroot would interpert it, or at least give the oportunity to us

Re: [OpenWrt-Devel] [hard floating point]

2013-02-20 Thread Alberich de megres
Hi Florian, I think you are right: the point is the toolchain. At the moment we could not release anything. The toolchain targets a normal glibc, I was expecting buildroot would interpert it, or at least give the oportunity to use different libc than uclibc when using an external toolchain, as whe

Re: [OpenWrt-Devel] [hard floating point]

2013-02-20 Thread Florian Fainelli
Hello Alberich, On 02/19/2013 04:06 PM, Alberich de megres wrote: Hi FLorian, The board contains a Broadcom SoC similar to the one in the raspberry pi (not the same), we have a kernel working for it, but when tryingo to port the openwrt all blowed up. For the moment I did: (it is a work in pro

Re: [OpenWrt-Devel] [hard floating point]

2013-02-19 Thread Alberich de megres
Hi Ted, Thank you for your reply. I did tried this changes before (patching the kernel) but then at some point buildroot forces a uclibc emulation mode, which makes the arm-hardfp-linux-ld fail. I am able to comple our kernel with this toolchain outside the openwrt. So I'm trying to find where t

Re: [OpenWrt-Devel] [hard floating point]

2013-02-19 Thread Ted Hess
Alberich - I hope the enclosed info is helpful and not just creating more confusion on this subject. I have been successfully building the RPi 3.6.11+ Kernel within the OpenWRT buildroot using the following patches (+/-)... IMMV I also am using 4.7-linaro (4.7.1) and eglibc 2.15 (20866). /te

Re: [OpenWrt-Devel] [hard floating point]

2013-02-19 Thread Alberich de megres
Hi FLorian, The board contains a Broadcom SoC similar to the one in the raspberry pi (not the same), we have a kernel working for it, but when tryingo to port the openwrt all blowed up. For the moment I did: (it is a work in progress) Created target/linux/hardfp/Makefile Created target/linux/hard

Re: [OpenWrt-Devel] [hard floating point]

2013-02-19 Thread Florian Fainelli
Hello, On 02/18/2013 09:20 PM, Alberich de megres wrote: Hello again, I was looking on how the kernel build works. All error happened when building the kernel at: oldconfig prepare scripts, and modules. The first one is defined into the include/kernel-defaults.mk , wh

Re: [OpenWrt-Devel] [hard floating point]

2013-02-19 Thread Alberich de megres
Hello again, And sorry to insist, but I need this to work. Can anyone help me? Thanks in advance On Monday, February 18, 2013, Alberich de megres wrote: > Hello again, > > I was looking on how the kernel build works. > All error happened when building the kernel at: oldconfig prepare scripts, a

Re: [OpenWrt-Devel] [hard floating point]

2013-02-18 Thread Alberich de megres
Hello again, I was looking on how the kernel build works. All error happened when building the kernel at: oldconfig prepare scripts, and modules. The first one is defined into the include/kernel-defaults.mk, which is called in this line (inside Kernel/Configure/Default define): $(MAKE) $(KERNEL_M

Re: [OpenWrt-Devel] [hard floating point]

2013-02-18 Thread Alberich de megres
Hello, Thanks for the quick reply :) On Mon, Feb 18, 2013 at 10:46 AM, Florian Fainelli wrote: > Hello, > > > On 02/18/2013 10:21 AM, Alberich de megres wrote: > >> Hello Again, >> >> And sorry to insist. >> Editing the KBUILD_CFLAGS and KBUILD_AFLAGS from the >> build_dir/linux-arm/linux/**arc

Re: [OpenWrt-Devel] [hard floating point]

2013-02-18 Thread Florian Fainelli
Hello, On 02/18/2013 10:21 AM, Alberich de megres wrote: Hello Again, And sorry to insist. Editing the KBUILD_CFLAGS and KBUILD_AFLAGS from the build_dir/linux-arm/linux/arch/arm/Makefile and removing the -msoft-float I can bypass the error. This does not sound right, the kernel must be compi

Re: [OpenWrt-Devel] [hard floating point]

2013-02-18 Thread Alberich de megres
Hello Again, And sorry to insist. Editing the KBUILD_CFLAGS and KBUILD_AFLAGS from the build_dir/linux-arm/linux/arch/arm/Makefile and removing the -msoft-float I can bypass the error. My I happiness did not last any longer.. as I'm getting this next error: arm-hardfp-linux-gnueabi-ld: unrecognis

Re: [OpenWrt-Devel] [hard floating point]

2013-02-17 Thread Alberich de megres
Hello Florian, Thanks for your quick reply. I had the fpu feature for my target Makefile, and Also I disabled the SOFT_FLOAT. Also, I did a quick hack into rules.mk to ensure msoft-float is never activated, ifeq ($(CONFIG_SOFT_FLOAT),y) # SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft # TARGET_CF

Re: [OpenWrt-Devel] [hard floating point]

2013-02-17 Thread Florian Fainelli
Hello Alberich, Le 17/02/2013 14:26, Alberich de megres a écrit : Hello, I'm trying to compile openwrt for an ARM using an external toolchain with hardfp. When openwrt buildroot is compiling the kernel, at the oldconfig prepare scripts i'm getting this error: arm-hardfp-linux-gnueabi-gcc: err