arm64, armhf: Use dtuart for console by default
PATCH 1/1 arm64, armhf: Use dtuart for console by default
We don't want to have to set a host property for each ARM host.
Julien writes:
This command line should always work for arm64. If the device-tree does not provide the property then it is a bug. We want the command line to be as agnostic as possible from the platform.
Reported-by Julien Grall <[email protected]>
Signed-off-by Ian Jackson <[email protected]>
--- ts-xen-install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
ts-xen-install +3 -1
@@ -145,7 +145,9 @@ sub adjustconfig () { sub setupboot () { my $xenhopt= "conswitch=x watchdog noreboot"; - my $cons= get_host_property($ho, 'XenSerialConsole', 'com1'); + my $cons= get_host_property($ho, 'XenSerialConsole', + $r{arch} =~ m/^arm/ ? 'dtuart' + : 'com1'); if ( $cons eq "com1" ) { $xenhopt .= " com1=$c{Baud},8n1 console=com1,vga gdb=com1";
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Hi Ian,
Quoted 6 lines · Ian Jackson
We don't want to have to set a host property for each ARM host.
Julien writes:
This command line should always work for arm64. If the device-tree does not provide the property then it is a bug. We want the command
NIT: "does not provide the property 'stdout-path' "
Quoted 4 lines
line to be as agnostic as possible from the platform.
Reported-by Julien Grall <[email protected]>Signed-off-by Ian Jackson <[email protected]>
FWIW:
Acked-by Julien Grall <[email protected]>
Cheers,
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel