From owner-freebsd-arm@freebsd.org Thu Jul 16 15:09:22 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07FCE9A3059 for ; Thu, 16 Jul 2015 15:09:22 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E9A81120D; Thu, 16 Jul 2015 15:09:21 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 6893111FD; Thu, 16 Jul 2015 15:09:21 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Thu, 16 Jul 2015 15:09:19 +0000 From: Glen Barber To: Carl Johnson Cc: freebsd-arm@freebsd.org Subject: More RPI-B/SD card information [was: Re: RPi won't boot 10.2-BETA1 -- SOLVED] Message-ID: <20150716150919.GK37051@FreeBSD.org> References: <87wpy41zjt.fsf@elk.localnet> <87y4iiyt29.fsf@elk.localnet> <20150715040109.GV15828@FreeBSD.org> <87pp3tzaas.fsf@elk.localnet> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wRokNccIwvMzawGl" Content-Disposition: inline In-Reply-To: <87pp3tzaas.fsf@elk.localnet> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2015 15:09:22 -0000 --wRokNccIwvMzawGl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 15, 2015 at 08:54:03AM -0700, Carl Johnson wrote: > Glen Barber writes: >=20 > > On Tue, Jul 14, 2015 at 08:54:06PM -0700, Carl Johnson wrote: > >> I bought a new microSDHC card and that card works. The new one is a > >> 16GB SanDisk Ultra PLUS UHS-1 card in case anybody is keeping track. I > >> had tried two different Class 4 cards that didn't work, so maybe the > >> faster speed is necessary now, or maybe it is picky about brands. > >>=20 > > > > FWIW, I have a few class-10 cards that will absolutely not work, and > > a few class-4 cards that work perfectly fine. > > > > After getting my test setup working properly (cards that work, etc.), > > I looked into it a bit further, and it *seems* that all of my cards > > (except one class-10 card) out of about 12 different SD cards work fine > > with "normal data." > > > > Just an additional data point, although I realize it contradicts your > > findings. >=20 > Thanks, that is useful to know. The first class-4 card worked with a > January 10.1-STABLE snapshot, but didn't work with June 10.1-STABLE or > 11.0-CURRENT snapshots or the 10.2-BETA1 release. >=20 I did a bit more testing, and it seems the RPI-B is *very* picky about what SD cards will work. Below follows results of the tests, using the 20150716-r285616 RPI-B image (built last night, propagating now). For completeness, I've included 'mmcinfo' output from u-boot, but what is really interesting is cards (7) and (8). To make sure the test was run with a working card, I tested the BeagleBone Black image on card (7) which booted fine. 1) FAILED PNY class 4 SDHC 8GB U-Boot> mmcinfo Device: bcm2835_sdhci Manufacturer ID: 2 OEM: 544d Name: SA08G=20 Tran Speed: 50000000 Rd Block Len: 512 SD version 2.0 High Capacity: Yes Capacity: 7.2 GiB Bus Width: 4-bit =20 2) SUCCESS Sandisk (Ultra) class 10 SDHC (I) 8GB U-Boot> mmcinfo Device: bcm2835_sdhci Manufacturer ID: 3 OEM: 5344 Name: SL08G=20 Tran Speed: 50000000 Rd Block Len: 512 SD version 2.0 High Capacity: Yes Capacity: 7.4 GiB Bus Width: 4-bit =20 3) FAILED Kingston class 4 SDHC 8GB U-Boot> mmcinfo Device: bcm2835_sdhci Manufacturer ID: 2 OEM: 544d Name: SD08G=20 Tran Speed: 50000000 Rd Block Len: 512 SD version 2.0 High Capacity: Yes Capacity: 7.4 GiB Bus Width: 4-bit =20 4) FAILED Kingston class 4 SDHC 8GB U-Boot> mmcinfo Device: bcm2835_sdhci Manufacturer ID: 2 OEM: 544d Name: SA08G=20 Tran Speed: 50000000 Rd Block Len: 512 SD version 2.0 High Capacity: Yes Capacity: 7.2 GiB Bus Width: 4-bit =20 5) SUCCESS Samsung (class unknown) SD 2GB U-Boot> mmcinfo Device: bcm2835_sdhci Manufacturer ID: 1b OEM: 534d Name: 00000=20 Tran Speed: 50000000 Rd Block Len: 512 SD version 2.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 4-bit =20 6) SUCCESS Sandisk class 4 SDHC (I) 8GB U-Boot> mmcinfo Device: bcm2835_sdhci Manufacturer ID: 3 OEM: 5344 Name: SS08G=20 Tran Speed: 50000000 Rd Block Len: 512 SD version 2.0 High Capacity: Yes Capacity: 7.4 GiB Bus Width: 4-bit =20 7) FAILED Kingston class 4 SDHC 4GB U-Boot> mmcinfo Device: bcm2835_sdhci Manufacturer ID: 2 OEM: 544d Name: SA04G=20 Tran Speed: 50000000 Rd Block Len: 512 SD version 2.0 High Capacity: Yes Capacity: 3.6 GiB Bus Width: 4-bit 8) SUCCESS Kingston class 4 SDHC 4GB U-Boot> mmcinfo Device: bcm2835_sdhci Manufacturer ID: 2 OEM: 544d Name: SA04G=20 Tran Speed: 50000000 Rd Block Len: 512 SD version 2.0 High Capacity: Yes Capacity: 3.6 GiB Bus Width: 4-bit Glen --wRokNccIwvMzawGl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVp8kfAAoJEAMUWKVHj+KT8u8P/RkMs+0vTLmRpc9ccofR/ItF CZXnYTogcOjg9X2lkIl5RnS9uM6e9wDuZ1mo+nOEYY7/T6tjR8W6eWVTCFVqabv0 rNXFbCqmGi3zh8RfsBBjV5+EcP93rFww6KrLDKCvJ23/QNgxDiI7cit2Cu3VBj3a dVmxfLKanHBOVyh6/S+H8YOGRFVQBQFKvdZ3kQf54gNvDExnR2orf8zDbafPBGZU D27Hb9Bx2xdPS4wRZ9xdCeKmLb9g34nEkQwKyPNs3uU+IIdmrAwquN3nQkxExlqI iac0ATfS9zm5PqhaPAYWa2bBRA6uauMM+MhJYte/4K+bvzqUn5jxUZ9R1wIiTwqe w+aV4FNmWJK+1Z7STcoAAEIlmnLYOvokJXT9U9+fYohkT1SOVu9JsWCiK1HZdHV+ 1sOR0X+4qgtiQxiUSd/uxwin8z9vVw8DciimhMxk0DoSKsIWvHkMK3jXqML6QyYG Yvx9rphh0s0lNMe5lFtWgTjxPKgsQyJDVelXxlPKjOO7f5PDmw60tNhH298IZtfk aF5du79XEHU4R9E7x7JgHMGzQWKwr2w0TKUVZLtOrxzoymVGZP+ea9123rI2hbXt CidjyjMsfZBy6bJylN9bjbZKKox26/DxxbziqeR/yMDrHEFkDGrujcp6GkEnnvw6 wIEGkLFmD2bwC9dNiABc =AhJr -----END PGP SIGNATURE----- --wRokNccIwvMzawGl--