mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 12:32:13 +02:00
The base_version_less_or_equal() will raise errors if PREFERRED_VERSION_linux-yocto is None. For example, when we build DISTRO = "nodistro", PREFERRED_VERSION_linux-yocto is not be defined since it is defined in poky.conf, and then bitbake will choose the higher version which is 4.8 currently, so set PREFERRED_VERSION_linux-yocto to 4.8, otherwise, runqemu can't boot it. (From OE-Core rev: fd31e30f97ee9bd128d5b7b748987b0a6427b279) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
660 B
Plaintext
20 lines
660 B
Plaintext
#@TYPE: Machine
|
|
#@NAME: arm_versatile_926ejs
|
|
#@DESCRIPTION: arm_versatile_926ejs
|
|
|
|
require conf/machine/include/qemu.inc
|
|
require conf/machine/include/tune-arm926ejs.inc
|
|
#require conf/machine/include/tune-arm1136jf-s.inc
|
|
|
|
KERNEL_IMAGETYPE = "zImage"
|
|
|
|
SERIAL_CONSOLES = "115200;ttyAMA0 115200;ttyAMA1"
|
|
|
|
# For runqemu
|
|
QB_SYSTEM_NAME = "qemu-system-arm"
|
|
QB_MACHINE = "-machine versatilepb"
|
|
QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty"
|
|
QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet"
|
|
PREFERRED_VERSION_linux-yocto ??= "4.8%"
|
|
QB_DTB = "${@base_version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"
|