mvsdio not working on OpenRD
Martin Michlmayr
tbm at cyrius.com
Fri Jan 15 11:22:17 PST 2016
* Aaro Koskinen <aaro.koskinen at iki.fi> [2016-01-15 20:03]:
> On Sun, Jan 10, 2016 at 04:38:43PM +0100, Andrew Lunn wrote:
> > If i remember correctly, the OpenRD has some odd muxing going on with
> > MMC and the second serial port. This fits the error message:
Andrew, your memory is good! I looked at the old board file and
noticed there used to be a kw_openrd_init_uart1 kernel option to
choose. The default was MMC (this was not a Debian choice, but one
from kernel.org), so I think that should become the default again.
See https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/diff/arch/arm/mach-kirkwood/openrd-setup.c?id=ba364fc752daeded072a5ef31e43b84cb1f9e5fd
Rick Thomas did some tests we came to the conclusion that MMC on DTB
doesn't work, even with your patch. We established that the same
kernel (3.16) works with the board file but not with DTB. I was about
to send an udpate when I saw Aaro's email.
I suggested we put in both of these patches. I'll produce a test
kernel for Rick with Aaro's patch.
> In addition, the UART/SD selection GPIO needs to be set up. I sent a
> patch proposal for this:
> http://marc.info/?l=linux-arm-kernel&m=145262936504783&w=2
Thanks!
> I use mainline kernel only, and I also think the default should be SD
> like it used to be with legacy boot...
Agreed. It's unfortunate that we found out so late about the change,
but I think MMC is the right choice and in line with what users expect.
--
Martin Michlmayr
http://www.cyrius.com/
More information about the linux-arm-kernel
mailing list