loongson / Firmware

Firmware Of LoongArch Machines
86 stars 20 forks source link

Update Virtual Machine firmware for QEMU 9.0 #108

Closed driver1998 closed 1 month ago

driver1998 commented 1 month ago

In QEMU 9.0 code.fd and vars.fd are now both loaded as flash: https://github.com/qemu/qemu/commit/c6e9847fc4becba561c631c4505e3b05d4926184.

The corresponding EDK2 updates are merged as https://github.com/tianocore/edk2-platforms/commit/7f42d4034c8f4266da691df69dce18234f752cb4. But the firmware images in this repo are not updated.

Trying to use NVRAM with firmware images here and QEMU 9.0 will result in NVRAM being written to code.fd, thus bricking the VM.

lixianglai commented 1 month ago

Firmware update: https://github.com/loongson/Firmware/pull/109