janne.kario napsal(a):
> --- In Daniel Smolik <> wrote:
>> I do the same job may be 6 month ago. But I found that header files
> doesn't correspond with sdcore.o. How do you solve
>> this problem ?
>
> I used forum search and tried to figure out what you did 6 months ago.
> I too first tried to link against
>
> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/binaries/ts-modules/sdcard-sdhc.o
>
> because it is newer. However, it appears that sdcard-sdhc.o is not a
> library file but a complete linux kernel driver. If you objdump the
> file you can see that it contains init_module and cleanup_module
> functions.
>
> j
I don't remember this very well, but I think that I use sdcore2.o.
There is part of my Makefile:
#
# SD Card driver for TS-ARM
#
obj-m := tssdcard.o
tssdcard-y := tssdcard2.o sdcore2_bin.o
obj-$(CONFIG_TS_SDCARD) += tssdcard.o
#tssdcard-objs := tssdcard2.o sdcore2.o
-rw-r--r-- 1 root root 35336 2007-12-20 21:41 sdcore2_bin.o_shipped
And I found undefined variables in struct sdcore (sdcore.h)
I must add this to get it compile cleanly, but i mean that problem is there.
unsigned int sd_lun;
void (*os_irqwait)(void *os_arg, int debug);
unsigned int sd_writeparking;
Dan
--
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/
|