public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Andre Schwarz <andre.schwarz@matrix-vision•de>
To: Wolfgang Wegner <wolfgang@leila•ping.de>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: MicroSD (SPI mode) support in Linux-2.6.26-1
Date: Fri, 23 Jan 2009 16:27:32 +0100	[thread overview]
Message-ID: <4979E1E4.8090807@matrix-vision.de> (raw)
In-Reply-To: <20090123134001.GR2004@leila.ping.de>

Wolfgang Wegner wrote:
> Hi Andre,
>
> On Fri, Jan 23, 2009 at 01:43:47PM +0100, Andre Schwarz wrote:
>   
>> Sai Amruta wrote:
>>     
>>> Hi All,
>>>
>>> I am using linux-2.6.26 on MPC8567 and microSD is connected through 
>>> SPI interface.
>>> Is the existing mmc driver supports microSD?
>>>       
>> yes - it's working perfectly fine on my MPC8343.
>> Even with SDHC cards ;-)
>>     
>
> that's great to hear - is there anything like a HOWTO on how to set
> this up on top of the SPI driver (probably involving some custom GPIO
> stuff for card and WP detection) out there?
> I tried to but did not get it to work on MCF53xx (uClinux 2.6.23-uc0)
> and probably did not find the right search strings either.
>
> Regards,
> Wolfgang
>
>   
Wolfgang,

of course I forgot the most important messages ... ;-)


mvBL-M7> insmod /modules/mmc_spi.ko
mvBL-M7> dmesg -c
mmc_spi spi28672.0: SD/MMC host mmc0, no DMA, no WP, no poweroff
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SD card on SPI
mmcblk0: mmc0:0000 SD02G 1921024KiB
 mmcblk0: p1
mvBL-M7> mount /mnt/mmc/
mvBL-M7> ls /mnt/mmc/
TestApp.JPG                       do
TestCSharpApp.exe                 mvBlueCOUGAR.msi
autostart                         mvPPC_6XX-NAND-20081010-0946.tgz
distribution.zip                  uInitrd.mvblm7_nova
mvBL-M7>



cheers,
Andre

MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Hans-Joachim Reich

      parent reply	other threads:[~2009-01-23 15:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-23  3:59 MicroSD (SPI mode) support in Linux-2.6.26-1 Sai Amruta
2009-01-23 12:43 ` Andre Schwarz
2009-01-23 13:40   ` Wolfgang Wegner
2009-01-23 14:46     ` Andre Schwarz
2009-01-23 15:27     ` Andre Schwarz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4979E1E4.8090807@matrix-vision.de \
    --to=andre.schwarz@matrix-vision$(echo .)de \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=wolfgang@leila$(echo .)ping.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox