Skip to content

Commit

Permalink
Increase memory range for kernel placement
Browse files Browse the repository at this point in the history
This change increases the range in which the kernel can be placed by
kexec-tools. Without this increase, users might not have the space in
memory to allocate memory for the kernel image.
fabianishere committed Jul 9, 2021
1 parent 76b6369 commit 6eadb32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion udm-bootctl
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ _do_load() {
args="-l $target/kernel --reuse-cmdline"
# Force kexec-tools to load the kernel image inside the right memory region
# See https://github.com/fabianishere/udm-kernel-tools/pull/14#issuecomment-850786069
args+=" --mem-min=0x04000000 --mem-max=0x05000000"
args+=" --mem-min=0x04000000 --mem-max=0x06000000"
if [ -n "$initrd" ]; then
args+=" --initrd=$target/initramfs.gz"
fi

0 comments on commit 6eadb32

Please sign in to comment.