rebuild "pve-edk2-firmware" package

doiiido

New Member
Sep 25, 2024
1
0
1
Hi everyone!
I've been trying to build the "pve-edk2-firmware" package but the script at "/ debian / edk2-vars-generator.py" always gets stuck at line 129: "child.expect(['FS0:\\\\> '], timeout=None)".
Are there any instructions on how to build the package that I'm missing?

Attaching the last lines of build to show were it gets stuck:
https://pastebin.com/v9G3uSrs
if I ctrl^c it goes:
https://pastebin.com/mZqEvz6g

Sorry for posting at the wrong section (perhaps the wrong forum), but I couldn't find a better place to ask....

Thank you for the attention,
Best Regards,
Lincoln.
 
This will happen if your Logo.bmp is not in the correct format, use the following command to format the Logo.bmp

Code:
convert logo.png -resize 400x120! -depth 8 -colors 256 -units PixelsPerInch -density 72x72 -compress None BMP3:Logo.bmp

It also happens if you have changed the value for INTEL_Q35_MCH_DEVICE_ID in edk2 and that change is not reflected in the running qemu package (include/hw/pci/pci_ids.h PCI_DEVICE_ID_INTEL_P35_MCH). This is because QEMU is looking for a device with that ID during boot and if it is unable to find it, the boot fails. You must either patch qemu first and then pve-edk2-firmware with the same value, or do not alter either.