Hi,
Iam also trying for the same thing on our devm board.
can u send me patch applied for it.

harish

On 4/6/07, Sweta <[EMAIL PROTECTED]> wrote:

Hi all,

I am working on TMS320DM644x processor.
I have compiled the kernel (linux-2.6.10 MVL401) with necessary patch
for MMC-SD.
SD card gets detected from kernel's driver properly.
But I want to know the memory capacity of MMC-SD card from an ARM
application in linux.
Does any one know how to detect capacity of SD card from application ?
Is there any register or ioctl for that ?

Also, SD card is of 512 MB.But from kernel it detects 495488 KiB. Should
it not be 512 MB = 524288 KB ?
I suppose that memory of SD card is divided into two parts : protected
memory & general purpose memory.
So is 495488 KiB the general purpose memory ?
How to detect the amount of memory I can use for storage purpose  ?

Thanks in advance,
Sweta


eInfochips Business Disclaimer:
This message may contain confidential, proprietary or legally Privileged
information. In case you are not the original intended Recipient of the
message, you must not, directly or indirectly, use, Disclose, distribute,
print, or copy any part of this message and you are requested to delete it
and inform the sender. Any views expressed in this message are those of the
individual sender unless otherwise stated. Nothing contained in this message
shall be construed as an offer or acceptance of any offer by eInfochips
Limited and/or eInfochips Inc("eInfochips") unless sent with that express
intent and with due authority of eInfochips. eInfochips has taken enough
precautions to prevent the spread of viruses. However the company accepts no
liability for any damage caused by any virus transmitted by this email.
_______________________________________________
Davinci-linux-open-source mailing list
[EMAIL PROTECTED]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

_______________________________________________
Davinci-linux-open-source mailing list
[EMAIL PROTECTED]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to