This is a bootloader for Open Firmware PowerPC systems that we will use to replace grub-ieee1275 in device-generic-ppc64le. Due to its use of RUSTC_BOOTSTRAP, this APKBUILD cannot go to Alpine at the moment, but once the Rust targets are added upstream, this can be moved to aports. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9002>
14 lines
405 B
Diff
14 lines
405 B
Diff
diff --git a/src/main.rs b/src/main.rs
|
|
index df41a25..fd2857b 100644
|
|
--- a/src/main.rs
|
|
+++ b/src/main.rs
|
|
@@ -630,7 +630,7 @@ fn load_kernel_and_prepare_jump(
|
|
}
|
|
};
|
|
|
|
- if kernel_buf.is_empty() || kernel_buf.len() > 64 * 1024 * 1024 {
|
|
+ if kernel_buf.is_empty() || kernel_buf.len() > 512 * 1024 * 1024 {
|
|
prom.write_line("invalid kernel size");
|
|
prom.power_off();
|
|
}
|