2 Commits

Author SHA1 Message Date
Guokai Chen
34be6ed5a2 Fix risc-v kexec-tools support of file_load formats and initrd
* Add support for zImage with file_load
* Fix initrd address overlapping issue
* Fix firmware overwrite issues
2024-09-21 16:43:58 +08:00
Mingzheng Xing
a364008bff kdump: Add riscv64 support
This patch provides support for enabling the kdump service on riscv. After
starting the kdump service, the kdump kernel can be successfully loaded,
and after triggering a kernel crash, the kdump kernel can be started
normally and the vmcore can be captured.

Due to some issues with initrd in kexec-tools, avoid it first to provide
basic riscv architecture kdump support. Tested in openeuler riscv qemu,
and can also pass Mugen testing.

Signed-off-by: Mingzheng Xing <xingmingzheng@iscas.ac.cn>
(cherry picked from commit 7033d5da29de3ac009d36a9e5e516aaa6d58712d)
2024-05-07 11:41:09 +08:00