How to build your own firmware based upon EDK2 for Windows 10 QEMU


Andrew Fish
 

Wong,

If you are building OvmfPkgX64.dsc then you can add driver or apps to OvmfPkgX64.dsc [1] to get it to build, and add it to OvmfPkgX64.fdf [2] to get it in the ROM.

[1] https://github.com/tianocore/edk2/blob/master/OvmfPkg/OvmfPkgX64.dsc
[2] https://github.com/tianocore/edk2/blob/master/OvmfPkg/OvmfPkgX64.fdf

Thanks,

Andrew Fish

On Jun 12, 2021, at 6:59 AM, tbtbfaker@... wrote:

Hi,

I am currently working on a project where I would have to customize the EFI ROM file for my Windows 10. To emulate firmware, I have built latest edk2 as well as OVMF. I am able to run OVMF using QEMU but I have no clue on the next step in order to make custom firmware to run Windows 10 in QEMU.

Can anyone advise on what I should look at next?

Regards,
Wong





tbtbfaker@...
 

Hi,

I am currently working on a project where I would have to customize the EFI ROM file for my Windows 10. To emulate firmware, I have built latest edk2 as well as OVMF. I am able to run OVMF using QEMU but I have no clue on the next step in order to make custom firmware to run Windows 10 in QEMU.

Can anyone advise on what I should look at next?

Regards,
Wong