On 12 December 2017 at 13:56, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote: > Given that the DEBUG output is only produced on DEBUG builds, couldn't > we simply stipulate that DEBUG output appears on the PL011 with the > lowest physical address? That keeps the current status quo, and is > probably sufficient for 99% of the use cases of people using the DEBUG > builds. > > Then, we can introduce some code to decode stdout-path in FdtClientDxe > (a higher level DT parsing driver) so that the actual serial console > gets installed onto whichever UART is described as the system console. > Also, given that ArmVirtQemu is tightly coupled to QEMU/mach-virt, we > could decide to only use node names in stdout-path (as we do > currently) to simplify the parsing logic.
That doesn't actually usefully separate debug output from the console, though, because stdout-path is also going to point to the UART with the lowest physical address... -- PMM