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)
Wed, Jul 24, 6:53 PM
Unknown Object (File)
Mon, Jul 22, 7:26 PM
Unknown Object (File)
Fri, Jun 28, 4:50 PM
Unknown Object (File)
Jun 26 2024, 6:33 PM
Unknown Object (File)
Jun 25 2024, 9:59 AM
Unknown Object (File)
Jun 25 2024, 9:36 AM
Unknown Object (File)
Jun 25 2024, 8:20 AM
Unknown Object (File)
Jun 25 2024, 7:59 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 49484
Build 46374: 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.