I don't know if this could help you,
but from what I understand gcc 4 natively supports the maverick
co-processor, so if you want to compile everything (kernel, modules,
libs, applications) with MaverickCrunch support you just have to set
the flags when you compile your stuff (mcpu='ep9312', mfp='maverick').
More infos here:
http://gcc.gnu.org/onlinedocs/gcc-4.0.1/gcc/ARM-Options.html
Anyway, I had problems compiling the kernel with gcc 4 because it
complained about an undefined option (-mapcs-32). I haven't tried it
yet, but from what I understand this option is deprecated now (gcc >
3.4) and you could just skip it.
Otherwise another option is to patch gcc 3.3 with maverick support
(you find the sources on http://arm.cirrus.com), but I think it's too
much complex...
Other infos here:
http://www.simplemachines.it/optimize.html
I hope it helps
Andrea
--- In "oberg_at_isy" <> wrote:
>
> This topic has been discussed earlier on this forum and i got the
> impression that math crunch was a nono, but since then things have
> happened so i thought i'd bring it up again.
>
> I would like to use the math crunch engine that is included in the 9302.
> I am assuming that this would make floating point math a lot faster than
> using software math which in turn is a lot faster than letting the
> kernel handle the interrupt that occurs if software math lib is missing.
> Is that correct and if so, how much faster?
>
> Since gcc-4++ somewhere the -fpu=crunch option is included in gcc
> (cannot remember the exact notation.) Is it possible to compile a
> program with crosstools using the -static option and then run it on a
> board that does not have anything else compiled with those flags?
>
> I would like to have everything (gcc,libs,kernel etc.) compiled with the
> same compiler and using the -fpu=crunch flag (or something). Has anyone
> tried that?
>
> Thanks
> Per Öberg
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|