diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-12-28 17:31:10 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-05 13:48:41 +0000 |
commit | e40068655827745d73111a57a8b659252d98dca8 (patch) | |
tree | 3a379ad76eeccb5382cc9dabb8dfc2b15539921c /meta/conf/machine/qemuarmv5.conf | |
parent | 21707e9e28b0dc3fafc71458d77cc5a3b68c1f94 (diff) | |
download | poky-e40068655827745d73111a57a8b659252d98dca8.tar.gz |
machine/qemuarm*: add vmalloc kernel parameter
On kernel's v5.11+, we get the following warning after boot:
[ 47.287826] vmap allocation for size 3149824 failed: use vmalloc=<size> to increase size
It can be fixed by passing the vmalloc page size explicitly for our ARM
machines.
(From OE-Core rev: 5c6064e1a38f4dbb1ab3fa04adb1c772817826af)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/qemuarmv5.conf')
-rw-r--r-- | meta/conf/machine/qemuarmv5.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/qemuarmv5.conf b/meta/conf/machine/qemuarmv5.conf index 7e8c9e1fa6..89328977b0 100644 --- a/meta/conf/machine/qemuarmv5.conf +++ b/meta/conf/machine/qemuarmv5.conf | |||
@@ -12,7 +12,7 @@ SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;ttyAMA1" | |||
12 | # For runqemu | 12 | # For runqemu |
13 | QB_SYSTEM_NAME = "qemu-system-arm" | 13 | QB_SYSTEM_NAME = "qemu-system-arm" |
14 | QB_MACHINE = "-machine versatilepb" | 14 | QB_MACHINE = "-machine versatilepb" |
15 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty" | 15 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty vmalloc=256" |
16 | QB_OPT_APPEND = "-usb -device usb-tablet" | 16 | QB_OPT_APPEND = "-usb -device usb-tablet" |
17 | PREFERRED_VERSION_linux-yocto ??= "5.8%" | 17 | PREFERRED_VERSION_linux-yocto ??= "5.8%" |
18 | QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}" | 18 | QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}" |