--- In "Blair" <> wrote:
>
> If you have encountered a similar problem to the following:
>
> insmod: error inserting '/home/alsa/drivers/snd.ko': -1 Invalid module format
>
> Dmesg | tail says:
>
> snd: unknown relocation: 40
>
> For drivers that you built with a crosstool rather than on the hardware
> itself, apparently there is a bug in the kernel. This link describes it in
> more detail:
>
> https://patchwork.kernel.org/patch/15546/
>
> I have patched the 2.6.21-ts kernel and I can now load the drivers that were
> built on a crosstool. Kris at TS confirmed there is a potential problem and
> had me verify with their crosstool.
>
> Another web reference talked about binutils after 2.18 having a problem but
> apparently 2.18 has some sort of problem with EABI and 2.20 didn't help. The
> above patch seems to work fine.
>
If you have a working cross compiled toolchain you may as well move to a more
recent kernel (at least 2.6.29) quite a lot more support specically for armv4
and TS boards has now got into mainline kernel.
It's possible to use the maverick fpu as well which may be useful depending on
what the board does.
You only need to build about 10 packages to reproduce the equivalent of TSlinux
(although figuring out all the ./configure options etc needs some digging).
crosstools-ng does most of the work of providing and applying relevent patches.
------------------------------------
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/
|