Skip to content

Support running in macho mode without SPTM - #17

Open
ADevWithAnIdea wants to merge 1 commit into
mainfrom
PR_macho_nosptm
Open

ADevWithAnIdea wants to merge 1 commit into
mainfrom
PR_macho_nosptm

Conversation

@ADevWithAnIdea

Copy link
Copy Markdown
Member

Apparently on SoCs with locked sysregs there is a way to boot in the Apple entitled boot mode without SPTM active by just not including the __TEXT_BOOT_EXEC section. Add support for that here.

I still don't know the right path forward here and how much we should support it. For now just wrap the raw boot image so we can experiment with it.

Thanks to DJ for the amazing find!

Assisted-By: LLM

Apparently on SoCs with locked sysregs there is a way to boot in the Apple
entitled boot mode without SPTM active by just not including the
`__TEXT_BOOT_EXEC` section. Add support for that here.

I still don't know the right path forward here and how much we should
support it. For now just wrap the raw boot image so we can experiment
with it.

Thanks to DJ for the amazing find!

Assisted-By: LLM
Signed-off-by: Cody Ho <codyho@stanford.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant