Love to know what you figure out. We meet regularly with ASRock Rack and AMI so if there is something we need to ask them to do …
What are the chances that feature sees a release in an ADLINK firmware update? I’d love to have my dev workstation output over my video card during boot so I don’t have to do the VGA or IPMI dance to touch BIOS.
@geerlingguy personally I doubt it. Is there a reason you don’t want to use the firmware I build for the ADLINK systems?
Just difficulty getting the whole firmware build toolchain put together
I see you have a release: Release v2024.05.20-bexcran · bcran/edk2_aadp · GitHub — though first I would need to update to Release v1.2.1-bexcran · bcran/openbmc · GitHub as well?
The reason I say to switch to OpenBMC is to make recovery easy if something goes wrong: because I clearly don’t have the same QA resources as a company, I’m not very confident about not bricking people’s systems!
If you have some other way to get back to a working firmware, then there’s no need to switch to OpenBMC.
The Asrock board’s UEFI doesn’t support the EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL, although since it seems to be based upon EDK, I would think that it wouldn’t be hard for them to add support. I emailed their support about this but their response, supposedly relayed from the firmware team, to “just install the arm64 driver” makes me think they didn’t understand what I was asking. If you could ask them about supporting UEFI binary emulation in the firmware, that would be great. My concern is they may not be willing to if AMI doesn’t support it, as AMI is their upstream UEFI vendor.
They could also add the MultiArchUefiPkg emulator to their firmware if they wanted, but building it and loading it is fairly easily done. It loads fine on the current firmware, but if you try to execute an x86-64 binary, the firmware doesn’t ask the emulator to do its thing, it just returns an error code.
With the emulator in place, the next thing would be adding support for UEFI GOP console on GPUs other than the built in BMC This would be useful even without the emulator as modern AMD cards like my RX 6800 have a arm64 option rom/GOP driver built in from the get go.
Thanks!
Well, this already works, sort of. I you load the ARM64 GOP driver, which can be done automatically, the GPU will kick in just after the ASRockRack splash screen, in grub. And from grub you can jump to the UEFI setup and run it from your main gpu. This might work for rEFInd too, which would even be better.
Unfortunately, this method works for AMD cards only, not for NVidia or Intel, as they lack an ARM64 GOP.