From b53be68e8847a449858b901b2ce0064b0b21829c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 16 Mar 2016 13:28:37 +0000 Subject: [PATCH] Use correct console= and other parameters for aarch64. --- run-supernested.sh.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/run-supernested.sh.in b/run-supernested.sh.in index 7b2752e..9ed9b5b 100644 --- a/run-supernested.sh.in +++ b/run-supernested.sh.in @@ -19,15 +19,25 @@ # # Written by Richard W.M. Jones +arch="@host_cpu@" qemu="@QEMU@" image="supernested-@VERSION@-@DISTRO@.qcow2" format=qcow2 kernel=kernel initrd=initrd -append="panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 root=/dev/sda selinux=0" +append="panic=1 udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 root=/dev/sda selinux=0" smp= tcg= +case "$arch" in + aarch64) + append="$append earlyprintk=pl011,0x9000000 ignore_loglevel efi-rtc=noprobe" + ;; + *) + append="$append console=ttyS0" + ;; +esac + TEMP=`getopt \ -o '' \ --longoptions 'help,nested,smp:,tcg' \ -- 1.8.3.1