Skip to content

Commit 049df54

Browse files
author
Staging script
committed
Staging PR 3026
1 parent 8bc7d88 commit 049df54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/runtime/boot/qemu.jinja2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
{%- set console_dev = 'ttyAMA0' if platform_config.context.arch in ['arm', 'arm64'] else 'ttyS0' -%}
12
- deploy:
23
images:
34
kernel:
4-
image_arg: -kernel {kernel} -append "console={{ platform_config.context.serial|default('ttyS0') }},115200 root=/dev/ram0 debug
5+
image_arg: -kernel {kernel} -append "console={{ console_dev }},115200 root=/dev/ram0 debug
56
verbose console_msg_format=syslog earlycon"
67
url: '{{ node.artifacts.kernel }}'
78
ramdisk:

0 commit comments

Comments
 (0)