blob: d2f2c85c3fa445f1af2c05e9707490e1440339b7 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#@TYPE: Machine
2#@NAME: arm_versatile_926ejs
3#@DESCRIPTION: arm_versatile_926ejs
4
5require conf/machine/include/qemu.inc
6require conf/machine/include/tune-arm926ejs.inc
7#require conf/machine/include/tune-arm1136jf-s.inc
8
9KERNEL_IMAGETYPE = "zImage"
10
Brad Bishop37a0e4d2017-12-04 01:01:44 -050011SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;ttyAMA1"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012
Patrick Williamsc0f7c042017-02-23 20:41:17 -060013# For runqemu
14QB_SYSTEM_NAME = "qemu-system-arm"
15QB_MACHINE = "-machine versatilepb"
16QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty"
17# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet -device virtio-rng-pci"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019PREFERRED_VERSION_linux-yocto ??= "4.18%"
Brad Bishop316dfdd2018-06-25 12:45:53 -040020QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"