Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2019 14:48:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD
Message-ID:  <bug-204521-227-GnVKNoTSDA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204521-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204521-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204521

--- Comment #13 from Gary Jennejohn <gljennjohn@gmail.com> ---
(In reply to hlh from comment #12)

I noticed that, immediately after loading the module, I can successfully run
e.g.
dd if=3D/dev/mmcsd0 of=3Djunk count=3D20 without errors or timeouts.  But, =
as you
say,
the bytes are all 0x00.  Any further attempt to access the SD card results =
in a
CRC error.

In fact, I see LOTS of CRC errors (all RTSX_SD_CRC16_ERR) during start up. =
 I
also see CMD7 failing quite often.

I've spent many hours looking at the Linux driver, which was written by
Realtek.
There is so much special handling for each of the controllers that it almost
seems hopeless to get a driver which works as well as what Linux has.

Whether the errors I see are due to pecularities of the 522a (Linux has lot=
s of
special code for this one) I can't say.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204521-227-GnVKNoTSDA>