From: Eugene Surovegin <ebs@ebshome.net>
To: Shawn Jin <shawnxjin@gmail.com>
Cc: ppcembed <linuxppc-embedded@ozlabs.org>
Subject: Re: What's wrong with the serial port?
Date: Thu, 11 Aug 2005 16:14:54 -0700 [thread overview]
Message-ID: <20050811231454.GA5796@gate.ebshome.net> (raw)
In-Reply-To: <c3d0340b050811154148164691@mail.gmail.com>
On Thu, Aug 11, 2005 at 03:41:21PM -0700, Shawn Jin wrote:
> Hi,
>
> I'm porting linux 2.6.11.4 to a custom SoC with ppc440 core. The UART
> is 16550 compatible. U-Boot is already running fine.
>
> When the kernel is booting, it gets to the point where console_init()
> is called, which calls individual early console initialization
> functions. In my case it's serial8250_console_init(). Before
> register_console() is called in serial8250_console_init(), everything
> seems fine because the debugging logs are printed on the serial port.
> But once register_console() is called, the serial port continues
> spitting out ?. See the following message. What's wrong?
>
> Any hints are appreciated!
>
> Boot reached stage 4
> Boot reached stage 5
> Boot reached stage 6
> OK
> Boot reached stage 7
> Boot reached stage 8
> ## Current stack ends at 0x01FC6B80 => set upper limit to 0x00800000
> ## cmdline at 0x007FFF00 ... 0x007FFF10
> bd address = 0x01FC6F90
> memstart = 0x00000000
> memsize = 0x02000000
> flashstart = 0x00000000
> flashsize = 0x00000000
> flashoffset = 0x00000000
> sramstart = 0x00000000
> sramsize = 0x00000000
> bootflags = 0x00000000
> intfreq = 400 MHz
> busfreq = 266 MHz
> ethaddr = 00:00:00:00:00:00
> IP addr = 0.0.0.0
> baudrate = 115200 bps
> Boot reached stage 14
> No initrd
> ## Transferring control to Linux (at address 00000000) ...
> Boot reached stage 15
> id mach(): done
> MMU:enter
> MMU:hw init
> MMU:mapin
> MMU:setio
> MMU:exit
> setup_arch: enter
> setup_arch: bootmem
> arch: exit
> ??????
Try disabling early text debugging (all that "MMU:..." stuff).
--
Eugene
next prev parent reply other threads:[~2005-08-11 23:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-11 22:41 What's wrong with the serial port? Shawn Jin
2005-08-11 23:14 ` Eugene Surovegin [this message]
2005-08-11 23:17 ` Eugene Surovegin
2005-08-12 21:28 ` Shawn Jin
2005-08-12 21:38 ` Shawn Jin
2005-08-17 1:53 ` Shawn Jin
-- strict thread matches above, loose matches on Subject: below --
2005-08-12 5:01 Debora Liu
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=20050811231454.GA5796@gate.ebshome.net \
--to=ebs@ebshome.net \
--cc=linuxppc-embedded@ozlabs.org \
--cc=shawnxjin@gmail.com \
/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).