From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1753314] Re: UART in sabrelite machine simulation doesn't work with VxWorks 7
Date: Tue, 20 Mar 2018 16:45:44 -0000 [thread overview]
Message-ID: <152156434424.19197.15394528710239435896.malone@chaenomeles.canonical.com> (raw)
In-Reply-To: 152019468379.20188.16040439279180777761.malonedeb@chaenomeles.canonical.com
Now fixed in git master, should be in 2.12.
** Changed in: qemu
Status: New => Fix Committed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1753314
Title:
UART in sabrelite machine simulation doesn't work with VxWorks 7
Status in QEMU:
Fix Committed
Bug description:
The imx_serial.c driver currently implements only partial support for
the i.MX6 UART hardware. (I understand it's a work in progress and
that's fine.) dIn particular, it does not implement support for the
Transmit Complete Interrupt Enable bit in the UCR4 register. The
VxWorks 7 i.MX6 serial driver depends on the behavior of this bit in
actual hardware in order to send characters through the UART
correctly. The result is that with the current machine model, VxWorks
will boot and run in QEMU but it's unable to print any characters to
the console serial port.
I have produced a small patch for the imx_serial.c module to make it
nominally functional with VxWorks 7. It works well enough to allow the
boot banner to appear and for the user to interact with the target
shell.
I'm not submitting this as a patch to the development list as I'm not
fully certain it complies with the hardware spec and doesn't break any
other functionality. I would prefer if the maintainer (or someone)
reviewed it for any issues/refinements first.
I'm attaching the patch to this bug report. A copy can also be
obtained from:
http://people.freebsd.org/~wpaul/qemu/imx_serial.zip
This patch was generated against QEMU 2.11.0 but also works with QEMU
2.11.1.
My host environment is FreeBSD/amd64 11.1-RELEASE with QEMU
2.11.0/2.11.11 built from source.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1753314/+subscriptions
next prev parent reply other threads:[~2018-03-20 17:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-04 20:18 [Qemu-devel] [Bug 1753314] [NEW] UART in sabrelite machine simulation doesn't work with VxWorks 7 Bill Paul
2018-03-15 14:05 ` [Qemu-devel] [Bug 1753314] " Peter Maydell
2018-03-15 19:47 ` Bill Paul
2018-03-15 20:45 ` Peter Maydell
2018-03-20 16:45 ` Peter Maydell [this message]
2018-04-26 5:02 ` Thomas Huth
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=152156434424.19197.15394528710239435896.malone@chaenomeles.canonical.com \
--to=peter.maydell@linaro.org \
--cc=1753314@bugs.launchpad.net \
--cc=qemu-devel@nongnu.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.