public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: SH-Sci(f) driver as console
Date: Thu, 31 Jan 2008 23:57:00 +0000	[thread overview]
Message-ID: <20080131235700.GC16399@linux-sh.org> (raw)
In-Reply-To: <1201776250.20171.72.camel@Atlas>

On Thu, Jan 31, 2008 at 06:09:58PM +0000, Kieran Bingham wrote:
> Urgh ... my head hurts from following this ENXIO error all the way
> through sys_open, through VFS / VT / TTY and down to Uart :P
> 
> I think I went the long way round :( silly me !
> 
Er, what? If you're getting in to userspace, you don't need to bother
with an early_sci_setup(). This is the regular case, which works for
every other CPU and board, suggesting that there's either something amiss
in the CPU setup, or your .config.

> Where is this supposed to be set up ? Is this because I've set my uart
> port up too early, and something has missed it ? or am I just missing
> something more fundamental ?

The early setup is just to allow you to bang some bytes down the line
early incase you happen to blow up before you get that far. Usually the
early printk suffices for this, so there's no need in general to hand the
port def off to early_sci_setup().

If you're doing all of this to work around the fact you can't open
/dev/console, you've been chasing the wrong problem :-)

      parent reply	other threads:[~2008-01-31 23:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31 10:44 SH-Sci(f) driver as console Kieran Bingham
2008-01-31 10:51 ` Paul Mundt
2008-01-31 10:52 ` Paul Mundt
2008-01-31 18:09 ` Kieran Bingham
2008-01-31 23:57 ` Paul Mundt [this message]

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=20080131235700.GC16399@linux-sh.org \
    --to=lethal@linux-sh.org \
    --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