All of lore.kernel.org
 help / color / mirror / Atom feed
From: tbm@cyrius.com (Martin Michlmayr)
To: linux-arm-kernel@lists.infradead.org
Subject: mvsdio not working on OpenRD
Date: Fri, 15 Jan 2016 11:22:17 -0800	[thread overview]
Message-ID: <20160115192217.GA12145@jirafa.cyrius.com> (raw)
In-Reply-To: <20160115180339.GC18908@darkstar.musicnaut.iki.fi>

* Aaro Koskinen <aaro.koskinen@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/

  reply	other threads:[~2016-01-15 19:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-10  4:26 mvsdio not working on OpenRD Martin Michlmayr
2016-01-10 15:38 ` Andrew Lunn
2016-01-10 21:19   ` Rick Thomas
2016-01-15 18:03   ` Aaro Koskinen
2016-01-15 19:22     ` Martin Michlmayr [this message]
2016-01-15 22:00       ` Aaro Koskinen
2016-01-17 23:05         ` Martin Michlmayr
2016-01-17 22:42   ` Martin Michlmayr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160115192217.GA12145@jirafa.cyrius.com \
    --to=tbm@cyrius.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.