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 06:25:12 +0000	[thread overview]
Message-ID: <w2yea710c1b1004222325ue422e52bx244f5ee34dd2ba9a@mail.gmail.com> (raw)
In-Reply-To: <20091214102442.13038.43809.sendpatchset@rxone.opensource.se>

Hello,

> Does the kernel commandline option "earlyprintk=sh-sci.1,115200" work?

It does not - nothing gets displayed at all by the kernel.

> Your command line is word wrapped so it's not apparent what options you
> are using.

Sorry - the options I were using on sh2007 to get the log I attached
previously are
"earlyprintk=bios console=ttySC1,115200"

> One noticeable difference for sh-bios users in sh-sci is the
> detach callback via sh_bios_gdb_detach(), you might want to try
> commenting this out to make sure you're not trapping in to some bogus
> location.

> If the sh-bios earlyprintk is working for you then you might
> also try the 'keep' option to prevent the serial console from taking
> control away from it.

Indeed, that workarounds the problem, but then I stop getting feedback
from the kernel starting from when init is supposed to start:

VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing unused kernel memory: 184k freed

However, by monitoring the network activity (I use a NFS root FS), I
can see that the init script executes normally as all the boot time
invoked binaries and libraries are sent through the network. Therefore
the kernel is starting normally, but it seems it just lacks a console
that uses the same device as the kernel earlyprintk. Any idea about
how I could create such an entry in /dev/ ? (major/minor numbers?)

Still, it would be nice to get the SCIF to work on that platform. I'm
willing to investigate the problem (may be clock-related indeed), but
could someone provide me some guidance about where in the driver I
should look at?

Thanks again, looks like I'm close to having a working kernel again!
Alex.

  parent reply	other threads:[~2010-04-23  6:25 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 [this message]
2010-04-23  7:26 ` Paul Mundt
2010-04-23 11:16 ` Alexandre Courbot
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=w2yea710c1b1004222325ue422e52bx244f5ee34dd2ba9a@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).