Dave,
I just tried 2 MMC simultaneously on each slot and both enumerated and worked
on my setup
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 AF HMB 495 MiB
mmcblk0: p1
mmc1: new high speed MMC card at address 0001
mmcblk1: mmc1:0001 sd 960 MiB
mmcblk1: p1
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, id=221613)
Sending DHCP requests .<6>PHY: 1:01 - Link is Up - 100/Full
I had to do this in davinci_mmc.c
open_drain_freq = ((unsigned int)cpu_arm_clk / (2 * MMCSD_INIT_CLOCK)) - 1;
if (open_drain_freq > 0xFF)
open_drain_freq = 0xFF;
Add the above 2 lines of code after line number 765.
Thanks,
Sandeep
> -----Original Message-----
> From: Paulraj, Sandeep
> Sent: Monday, June 22, 2009 2:58 PM
> To: Paulraj, Sandeep; David Brownell
> Cc: [email protected]
> Subject: RE: [PATCH] MMC/SD Support for DM365 EVM
>
> I tried an 8 GB SDHC card and it worked.
>
> MMC card does not work but I am told there is a patch to fix an issue
> w.r.t
> initialization in the davinci mmc driver itself.
>
>
> > -----Original Message-----
> > From: davinci-linux-open-source-bounces+s-
> > [email protected] [mailto:davinci-linux-open-source-
> > [email protected]] On Behalf Of Paulraj,
> > Sandeep
> > Sent: Monday, June 22, 2009 2:32 PM
> > To: David Brownell
> > Cc: [email protected]
> > Subject: RE: [PATCH] MMC/SD Support for DM365 EVM
> >
> >
> >
> > > -----Original Message-----
> > > From: David Brownell [mailto:[email protected]]
> > > Sent: Monday, June 22, 2009 2:17 PM
> > > To: Paulraj, Sandeep
> > > Cc: [email protected]
> > > Subject: Re: [PATCH] MMC/SD Support for DM365 EVM
> > >
> > > On Monday 22 June 2009, Paulraj, Sandeep wrote:
> > > >
> > > > > MMC0 seems OK, but MMC1 doesn't work most of the time.
> > > > > I've seen it enumerate a few cards ... but mostly it
> > > > > just fails. Lots of MMC1 IRQs though. Are you sure
> > > > > the pinmux is correct?
> > > >
> > > > [Sandeep] I just tried 3 SD cards and all worked fine.
> > >
> > > I tried SD, SDHC, and MMC cards. SDHC and MMC did not
> > > enumerate at all in that slot. SD usually doesn't, but
> > > did a couple times ... but then when I removed it, the
> > > card refused to enumerate a second time.
> > >
> > > This is with just your first eight patches, applied
> > > in the order you sent them.
> > [Sandeep] I'll take a look. I have not used MMC or SDHC cards.
> >
> > Though it does seem strange why slot 0 works and slot 1 does not.
> > I'll take a look at the PINMUX/INTMUX again though I would think that if
> > there was something wrong all cards should probably fail.
> >
> > >
> > >
> >
> > _______________________________________________
> > 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