aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2022-08-22 07:44:04 +0800
committerYixun Lan <dlan@gentoo.org>2022-08-22 07:45:00 +0800
commit9bd3aaeeaf5a9d6f1bfb851e535c802ada2f7c83 (patch)
treec63d4d5843fcd6ca1d693eaa94847b9a86464b24 /sys-apps
parentdev-qt/qtwebengine: add riscv support (diff)
downloadriscv-9bd3aaeeaf5a9d6f1bfb851e535c802ada2f7c83.tar.gz
riscv-9bd3aaeeaf5a9d6f1bfb851e535c802ada2f7c83.tar.bz2
riscv-9bd3aaeeaf5a9d6f1bfb851e535c802ada2f7c83.zip
sys-apps/kexec-tools: fix memory location issue
the initrd should be put at low address http://lists.infradead.org/pipermail/linux-riscv/2022-August/018398.html Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch b/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch
index 1fab497..66f4bf8 100644
--- a/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch
+++ b/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch
@@ -699,7 +699,7 @@ index 0000000..d05c47d
+ initrd_base + initrd_size);
+
+ dbgprintf("Base addr for initrd image: 0x%lX\n", initrd_base);
-+ min_usable = initrd_base;
++ max_usable = initrd_base;
+ }
+
+ /* Add device tree */