diff options
author | Wang Quanyang <quanyang.wang@windriver.com> | 2019-09-23 10:26:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-27 13:02:17 +0100 |
commit | eb27d1ab3ebb58d408a0cd68f5fdef2dd52ded57 (patch) | |
tree | 548cccc85c4065f604c7a7d951ebfd522adc3121 /meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb | |
parent | da00de395830850a52906f5999294eaeeca57fc7 (diff) | |
download | poky-eb27d1ab3ebb58d408a0cd68f5fdef2dd52ded57.tar.gz |
kexec-tools: fix arm kexec failure for __NR_kexec_file_load
Once use kexec in arm arch, it will throw out the error info as below:
Could not find a free area of memory of 0xc78e744 bytes...
This is because that kexec use kexec_file_load to load image by default
but arm doesn't support it. So add this patch to avoid use kexec_file_load
in arm platforms.
(From OE-Core rev: 952a3fa77c80f16cd6d97f35afdb474876a39483)
Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb index 3439899070..c3f74359f1 100644 --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb | |||
@@ -18,6 +18,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz | |||
18 | file://0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch \ | 18 | file://0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch \ |
19 | file://0004-x86_64-Add-support-to-build-kexec-tools-with-x32-ABI.patch \ | 19 | file://0004-x86_64-Add-support-to-build-kexec-tools-with-x32-ABI.patch \ |
20 | file://0005-Disable-PIE-during-link.patch \ | 20 | file://0005-Disable-PIE-during-link.patch \ |
21 | file://0006-kexec-arm-undefine-__NR_kexec_file_load-for-arm.patch \ | ||
21 | " | 22 | " |
22 | 23 | ||
23 | SRC_URI[md5sum] = "052458f0a35c2a3b0d2302caa3318e9f" | 24 | SRC_URI[md5sum] = "052458f0a35c2a3b0d2302caa3318e9f" |