Page MenuHomeFreeBSD

riscv: enable EFI framebuffer
ClosedPublic

Authored by mhorne on Feb 7 2025, 4:16 PM.
Tags
None
Referenced Files
F166257601: D48884.id150680.diff
Wed, Aug 12, 2:25 PM
F166144839: D48884.id151790.diff
Tue, Aug 11, 11:29 PM
Unknown Object (File)
Tue, Aug 11, 7:28 AM
Unknown Object (File)
Sat, Aug 8, 11:02 AM
Unknown Object (File)
Sat, Aug 8, 8:34 AM
Unknown Object (File)
Thu, Jul 30, 2:44 PM
Unknown Object (File)
Wed, Jul 29, 9:05 AM
Unknown Object (File)
Wed, Jul 29, 8:13 AM
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.Mar 3 2025, 4:12 PM
This revision was automatically updated to reflect the committed changes.