Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 1024bytes/sect microSD support



> Hi! Paul,
> 
> 
> From: Paul Fleischer <paul%xpg.dk@localhost>
> Date: Fri, 27 Nov 2009 10:50:49 +0100
> 
> > As far as I can read from the SD Simplified Physical Layer
> > Specification[1] page 19, the 2Gb cards are bit of an
> > exception as their CSD announces a block size of 1024,
> > but the actual block size to use is 512kb.
> > 
> > I have patched dev/sdmmc/sdmmc_mem.c to follow this exception.
> > I bet the patch can be made more pretty, but it seems to work.
> 
> Your patch works to my microSD on GUMSTIX.
> A lot of people will think this patch to be necessary.

Yes. Please file a pullup request to netbsd-5 after commit.

Christoph


Home | Main Index | Thread Index | Old Index