xenvm: switch to Xen PV console instead of PL011 SBSA

This commit removes usage of Xen emulated PL011 SBSA UART in favor of
Xen PV console minimal implementation. Now boot log and application
output can be directly taken from hypervisor domain console, instead of
virtual UART.

Also Xen VM doc was updated according to these changes.

Signed-off-by: Dmytro Firsov <dmytro_firsov@epam.com>
This commit is contained in:
Dmytro Firsov 2021-07-02 12:31:34 +03:00 committed by Carles Cufí
commit 5451674373
4 changed files with 26 additions and 36 deletions

View file

@ -25,9 +25,8 @@
#size-cells = <0x02>;
chosen {
zephyr,console = &sbsa;
zephyr,shell-uart = &sbsa;
zephyr,sram = &ram;
zephyr,console = &xen_hvc;
};
cpus {
@ -78,12 +77,8 @@
interrupt-parent = <&gic>;
};
sbsa: sbsa-pl011@22000000 {
compatible = "arm,sbsa-uart";
reg = <0x00 0x22000000 0x00 0x1000>;
interrupts = <GIC_SPI 0x00 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
interrupt-parent = <&gic>;
current-speed = <0x1c200>;
label = "UART";
xen_hvc: hvc {
compatible = "xen,uart_hvc";
status = "okay";
};
};