]> code.ossystems Code Review - openembedded-core.git/commit
kexec-tools: fix arm kexec failure for __NR_kexec_file_load
authorWang Quanyang <quanyang.wang@windriver.com>
Mon, 23 Sep 2019 02:26:52 +0000 (10:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Sep 2019 12:01:17 +0000 (13:01 +0100)
commit952a3fa77c80f16cd6d97f35afdb474876a39483
treee956817c9169ee5b7b9b84355fd5b06af9b46167
parent642b3e79c66779ab2851d978d44cf2e5aab47c68
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.

Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/kexec/kexec-tools/0006-kexec-arm-undefine-__NR_kexec_file_load-for-arm.patch [new file with mode: 0644]
meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb