Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

feat(aarch64): add Linux boot target for Firecracker - #648

Merged
sarahspberrypi merged 3 commits into
hermit-os:mainfrom
stlankes:fc_aarch64
Nov 12, 2026
Merged

sarahspberrypi merged 3 commits into
hermit-os:mainfrom
stlankes:fc_aarch64

Conversation

@stlankes

Copy link
Copy Markdown
Contributor

Add the target aarch64-linux, which builds a flat arm64 Linux image linked at 0x80200000. The device tree is taken from x0 and the kernel from linux,initrd-start. The MMU is enabled early, because KVM faults on unaligned and exclusive device accesses. The console also supports the 16550 UART.

These changes are required to boot an aarch64 kernel on firecracker.

Add the target aarch64-linux, which builds a flat arm64 Linux image
linked at 0x80200000. The device tree is taken from x0 and the
kernel from linux,initrd-start. The MMU is enabled early, because
KVM faults on unaligned and exclusive device accesses. The console
also supports the 16550 UART.

These changes are required to boot an aarch64 kernel on firecracker.
@jounathaen

Copy link
Copy Markdown
Member

Fixes #544 ?

Comment thread src/arch/aarch64/entry.rs Resolved
Comment thread src/arch/aarch64/mod.rs Resolved
Comment thread src/arch/aarch64/mod.rs Resolved

@sarahspberrypi sarahspberrypi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

@sarahspberrypi
sarahspberrypi added this pull request to the merge queue Nov 12, 2026
Merged via the queue into hermit-os:main with commit 25a2e18 Nov 12, 2026
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants