Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-10-02 Thread Laszlo Ersek
On 10/3/23 01:05, Laszlo Ersek wrote: > On 10/2/23 03:51, Laszlo Ersek wrote: >> On 9/21/23 12:50, peter.maydell at linaro.org (Peter Maydell) wrote: >> >>> If you want to play around with this, I have some WIP patches at >>> https://git.linaro.org/people/pmaydell/qemu-arm.git

Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-10-02 Thread Laszlo Ersek
On 10/2/23 03:51, Laszlo Ersek wrote: > On 9/21/23 12:50, peter.maydell at linaro.org (Peter Maydell) wrote: > >> If you want to play around with this, I have some WIP patches at >> https://git.linaro.org/people/pmaydell/qemu-arm.git uart-edk-investigation >> (content wise they should be fine,

Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-10-01 Thread Laszlo Ersek
On 9/21/23 12:50, peter.maydell at linaro.org (Peter Maydell) wrote: > If you want to play around with this, I have some WIP patches at > https://git.linaro.org/people/pmaydell/qemu-arm.git uart-edk-investigation > (content wise they should be fine, but I haven't cleaned them up into > a coherent

Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-10-01 Thread Laszlo Ersek
On 9/28/23 13:50, Laszlo Ersek wrote: > On 9/28/23 13:24, Peter Maydell wrote: >> On Thu, 28 Sept 2023 at 08:54, Laszlo Ersek wrote: >>> >>> On 9/21/23 14:02, ardb at kernel.org (Ard Biesheuvel) wrote: EDK2's DEBUG output is extremely noisy, so being able to redirect this output to a

Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-09-28 Thread Peter Maydell
On Thu, 28 Sept 2023 at 08:54, Laszlo Ersek wrote: > > On 9/21/23 14:02, ardb at kernel.org (Ard Biesheuvel) wrote: > > EDK2's DEBUG output is extremely noisy, so being able to redirect this > > output to a different UART would be very useful. > > > > The stdout-path is the intended console, and

Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-09-28 Thread Laszlo Ersek
On 9/28/23 13:24, Peter Maydell wrote: > On Thu, 28 Sept 2023 at 08:54, Laszlo Ersek wrote: >> >> On 9/21/23 14:02, ardb at kernel.org (Ard Biesheuvel) wrote: >>> EDK2's DEBUG output is extremely noisy, so being able to redirect this >>> output to a different UART would be very useful. >>> >>>

Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-09-28 Thread Laszlo Ersek
On 9/21/23 14:02, ardb at kernel.org (Ard Biesheuvel) wrote: > On Thu, 21 Sept 2023 at 10:50, 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

Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-09-21 Thread Peter Maydell
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

[edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-09-21 Thread Peter Maydell
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. I'm going to describe the

Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-09-21 Thread Gerd Hoffmann
On Thu, Sep 21, 2023 at 04:34:27PM +0100, Peter Maydell wrote: > 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

Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-09-21 Thread Gerd Hoffmann
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

Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs

2023-09-21 Thread Ard Biesheuvel
On Thu, 21 Sept 2023 at 10:50, 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