ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: SD card trouble

To:
Subject: Re: [ts-7000] Re: SD card trouble
From: Daniel Smolik <>
Date: Wed, 18 Jun 2008 00:34:18 +0200
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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU