diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
| commit | 3e4c5a6261770bced301b5e74233e7866166ea5b (patch) | |
| tree | 9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_riscv/host_missing/accel_missing/1343 | |
| parent | e5634e2806195bee44407853c4bf8776f7abfa4f (diff) | |
| download | qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip | |
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_riscv/host_missing/accel_missing/1343')
| -rw-r--r-- | gitlab/issues_text/target_riscv/host_missing/accel_missing/1343 | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gitlab/issues_text/target_riscv/host_missing/accel_missing/1343 b/gitlab/issues_text/target_riscv/host_missing/accel_missing/1343 deleted file mode 100644 index 5f44ad64d..000000000 --- a/gitlab/issues_text/target_riscv/host_missing/accel_missing/1343 +++ /dev/null @@ -1,36 +0,0 @@ -qemu-system-riscv64: It cannot initialize ramfb video adapter -Description of problem: -It looks like ramfb video adapter doesn't work in riscv64 architecture. But it works fine in aarch64 architecture. -Steps to reproduce: -1. Launch the [attached kernel](/uploads/43282fa1bd6959472af4f99646b447b9/kernel) with command: -``` -qemu-system-riscv64 -machine virt -kernel kernel -device ramfb -bios none -serial stdio -``` -2. You will get the messages in console: -``` -guest fw_cfg dma-interface enabled -setup ramfb successfull -``` -3. Video adapter will not initialize. QEMU window will continue display this message: -``` -Guest has not initialized the display (yet). -``` -Additional information: -There is a useful project for aarch64 architecture - https://github.com/luickk/qemu-ramfb-aarch64-driver. This is a Bare metal driver for ramfb adapter. It works fine. I adapted it for riscv64 architecture - https://github.com/CityAceE/qemu-ramfb-riscv64-driver. I've successfully went through all problems. Driver compiles now and launches. But unfortunately ramfb doesn't initialize. I parallel traced aarch64 and riscv64. They works equal until initialization. Aarch64 changes revolution just after qemu_cfg_write_entry call, but nothing happened after qemu_cfg_write_entry call in riscv64 emulation. I spent a lot of time trying to resolve this problem, but it looks like a problem in qemu-system-riscv64. - -**UPDATE** - -Tested with Windows builds of QEMU: - -v 6.1 - The same situation as Ubuntu build 6.2. - -v 7.1.92 - Stopped with message: -``` -c:\Program Files\qemu\qemu-system-riscv64.exe: -device ramfb: ramfb device requires fw_cfg with DMA -``` - -P.S. v 7.1.92 - qemu-system-aarch64.exe with [aarch64 kernel build](/uploads/0df1d440163913c25a1505032672e1c5/kernel) works fine. - -**UPDATE2** - -[QEMU emulator version 7.0.0 (v7.0.0-11902-g1d935f4a02-dirty)](https://qemu.weilnetz.de/w64/2022/qemu-w64-setup-20220419.exe) is the last Windows build which opens my riscv64 kernel without message about requirement of fw_cfg with DMA. Next build "QEMU emulator version 7.0.90 (v7.1.0-rc0-11915-g5f9b281b8a-dirty)" already has this issue. |