Skip to content

Conversation

@illwieckz
Copy link
Member

@illwieckz illwieckz commented Dec 17, 2025

Extracted from:

I don't know how to test this with SCons, I managed to build Linux amd64 binaries (so I know it doesnt break something that worked), but building the Linux armhf binaries breaks for me, even on master. I'm not planning to fix scons.

This PR makes it possible for @slipher to review and test it without the cmake stuff if he prefers.

It sets the page size to 64k, which is compatible with 64k, 16k, and 4k kernels. I've noticed that Debian Trixie libraries are already aligned on 64k, only the kernel is 16k, so it looks to be a good practice to do so.

Build arm sel_ldr and nacl_helper_bootstrap with 64K page size alignment.
Makes it compatible with 16k page size kernels.
SCons plumbing.
@illwieckz illwieckz changed the title Make the loader runs on 16k page size kernel Make the loader runs on 16k page size kernel (SCons only) Dec 17, 2025
@illwieckz illwieckz requested a review from slipher December 17, 2025 10:30
@illwieckz illwieckz added the enhancement New feature or request label Dec 17, 2025
@illwieckz
Copy link
Member Author

Attached is an hello-armhf.nexe file which is just an Hello World test executable, built with the latest Saigo.

hello-armhf.nexe.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants