Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2007 22:14:47 +0200 (CEST)
From:      =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
To:        "Neil Bradley" <nb@synthcom.com>
Cc:        arm@freebsd.org
Subject:   Re: 4-bit SD Card mode
Message-ID:  <54940.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181247287.squirrel@webmail.alpha-tierchen.de>
In-Reply-To: <20070607123930.E75948@synthcom.com>
References:  <50392.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181235257.squirrel@webmail.alpha-tierchen.de> <20070607180946.GK16463@cicely12.cicely.de> <49754.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181244172.squirrel@webmail.alpha-tierchen.de> <20070607.133456.74668036.imp@bsdimp.com> <20070607123930.E75948@synthcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote:
>> I'm not sure I like this at all.  The devices shouldn't be setting up
>> the pins for that device.  In some cases, they can't know how to do
>> that, and this is one of them.  The device has no way of knowing if
>> all 4 wires are connected, or just 1 and the 'spare' lines are used
>> for GPIO.

and Neil Bradley replied:
> Not doing it will irritate more people (i.e. "I'm not getting full speed
> out of the SD card). While it's a valid concern, I don't think it's
> unrealistic to assume that all 4 DAT lines are hooked up. I've not yet
> encountered a design that A) had SD capabilities, B) was only running
> single bit because of a lack of GPIOs.

Initially I didn't have the problem that "I'm not getting full speed out
of the SD card", but rather that SD Cards doesn't work at all with a
vanilla FreeBSD kernel because nobody configured the PIO for the MCI
controller.

Björn





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54940.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181247287.squirrel>