We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bc7d88 commit 049df54Copy full SHA for 049df54
config/runtime/boot/qemu.jinja2
@@ -1,7 +1,8 @@
1
+{%- set console_dev = 'ttyAMA0' if platform_config.context.arch in ['arm', 'arm64'] else 'ttyS0' -%}
2
- deploy:
3
images:
4
kernel:
- 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
6
verbose console_msg_format=syslog earlycon"
7
url: '{{ node.artifacts.kernel }}'
8
ramdisk:
0 commit comments