Skip to content
Snippets Groups Projects
Commit 0310f47f authored by bjorn3's avatar bjorn3
Browse files

Set max-page-size for linking bootstrap

Without this the virtual addresses will not match the file offsets for
the final initfs blob on AArch64 as there it will align to 64k by
default.
parent a0b6fa91
No related branches found
No related tags found
No related merge requests found
......@@ -19,5 +19,6 @@ mkdir -v "${COOKBOOK_STAGE}/boot"
-o "${COOKBOOK_STAGE}/boot/bootstrap" \
--gc-sections \
-T "${COOKBOOK_SOURCE}/src/${ARCH}.ld" \
-z max-page-size=4096 \
"${COOKBOOK_BUILD}/${TARGET}/release/libbootstrap.a"
"""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment