From: Shawn Jin <shawnxjin@gmail.com>
To: ppcembed <linuxppc-embedded@ozlabs.org>
Subject: What's wrong with the serial port?
Date: Thu, 11 Aug 2005 15:41:21 -0700 [thread overview]
Message-ID: <c3d0340b050811154148164691@mail.gmail.com> (raw)
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 =E0. See the following message. What's wrong?
Any hints are appreciated!
Boot reached stage 4 =
=20
Boot reached stage 5 =
=20
Boot reached stage 6 =
=20
OK =
=20
Boot reached stage 7 =
=20
Boot reached stage 8 =
=20
## Current stack ends at 0x01FC6B80 =3D> set upper limit to 0x00800000 =
=20
## cmdline at 0x007FFF00 ... 0x007FFF10 =
=20
bd address =3D 0x01FC6F90 =
=20
memstart =3D 0x00000000 =
=20
memsize =3D 0x02000000 =
=20
flashstart =3D 0x00000000 =
=20
flashsize =3D 0x00000000 =
=20
flashoffset =3D 0x00000000 =
=20
sramstart =3D 0x00000000 =
=20
sramsize =3D 0x00000000 =
=20
bootflags =3D 0x00000000 =
=20
intfreq =3D 400 MHz =
=20
busfreq =3D 266 MHz =
=20
ethaddr =3D 00:00:00:00:00:00 =
=20
IP addr =3D 0.0.0.0 =
=20
baudrate =3D 115200 bps =
=20
Boot reached stage 14 =
=20
No initrd =
=20
## Transferring control to Linux (at address 00000000) ... =
=20
Boot reached stage 15 =
=20
id mach(): done =
=20
MMU:enter =
=20
MMU:hw init =
=20
MMU:mapin =
=20
MMU:setio =
=20
MMU:exit =
=20
setup_arch: enter =
=20
setup_arch: bootmem =
=20
arch: exit =
=20
=E0=E0=E0=E0=E0=E0 =20
-Shawn.
next reply other threads:[~2005-08-11 22:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-11 22:41 Shawn Jin [this message]
2005-08-11 23:14 ` What's wrong with the serial port? Eugene Surovegin
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=c3d0340b050811154148164691@mail.gmail.com \
--to=shawnxjin@gmail.com \
--cc=linuxppc-embedded@ozlabs.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.