On 04/23/16 08:39, [email protected] wrote:
> Hi everyone,
> I build the Csm16.bin from source code of seabios-1.9.2.tar.gz . And copy
> the Csm16.bin to OvmfPkg/Csm/Csm16/Csm16.bin , Build the OVMF_CODE.fd and
> OVMF_VARS.fd with command build -D CSM_ENABLE.
> Unfortunately, I test the OVMF_CODE.fd and OVMF_VARS.fd in qemu. It failed!
> The log is:
> ASSERT_EFI_ERROR (Status = Not Found)
> ASSERT
> /root/tianocore-edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBios.c(982):
> !EFI_ERROR (Status)
> Any information you can provide me would be greatly appreciated.
Sorry, no idea. The assert is about a memory allocation failure (you can
check the source code at the location captured in the assert):
Status = AllocateLegacyMemory (
AllocateAddress,
CONVENTIONAL_MEMORY_TOP - MemorySize,
EFI_SIZE_TO_PAGES (MemorySize),
&MemoryAddress
);
ASSERT_EFI_ERROR (Status);
I don't know why it fails.
Perhaps you can experiment with older SeaBIOS releases and narrow it
down a little. (You could also experiment with OVMF builds at different
git commits, but I don't readily recall anything that could cause this.)
I'm adding David, Kevin and Gerd to the CC list.
Thanks
Laszlo
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel