Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2012 12:56:32 +0100
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Daisuke Aoyama <aoyama@peach.ne.jp>
Cc:        freebsd-arm@freebsd.org, Ralf.Wenk@hs-karlsruhe.de
Subject:   Re: FreeBSD on Raspberry Pi 512MB (with U-Boot + ubldr)
Message-ID:  <20121204115631.GA62551@cicely7.cicely.de>
In-Reply-To: <797FC9C0D52846548418B1E8F70A0402@ad.peach.ne.jp>
References:  <3988C1622A974F19A9D3888F0334FF10@ad.peach.ne.jp> <50B8058C.9030909@bluezbox.com> <E1TfWh4-00BZ82-Is@smtp.hs-karlsruhe.de> <B3D30A45699E443399D7CB112082356B@ad.peach.ne.jp> <18DB98C9-66D9-4B00-989A-156F21E9981C@bsdimp.com> <1354552432.1140.28.camel@revolution.hippie.lan> <797FC9C0D52846548418B1E8F70A0402@ad.peach.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 04, 2012 at 02:43:23AM +0900, Daisuke Aoyama wrote:
> >SD 2.0 upped the limit to 50mhz, but you can't set the bus to run that
> >fast until you've probed the card and determined that it supports SDHC.
> >The signaling standard is actually different between 1.x and 2.x in SDHC
> >mode (there are differences in the relationships between rise/fall/hold
> >times above 25mhz).  That's why old Atmel hardware can't do SDHC 50mhz
> >even though the microcontroller can run the bus at 50mhz -- it does so
> >with the 1.x signal timings (it was pretty sneaky of them to adverise
> >mmc/sd up to 50mhz knowing that running the bus that fast was just a
> >violation of the SD 1.x spec, which is all they really support).

With AT91RM9200 the problem was noticeable because typically you run
the peripheral clock at 60MHz, so you can divide to 15MHz or 30MHz,
which was too high for standard, but usually worked well with most
cards.

> >I've heard that SD 3.x allows for bus speeds of 100mhz and higher, but
> >only on SDXC cards.  I'm hand-waving a bit here because I haven't gotten
> >to work with hardware that new yet.
> 
> Yes, you are right. But my card don't work with 50/100MHz 4bit mode.
> And, many users have reported don't work.
> In my case, the command under 50/100 was reported CRC error, etc.
> 
> FYI, the cards require 2x max power consumption when HS mode is enabled.
> There is another factor the card runs at HS on RPI.
> I imagine my card eats more power :)

The power design of the RPI is one of the points I don't like.

> >Bus speed is independant of the 1/4/8 bit datapath (well, at least in
> >the SD specs up through 2.0, after that I'm not sure).
> 
> AFAIK, micro SD cards use 1bit.

MicroSD also have 4-bit - same number of contacts.
Support for it always had been optional, that's the reason why it must be
probed and activated first.
MicroSD must support 1-bit SPI mode, which is optional on standard size SD,
but since they share common chips SD cards usually can do SPI as well.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121204115631.GA62551>