diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-30 23:56:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-09 12:07:31 +0100 |
commit | 9b7614e674ad4f6e7312d0599ca8ce94c7b50d81 (patch) | |
tree | 6237b09dcb4434d6abae747266d41378d52fdab3 /meta | |
parent | 90ab47c6cf6f580b6f76d5a7423d017cc478ae6c (diff) | |
download | poky-9b7614e674ad4f6e7312d0599ca8ce94c7b50d81.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.
(From OE-Core rev: 4615764509234bfb206ffe4cd430653b88d46ec3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/machine/qemuarm.conf | 1 |
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" | |||
15 | QB_MACHINE = "-machine versatilepb" | 15 | QB_MACHINE = "-machine versatilepb" |
16 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty" | 16 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty" |
17 | QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet" | 17 | QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet" |
18 | QB_DTB = "${@base_version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}" | ||