Page MenuHomeFreeBSD

bhyve: Add FDT building code for arm64
ClosedPublic

Authored by markj on Jul 12 2023, 1:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 4:44 PM
Unknown Object (File)
Fri, Nov 29, 1:05 PM
Unknown Object (File)
Nov 24 2024, 1:52 PM
Unknown Object (File)
Nov 9 2024, 4:19 AM
Unknown Object (File)
Nov 7 2024, 2:43 PM
Unknown Object (File)
Nov 7 2024, 12:07 AM
Unknown Object (File)
Oct 21 2024, 5:11 PM
Unknown Object (File)
Oct 5 2024, 8:23 AM

Details

Summary

fdt.c provides some basic routines which let platform initialization
code build the FDT that gets passed into the guest. For now this is not
very generic; we declare info about CPUs, memory, a single UART
(specified by -o console), a PCIe controller (used for virtio devices),
an interrupt controller and the platform timer.

Most imported from https://github.com/zxombie/freebsd/tree/bhyvearm64 ,
with some refactoring to avoid hard-coding various constants which
define the location of MMIO regions.

Diff Detail

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

Event Timeline

markj requested review of this revision.Jul 12 2023, 1:52 PM
This revision is now accepted and ready to land.Jul 12 2023, 6:48 PM

Add msi-controller to the GIC node. This is required to boot Linux guests, otherwise
drivers fall back to legacy IRQs, which aren't implemented currently. From jrtc27.

This revision now requires review to proceed.Dec 11 2023, 4:12 PM
This revision is now accepted and ready to land.Dec 12 2023, 6:59 AM
This revision was automatically updated to reflect the committed changes.