ts-7000
[Top] [All Lists]

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

To:
Subject: [ts-7000] Re: has anyone managed to get SD working with linux 2.6?
From: "kmoore37918" <>
Date: Fri, 16 Nov 2007 22:04:22 -0000
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.




 
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