linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Courbot <alex@dcl.info.waseda.ac.jp>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh-sci: Extend sh-sci driver with early console V2
Date: Fri, 23 Apr 2010 11:16:18 +0000	[thread overview]
Message-ID: <h2hea710c1b1004230416ycd079c20gc930ea50dd9ccb3c@mail.gmail.com> (raw)
In-Reply-To: <20091214102442.13038.43809.sendpatchset@rxone.opensource.se>

> The obvious remaining question would be are you sure that your serial
> port is really on ttySC1? Most of the SH7780 boards placed the console on
> ttySC0 by default, so make sure that you aren't just being bitten by a
> bogus defconfig setting.

Yes, I checked this too, and with older versions of the kernel I was
also using ttySC1.

> If you have board support patches that you've applied to the kernel then
> you might also want to try backing those off and simply booting with the
> default machvec with SH7780 support enabled. Given that the serial port
> is an SoC property you shouldn't have any difficulty getting a console
> even if you have no other board support built in.

Just tried with the latest official branch, and unfortunately no luck.
earlyprintk=bios,keep performs the same as our branch with respect to
the SCI.

> You may also want to disable sh-bios support in the off chance that this
> is clobbering something it shouldn't be (note that sh-bios support itself
> is almost never tested these days, and in the past it has always been a
> source of inconsistency).

Did that too, did not help with "earlyprintk=sh-sci.1" or
"earlyprintk=sh-sci.0" at all. :( Nothing is displayed, but the NFS
activity testifies that the kernel boots.

> If all else fails then we'll simply have to debug the init path, but I
> suspect you're being bitten by something completely unrelated given that
> none of the other SH7780's exhibit any sort of difficulty.

Indeed, this looks very strange to me too. Sorry for being clueless,
but I'm rather new to kernel programming and debugging - what would
you recommend me to try next?

Thanks,
Alex.

  parent reply	other threads:[~2010-04-23 11:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-14 10:24 [PATCH] sh-sci: Extend sh-sci driver with early console V2 Magnus Damm
2009-12-15  3:37 ` Paul Mundt
2010-04-11  7:40 ` Shin-ichiro KAWASAKI
2010-04-21  8:30 ` Magnus Damm
2010-04-22  5:54 ` Alexandre Courbot
2010-04-22  6:11 ` Magnus Damm
2010-04-22  6:22 ` Alexandre Courbot
2010-04-22  6:30 ` Paul Mundt
2010-04-22  7:09 ` Magnus Damm
2010-04-23  6:25 ` Alexandre Courbot
2010-04-23  7:26 ` Paul Mundt
2010-04-23 11:16 ` Alexandre Courbot [this message]
2010-04-25 12:30 ` Shin-ichiro KAWASAKI
2010-04-26  7:03 ` Paul Mundt

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=h2hea710c1b1004230416ycd079c20gc930ea50dd9ccb3c@mail.gmail.com \
    --to=alex@dcl.info.waseda.ac.jp \
    --cc=linux-sh@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).