diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/classes/qemuboot.bbclass | 2 | ||||
| -rw-r--r-- | meta/conf/machine/qemuarm.conf | 2 | ||||
| -rw-r--r-- | meta/conf/machine/qemuarm64.conf | 2 | ||||
| -rw-r--r-- | meta/conf/machine/qemuarmv5.conf | 2 | ||||
| -rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 2 |
5 files changed, 4 insertions, 6 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass index 8798ad80e6..1f8012edc1 100644 --- a/meta/classes/qemuboot.bbclass +++ b/meta/classes/qemuboot.bbclass | |||
| @@ -103,7 +103,7 @@ def qemuboot_vars(d): | |||
| 103 | build_vars = ['MACHINE', 'TUNE_ARCH', 'DEPLOY_DIR_IMAGE', | 103 | build_vars = ['MACHINE', 'TUNE_ARCH', 'DEPLOY_DIR_IMAGE', |
| 104 | 'KERNEL_IMAGETYPE', 'IMAGE_NAME', 'IMAGE_LINK_NAME', | 104 | 'KERNEL_IMAGETYPE', 'IMAGE_NAME', 'IMAGE_LINK_NAME', |
| 105 | 'STAGING_DIR_NATIVE', 'STAGING_BINDIR_NATIVE', | 105 | 'STAGING_DIR_NATIVE', 'STAGING_BINDIR_NATIVE', |
| 106 | 'STAGING_DIR_HOST'] | 106 | 'STAGING_DIR_HOST', 'SERIAL_CONSOLES'] |
| 107 | return build_vars + [k for k in d.keys() if k.startswith('QB_')] | 107 | return build_vars + [k for k in d.keys() if k.startswith('QB_')] |
| 108 | 108 | ||
| 109 | do_write_qemuboot_conf[vardeps] += "${@' '.join(qemuboot_vars(d))}" | 109 | do_write_qemuboot_conf[vardeps] += "${@' '.join(qemuboot_vars(d))}" |
diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf index 37dae8c863..e5ec4cc065 100644 --- a/meta/conf/machine/qemuarm.conf +++ b/meta/conf/machine/qemuarm.conf | |||
| @@ -17,7 +17,7 @@ QB_SYSTEM_NAME = "qemu-system-arm" | |||
| 17 | QB_MACHINE = "-machine virt,highmem=off" | 17 | QB_MACHINE = "-machine virt,highmem=off" |
| 18 | QB_CPU = "-cpu cortex-a15" | 18 | QB_CPU = "-cpu cortex-a15" |
| 19 | # Standard Serial console | 19 | # Standard Serial console |
| 20 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0 vmalloc=256" | 20 | QB_KERNEL_CMDLINE_APPEND = "vmalloc=256" |
| 21 | # For graphics to work we need to define the VGA device as well as the necessary USB devices | 21 | # For graphics to work we need to define the VGA device as well as the necessary USB devices |
| 22 | QB_GRAPHICS = "-device VGA,edid=on" | 22 | QB_GRAPHICS = "-device VGA,edid=on" |
| 23 | QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" | 23 | QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" |
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf index 05fd1f749b..51f7ecdcfd 100644 --- a/meta/conf/machine/qemuarm64.conf +++ b/meta/conf/machine/qemuarm64.conf | |||
| @@ -17,8 +17,6 @@ QB_SYSTEM_NAME = "qemu-system-aarch64" | |||
| 17 | QB_MACHINE = "-machine virt" | 17 | QB_MACHINE = "-machine virt" |
| 18 | QB_CPU = "-cpu cortex-a57" | 18 | QB_CPU = "-cpu cortex-a57" |
| 19 | QB_CPU_KVM = "-cpu host -machine gic-version=3" | 19 | QB_CPU_KVM = "-cpu host -machine gic-version=3" |
| 20 | # Standard Serial console | ||
| 21 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0" | ||
| 22 | # For graphics to work we need to define the VGA device as well as the necessary USB devices | 20 | # For graphics to work we need to define the VGA device as well as the necessary USB devices |
| 23 | QB_GRAPHICS = "-device VGA,edid=on" | 21 | QB_GRAPHICS = "-device VGA,edid=on" |
| 24 | QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" | 22 | QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" |
diff --git a/meta/conf/machine/qemuarmv5.conf b/meta/conf/machine/qemuarmv5.conf index dfe2a89573..7050bae088 100644 --- a/meta/conf/machine/qemuarmv5.conf +++ b/meta/conf/machine/qemuarmv5.conf | |||
| @@ -12,7 +12,7 @@ SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;ttyAMA1" | |||
| 12 | # For runqemu | 12 | # For runqemu |
| 13 | QB_SYSTEM_NAME = "qemu-system-arm" | 13 | QB_SYSTEM_NAME = "qemu-system-arm" |
| 14 | QB_MACHINE = "-machine versatilepb" | 14 | QB_MACHINE = "-machine versatilepb" |
| 15 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty vmalloc=256" | 15 | QB_KERNEL_CMDLINE_APPEND = "vmalloc=256" |
| 16 | QB_OPT_APPEND = "-usb -device usb-tablet" | 16 | QB_OPT_APPEND = "-usb -device usb-tablet" |
| 17 | PREFERRED_VERSION_linux-yocto ??= "5.10%" | 17 | PREFERRED_VERSION_linux-yocto ??= "5.10%" |
| 18 | QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}" | 18 | QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}" |
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 77ec939ad7..eb23dbceb8 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
| @@ -176,7 +176,7 @@ class QemuRunner: | |||
| 176 | self.logger.error("Failed to create listening socket: %s" % msg[1]) | 176 | self.logger.error("Failed to create listening socket: %s" % msg[1]) |
| 177 | return False | 177 | return False |
| 178 | 178 | ||
| 179 | bootparams = 'console=tty1 console=ttyS0,115200n8 printk.time=1' | 179 | bootparams = ' printk.time=1' |
| 180 | if extra_bootparams: | 180 | if extra_bootparams: |
| 181 | bootparams = bootparams + ' ' + extra_bootparams | 181 | bootparams = bootparams + ' ' + extra_bootparams |
| 182 | 182 | ||
