[Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 29 14:49:03 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

--- Comment #13 from Gary Jennejohn <gljennjohn at 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=/dev/mmcsd0 of=junk count=20 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 lots of
special code for this one) I can't say.

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


More information about the freebsd-bugs mailing list