From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 91E62D80410 for ; Thu, 21 Sep 2023 17:07:50 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=5u9mBWa4vU1xR9oOzEGs5UHXPRKFdoT8rpuPbw83Iv8=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1695316069; v=1; b=OJB9+yN4baNd5uP9MsS5iL933J9QXZfuHNbym7umPrqxovfpFABHda2sm1dUJnPCqYcc5WM4 d62qjslbr4NuJAYHQRip+R7wXhZVEudiVMfS5JfEAVRkcz3eiiJ3/vaPOVGKT7ochjKdpQaN5V/ VkdrfGbvemXI/9GabL/RIBug= X-Received: by 127.0.0.2 with SMTP id gzfjYY7687511xvEdsit14pr; Thu, 21 Sep 2023 10:07:49 -0700 X-Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by mx.groups.io with SMTP id smtpd.web11.21292.1695310488260104152 for ; Thu, 21 Sep 2023 08:34:48 -0700 X-Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-53339349956so1112357a12.3 for ; Thu, 21 Sep 2023 08:34:48 -0700 (PDT) X-Gm-Message-State: mVr3xl0tkkt8PhBtmwxxn9UCx7686176AA= X-Google-Smtp-Source: AGHT+IEwhSs3RR1HnAlbDw/MAxwRgMgT87bR+FVZT6N32waSAp/z7gudW7kART65XX6xJVAQ7R/ZhtT5cH3ZeBD3ut8= X-Received: by 2002:aa7:ca46:0:b0:523:2e30:aaee with SMTP id j6-20020aa7ca46000000b005232e30aaeemr4755630edt.32.1695310486673; Thu, 21 Sep 2023 08:34:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Peter Maydell Date: Thu, 21 Sep 2023 16:34:27 +0100 Message-ID: Subject: Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs To: Gerd Hoffmann Cc: QEMU Developers , devel@edk2.groups.io, Leif Lindholm , Ard Biesheuvel , Sami Mujawar Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,peter.maydell@linaro.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=OJB9+yN4; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linaro.org (policy=none) On Thu, 21 Sept 2023 at 16:26, Gerd Hoffmann wrote: > > On Thu, Sep 21, 2023 at 11:50:20AM +0100, Peter Maydell wrote: > > Hi; I've been looking again at a very long standing missing feature in > > the QEMU virt board, which is that we only have one UART. One of the > > things that has stalled this in the past has been the odd behaviour of > > EDK2 if the DTB that QEMU passes it describes two UARTs. > > Note that edk2 recently got support for virtio-serial, so you can use > that for the console and leave the uart for debug logging. The prebuild > edk2 binaries in qemu have been updated days ago and these already > support for virtio-serial.. As long as EDK2 does something sensible when the DTB says "two UARTs here and here" and it also finds a virtio-serial PCI device, I don't mind what exactly it does. The problem here is more that EDK2 currently does strange things when told that the hardware is present, rather than that anybody specifically wants EDK2 to use multiple serial outputs. Though given there's no way to say in the DTB "use a PCI card for your console" I think the virtio-serial approach is likely to be awkward for users in practice. -- PMM -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108960): https://edk2.groups.io/g/devel/message/108960 Mute This Topic: https://groups.io/mt/101498371/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-