From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewZq2-0003ez-P4 for qemu-devel@nongnu.org; Thu, 15 Mar 2018 16:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewZpy-0006OP-SB for qemu-devel@nongnu.org; Thu, 15 Mar 2018 16:51:02 -0400 Received: from indium.canonical.com ([91.189.90.7]:50224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ewZpy-0006O0-Lx for qemu-devel@nongnu.org; Thu, 15 Mar 2018 16:50:58 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1ewZpw-0006n4-H9 for ; Thu, 15 Mar 2018 20:50:56 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 8A5362E819C for ; Thu, 15 Mar 2018 20:50:51 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 15 Mar 2018 20:45:13 -0000 From: Peter Maydell Reply-To: Bug 1753314 <1753314@bugs.launchpad.net> Sender: bounces@canonical.com References: <152019468379.20188.16040439279180777761.malonedeb@chaenomeles.canonical.com> Message-Id: <152114671360.14498.16489977497489572142.malone@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1753314] Re: UART in sabrelite machine simulation doesn't work with VxWorks 7 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org That's fine; Andrey Smirnov has taken your patch as a basis for a more clea= ned-up set of changes: http://lists.nongnu.org/archive/html/qemu-devel/2018-03/msg04608.html http://lists.nongnu.org/archive/html/qemu-devel/2018-03/msg04609.html What we would like from you is a Signed-off-by: line to say that you're hap= py for us to do that, please. (If you have a chance to test that it works f= or you that would also be great.) -- = 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: New 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