Page MenuHomeFreeBSD

riscv: enable EFI framebuffer
ClosedPublic

Authored by mhorne on Feb 7 2025, 4:16 PM.
Tags
None
Referenced Files
F112751950: D48884.diff
Sat, Mar 22, 8:04 AM
F112750727: D48884.id150680.diff
Sat, Mar 22, 7:41 AM
Unknown Object (File)
Wed, Mar 5, 5:27 PM
Unknown Object (File)
Tue, Mar 4, 4:27 PM
Unknown Object (File)
Mon, Mar 3, 4:18 PM
Unknown Object (File)
Sat, Mar 1, 8:16 PM
Unknown Object (File)
Sat, Mar 1, 2:14 PM
Unknown Object (File)
Mon, Feb 24, 2:27 PM
Subscribers

Details

Summary

Pass framebuffer information from loader(8) to the kernel via the
MODINFOMD_EFI_FB metadata field.

Enable the vt_efifb driver. A small tweak is required to work around the
lack of VM_MEMATTR_WRITE_COMBINING on this platform; we use
VM_MEMATTR_UNCACHEABLE instead.

Test Plan

Tested with the RVVM simulator. We are missing input drivers required for the graphical mode, but the framebuffer works.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mhorne requested review of this revision.Feb 7 2025, 4:16 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mon, Mar 3, 4:12 PM
This revision was automatically updated to reflect the committed changes.