Page MenuHomeFreeBSD

kboot: MI fixups to enable aarch64 booting
ClosedPublic

Authored by imp on Jan 29 2023, 3:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 28, 11:51 PM
Unknown Object (File)
Sat, Oct 19, 12:40 PM
Unknown Object (File)
Sat, Oct 19, 12:40 PM
Unknown Object (File)
Sat, Oct 19, 12:39 PM
Unknown Object (File)
Sat, Oct 19, 12:39 PM
Unknown Object (File)
Sat, Oct 19, 12:39 PM
Unknown Object (File)
Sat, Oct 19, 12:16 PM
Unknown Object (File)
Fri, Oct 18, 6:16 AM
Subscribers

Details

Summary

A number of bug fixes to loading kernels and modules on aarch64 and amd64.
Fix offset calcuations.
Add a number of debugs, commented out for now (will GC them in the future)

With this, and the MD aarch64 commands, we can linux boot in qemu and on
real hardware.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 49456
Build 46346: arc lint + arc unit

Event Timeline

imp requested review of this revision.Jan 29 2023, 3:16 PM
imp added a parent revision: D38260: kboot: Remove kboot_loadaddr.

rebase / refactor / redo

This revision is now accepted and ready to land.Feb 2 2023, 3:50 AM
andrew added inline comments.
stand/kboot/main.c
335

Why not put them in #ifdef DEBUG or similar?

Kill some stray debugs that aren't worth keeping around

This revision now requires review to proceed.Feb 2 2023, 6:16 PM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 3 2023, 3:52 PM
This revision was automatically updated to reflect the committed changes.