On Sat, 17 Oct 2026 23:23:45 -0500, Anirudh Srinivasan wrote:
> This series contains a bunch of mischallaneous fixes to the BIOSEMU
> codebase to get display output working in u-boot using an Aspeed AST2600
> PCIE VGA card on a RISC-V system that doesn't support I/O ports. This
> was tested by passing the card through to a qemu riscv64 VM, but should
> work on any board supporting PCIe in u-boot.
>
> v2 of this series only contains the first 5 patches from v1, which are
> misc fixes to drivers/bios_emulator. Based on the feedback from v1, the
> last 3 patches implementing a aspeed_video driver/overriding the biosemu
> functionality in a hacky manner have been dropped. This will be
> implemented in a manner where the video driver can provide custom ops
> that override biosemu's read/write calls, and will be sent in the future.
>
> [...]
Applied to u-boot/main, thanks!
[1/5] bios_emulator: select X86EMU_RAW_IO only on x86
commit: 8a8703d44ca1ad661aa393216ff894ee4cc0545a
[2/5] bios_emulator: Don't free a caller's BIOS image
commit: be7542a25da8e1fb78b278d71dcfda14ca79392a
[3/5] bios_emulator: use driver-model functions for PCI config acceses
commit: 2323c29cc2abfc25a6e8daf9f998cea9a1ad7b5c
[4/5] bios_emulator: support 16-bit reads on VGA port
commit: f9866a5c580c9ff81c2e22c429ecae1025ff9acf
[5/5] bios_emulator: extend VGA I/O ports to include ports 0x3B4-0x3DA
commit: 4f8b6baeb06c5ecdc44fda2f555421101d83ce3b
--
Tom