ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: has anyone managed to get SD working with linux 2.6?

To:
Subject: Re: [ts-7000] Re: has anyone managed to get SD working with linux 2.6?
From: Daniel Smolik <>
Date: Sun, 16 Dec 2007 16:50:54 +0100
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/
 

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [ts-7000] Re: has anyone managed to get SD working with linux 2.6?, Daniel Smolik <=
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