Fotis Loukos napsal(a):
> charliem_1216 wrote:
>> --- In Fotis Loukos <> wrote:
>>> Daniel Smolik wrote:
>>>> Hi,
>>>>
>>>> I have trying compile tssdcard.ko I spend lot of time and
>> haven't
>>>> success. I must modify Makefile to link code with binary blob.
>>>> #
>>>> # SD Card driver for TS-ARM
>>>> #
>>>> obj-m := tssdcard.o
>>>> tssdcard-y := tssdcard2.o sdcore2_bin.o
>>>>
>>>> obj-$(CONFIG_TS_SDCARD) += tssdcard.o
>>>>
>>>>
>>>> But get this:
>>>>
>>>> arm-none-linux-gnueabi-ld: ERROR: Source object
>>>> drivers/mmc/sdcore2_bin.o has EABI version 0, but target
>>>> drivers/mmc/tssdcard.o has EABI version 4
>>>> arm-none-linux-gnueabi-ld: failed to merge target specific data
>> of file
>>>> drivers/mmc/sdcore2_bin.o
>>>> make[2]: *** [drivers/mmc/tssdcard.o] Error 1
>>>>
>>>> I mean this shows that TS use different compiler to compile
>> blob than I
>>>> download from TS pages. I normaly use gcc 4.4 and this fail
>> too but
>>>> with another messages.
>>>>
>>>> Dan
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>> I have created an EABI version 4 sdcore2.o. But I'm not sure if I
>> can
>>> distribute it. Some reverse engineering has been done so... Any
>> lawyers
>>> here? :)
>>>
>>> Fotis
>>>
>> Why don't you ask TS? They want to support 2.6, I'm sure they would
>> generate the proper module. But they might need some guidance on
>> why it's needed and how to do it. (I didn't even know there were
>> different EABI versions)
>>
>> Or, you could simply post instructions on how do the modifications.
>> But that's not a long term solution.
>>
>> Or, TS could release the source :) (Just kidding ... I know the
>> issues. Too bad though, that TS signed the NDA. I think there is
>> enough info publicly available to do the interface now).
>>
>>
>> Regards, .......... Charlie
>>
>
>
> I asked TS and they told me they're not sure if it's legal. I'm willing
> to work together with them and create a driver. From the hits at my
> website I see that a lot of people are interested in this driver.
>
> Fotis
>
>
May be I found (hack not solution) I replace gcc parameter -fsoft-float
with -fhard-float and recompile kernel. After this I can link sdcore2.o
without any modification (but better was recompile sdcore2.o with
-fsoft-float) and now I compile driver. After insert this on my TS-7400
I get this:
tssdcard: Technologic Systems SD card controller, address 0x13000000
tssdcard: card /dev/tssdcarda has 2012160 sectors (LUN 0)
tssdcarda:size:0 sector:0 amount:8 rw:0
Beyond-end write (0 8)
unknown partition table
# modprobe ts7XX0
Searching for NAND flash...
NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB
3,3V 8-bit
)
Scanning device for bad blocks
Hardware ECC detected
Using MBR partition definition
Creating 4 MTD partitions on "NAND 32MiB 3,3V 8-bit":
0x00000000-0x02000000 : "whole chip"
0x00004000-0x00204000 : "kernel"
0x00204000-0x00314000 : "initrd"
0x00314000-0x02000000 : "rootfs"
#
Dan
>
> Yahoo! Groups Links
>
>
>
--
Mydatex s r.o.
http://www.mydatex.cz
email:
mob: 604200362
tel: 226210085
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/
|