Hi Charlie,
Thanks for the help; but I'm still stuck.
It looks like there are several different versions of the header
sdcore.h on TS's web site. I have now found the one in the ts7800 area
that looks like the latest.
My linkage problems still remain: Using the EABI variant, and the
EABI cross compiler chain from TS's web site, I receive:
LD [M] drivers/mmc/tssdcard.ko
arm-none-linux-gnueabi-ld: ERROR: Source object
drivers/mmc/tssdcard.mod.o has EABI version 0, but target
drivers/mmc/tssdcard.ko has EABI version 4
If I attempt to use a non-EABI variant, I receive problems because
sdcore is compiled to use hardware floating point.
If I modify the sdcore.o and change the hardware floating point flags
to software I receive a kernel panic when attempting to dereference null
pointer at startup.
Any ideas?
-Brett
charliem_1216 wrote:
> Hi Brett --
>
> --- In "Breton M. Saunders"
> <> wrote:
>
>> Hi Folks,
>>
>> I'm returning to ts7400 fun after a long break.
>> I've got a variant of 2.6.19 that I'm trying to compile and get
>>
> sd
>
>> card support on.
>>
>> I've essentially copied the tssdcard.c from 2.6.21 into the
>>
> 2.6.19
>
>> distrib - with some minor mods.
>>
>> The problem I'm running into is that sdcore2.o is compiled using
>> hardware floating point, the toolchain's that I am using will not
>>
> link
>
>> against this.
>>
>> The error is this:
>>
>> LD drivers/mmc/built-in.o
>> arm-unknown-linux-gnu-ld: ERROR: drivers/mmc/sdcore2.o uses
>>
> hardware FP,
>
>> whereas drivers/mmc/built-in.o uses software FP
>> arm-unknown-linux-gnu-ld: failed to merge target specific data of
>>
> file
>
>> drivers/mmc/sdcore2.o
>> make[2]: *** [drivers/mmc/built-in.o] Error 1
>>
>
> Eddie supplied some alternate (EABI & OABI) object files, makefile
> mods, and wrote up a great walk-through of how to use these files to
> roll your own kernel. See a few messages past here:
> http://tech.groups.yahoo.com/group/ts-7000/message/11888
> and followups.
>
>
>> I have tried the gcc 4.0.1 toolchain off of TS's web site, as
>>
> well as
>
>> the kernel 2.6 gcc 3.4.4 toolchain.
>>
>> Any ideas on which toolchain I should use?
>>
>> Also, what's the deal with the sdcore.h file - I think the one
>>
> on the
>
>> website is outdated as entries are missing.
>>
>
> Is it SDDAT that's undeclared? If so, see (same thread as above):
> http://tech.groups.yahoo.com/group/ts-7000/message/11909
>
> Regards, ...... Charlie
>
>
>> Cheers,
>>
>> -Brett
>>
>>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
------------------------------------
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/
|