aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-30 23:56:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-31 17:53:27 +0100
commit55dcd0b428cce144c89a6ad1b24291625d3791d4 (patch)
treeb8f220c0d3b23cb9e5ccdfe8b339c64b0eb73570
parent0d8bdbde311ecd158ddfdd11e03446e0eda119ce (diff)
downloadopenembedded-core-contrib-55dcd0b428cce144c89a6ad1b24291625d3791d4.tar.gz
qemuarm: Add DTB file new kernel
For kernels after 4.7, we need to ensure the DTB file for the kernel is used by runqemu. Doing this conditionally based upon the kernel verison being built seems to be the only way forward for this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/machine/qemuarm.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
index 34686cfe97..3ca4d6e462 100644
--- a/meta/conf/machine/qemuarm.conf
+++ b/meta/conf/machine/qemuarm.conf
@@ -15,3 +15,4 @@ 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"
+QB_DTB = "${@base_version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"