hi all, I am able to get the entry for MMC in /proc/devices and also got a node in /dev directory with the name mmcblk0 n mmcblk0p1.
1.the problem i am facing is that when i insert MMC then system gets hang and comes out by hiting a key. 2.when I try mount the MMC card i am geting the following error # mount /dev/mmcblk0 /mnt/mmc/ FAT: bogus number of reserved sectors VFS: Can't find a valid FAT filesystem on dev mmcblk0. yaffs: dev is 266338304 name is "mmcblk0" yaffs: Attempting MTD mount on 254.0, "mmcblk0" yaffs: dev is 266338304 name is "mmcblk0" yaffs: Attempting MTD mount on 254.0, "mmcblk0" mount: you must specify the filesystem type any body can suggest me what i am missing and what i should do. thanks and regards Vivek ---------- Original Message ---------------------------------- From: "Harishkumar V" <[EMAIL PROTECTED]> Date: Fri, 13 Apr 2007 11:26:30 +0530 >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 >> > > > ________________________________________________________________ Sent via the WebMail system at purplevisiontech.com _______________________________________________ Davinci-linux-open-source mailing list [EMAIL PROTECTED] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source