#1292: [PATCH] Fix for VFP mismatch on armv4-le-elf
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: madwifi: HAL | Version:
Resolution: | Keywords: vfp hal armv4
Patch_attached: 1 |
--------------------------------------+-------------------------------------
Comment (by [EMAIL PROTECTED]):
Replying to [comment:6 mentor]:
> Yes, I was going to put a patch in as soon as I understood the whole ARM
float thing. But if anyone understands it before me...
[[BR]]
Ok, an old thread, but I will respond, since I'm facing the same problem
:)
Some ARM cpu have floating point units (VFP7, VFP9, crunch, ...) but in
fact, this is not the problem.
The linux kernel for ARM (and I think for all others arch) is always built
without in-kernel hardware floating point support (there is support for
floating point in userland).
The problem here is that the xscale-le-elf.hal.o (and as noted by kired75
armv4-le-elf.hal.o too) was compiled with hardware floating point support.
The right way of fixing this problem is to compile these object files
using the -msoft-float compiler setting.
The proposed hack is to force the link anyway, which should work if there
is no floating point instruction in this code (and floating point is
prohibed in kernel, if I good remember).
please note that all ARM based platforms needs this hack:
* armv4-le-elf.hal.o
* armv4-be-elf.hal.o
* xscale-le-elf.hal.o
* xscale-be-elf.hal.o (was already hacked :)
I will receive by mail my minipci wifi card, I will test it on xscale-le-
elf, and I will post
the updated patch for all the ARM arch asap
Best regards
Marc
--
Ticket URL: <http://madwifi.org/ticket/1292#comment:7>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets