Files
acrn-hypervisor/misc/config_tools
Wei6 Zhang a4a1c573e5 misc: Add RISC-V board configuration for QEMU virt platform
Add board XML configuration file for RISC-V QEMU virt machine.

Key features:
- Board and firmware information (U-Boot, QEMU virt platform)
- Memory layout from /proc/iomem
- PCI device configuration for virtio devices
- 4-core processor configuration
- Serial console (ttyS0) at 0x10000000

Added comprehensive FIXME documentation explaining:
1. Most information was manually collected rather than auto-extracted
2. Original board inspector relies on x86-specific mechanisms:
   - DMI/SMBIOS (dmidecode) vs Device Tree
   - ACPI vs Device Tree
   - APIC/IOAPIC vs PLIC/CLINT
   - BIOS vs OpenSBI/U-Boot
3. Fields needing RISC-V adaptation:
   - AVAILABLE_IRQ_INFO: x86 ISA IRQs (0-15) → PLIC range (1-95+)
   - apic_id → hart_id
   - IOAPIC, DRHD (not applicable)

The VM is started with:
  qemu-system-riscv64 \
    -machine virt -nographic -m 2048 -smp 4 \
    -kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf \
    -device virtio-net-device,netdev=eth0 -netdev user,id=eth0 \
    -device virtio-rng-pci \
    -drive file=<VM_image_file>,format=raw,if=virtio

Tracked-On: #8814
Reviewed-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Fei Li <fei1.li@intel.com>
Signed-off-by: Wei6 Zhang <wei6.zhang@intel.com>
2025-10-09 11:45:13 +08:00
..
2025-08-20 10:20:20 +08:00
2025-08-20 10:20:20 +08:00

Supporting libraries of ACRN configuration toolset

This package contains the libraries supporting ACRN configuration toolset, including:

  • The manipulators and validators of scenario schemas or XMLs
  • The generator of guest ACPI tables

The main objective of this package is to ease the import of the supporting libraries in the ACRN configurator which uses a Python interpreter built in WebAssembly (WASM). This package is thus NOT intended to be used by users; invoke the Python scripts directly if needed.