Date: Tue, 13 May 2014 08:33:52 -0600 From: Ian Lepore <ian@FreeBSD.org> To: Winston Smith <smith.winston.101@gmail.com> Cc: freebsd-arm <freebsd-arm@FreeBSD.org> Subject: Re: Patch to make BBB properly boot from eMMC every time Message-ID: <1399991632.56626.7.camel@revolution.hippie.lan> In-Reply-To: <CADH-AwGftVJCi9NrAfQs6CYNifM04DZu9rtVF4k6Cd6irFk7fg@mail.gmail.com> References: <5371E1F3.6080002@hot.ee> <1399987808.56626.2.camel@revolution.hippie.lan> <CADH-AwGftVJCi9NrAfQs6CYNifM04DZu9rtVF4k6Cd6irFk7fg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2014-05-13 at 10:17 -0400, Winston Smith wrote: > On Tue, May 13, 2014 at 9:30 AM, Ian Lepore <ian@freebsd.org> wrote: > > Confused about the cause of the results, yes. I think the printf I had > > you add to help me figure out the problem just changed the timing of the > > retry to make it work on the second try, but I have no idea why. > > > > Does anybody else with a BBB see the device randomly boot up as 1 or 4 > > or 8 bits, changing from one boot to the next? The bits are reported in > > the mmcsd0 line: > > > > mmcsd0: 8GB <SDHC SA08G 0.4 SN 2630755555 MFG 10/2009 by 2 TM> at mmc0 > > 50.0MHz/4bit/65535-block > > > > That's from a wandboard, but a BBB eMMC should always be 8 bits. > > BBB rev A6A shows 8-bits (for the eMMC): > > mmcsd1: 2GB <MMC MMC02G 3.10 SN 244024444 MFG 08/1997 by 254 0x004e> > at mmc1 48.0MHz/8bit/65535-block > > > But shows 4-bits for the SD card: > > mmcsd0: 4GB <SDHC SA04G 0.4 SN 2617266666 MFG 05/2010 by 2 TM> at mmc0 > 48.0MHz/4bit/65535-block 4 bits is normal for an sdcard, that's all the data lines an sdcard has. An emmc card/chip can have 1, 4, or 8. Does your emmc come up as 8-bit reliably every time? -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1399991632.56626.7.camel>