kmoore37918 napsal(a):
> okay, I've tried building a kernel that uses tssdcore.c, sdcore.h, and
> sdcore2.o, and run into the following problems:
>
> 1. compiling tssdcard.o fails with the following errors:
>
> CC drivers/tssd/tssdcard.o
> drivers/tssd/tssdcard.c: In function '__check_name':
> drivers/tssd/tssdcard.c:162: warning: return from incompatible pointer
> type
> drivers/tssd/tssdcard.c: In function 'tssdcard_dmastream':
> drivers/tssd/tssdcard.c:338: warning: 'virt_to_bus' is deprecated
> (declared at include/asm/memory.h:192)
> drivers/tssd/tssdcard.c: In function 'tssdcard_fullreq_thread':
> drivers/tssd/tssdcard.c:707: warning: unused variable 'bio'
> drivers/tssd/tssdcard.c: In function 'tssdcard_open':
> drivers/tssd/tssdcard.c:734: warning: unused variable 'ret'
> drivers/tssd/tssdcard.c: In function 'setup_device':
> drivers/tssd/tssdcard.c:912: error: 'struct sdcore' has no member
> named 'sd_writeparking'
> drivers/tssd/tssdcard.c:998: warning: implicit declaration of function
> 'register_reboot_notifier'
>
> (I also modified tssdcard.c to call __arm_ioremap rather than __ioremap)
>
> it looks like there are several problems:
>
> a) tssdcore.c is using a deprecated dma interface for TS72XX boards
> b) sdcore.h doesn't expose member sd_writeparking of struct sdcore,
> even though the driver uses it
> c) even if I comment out the initialization of sd_writeparking to 1,
> the kernel can't link in sdcore.o because it's not an EABI object
> file.
>
> I've also looked at getting the unencumbered SD/MMC code from an
> upcoming Linux release to work with this board, but there doesn't seem
> to be a driver for the board's proprietary, undocumented SD hardware
> interface.
I try this on 2.4.26-ts11 and my 2.6.23-rc1 with I use on 7250 and 7200
and 2.6.21-ts and haven't success. I get the same messages. Have anybody
working SD card driver under selfcompiled kernel ?
Dan
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/
|