OVMF does not link with SimpleTextInOut?


 

Try posting it on the 'devel' group


petermeier2525@...
 

On Fri, Sep 23, 2022 at 03:28 AM, wiliam cuong wrote:


I am wondering if this is the right mailing list to discuss my issue.
People don't really answer here it seems to such requests because it may rather be about development and not for support. Not sure if there is a better community for uefi issues. Let me know if you are aware of something. (unfortunately it's not like Javascript where there is a big community to talk to).

Alle the best


wiliam cuong
 

I am wondering if this is the right mailing list to discuss my issue.
If it is not, please let me know the right list to send my question, thanks!

On Thu, 22 Sept 2022 at 20:55, wiliam cuong <cuongwiliam7@...> wrote:

Hi,

I am building OVMF.fd for X64, and can load it in Qemu, and can confirm
everything works, including running my simple Helloworld.efi from UEFI
shell in Qemu.

However, I notice that OVMF does not seem to build (and link)
EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOut.c. Which is confusing for
me, since OvmfPkg/OvmfPkgX64.dsc includes EmbeddedPkg, which includes
SimpleTextInOutSerial.

I can confirm OVMF does not link SimpleTextInOut.c by putting this line of
code in this file, inside function SimpleTextInOutEntryPoint():

DEBUG ((DEBUG_INFO, "Init SimpleTextInOutEntryPoint ...\n"));

But in the output of Qemu, I cannot find the above debug string.

Any ideas why OVMF does not link SimpleTextInOut.c?

Thanks


wiliam cuong
 

Hi,

I am building OVMF.fd for X64, and can load it in Qemu, and can confirm
everything works, including running my simple Helloworld.efi from UEFI
shell in Qemu.

However, I notice that OVMF does not seem to build (and link)
EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOut.c. Which is confusing for
me, since OvmfPkg/OvmfPkgX64.dsc includes EmbeddedPkg, which includes
SimpleTextInOutSerial.

I can confirm OVMF does not link SimpleTextInOut.c by putting this line of
code in this file, inside function SimpleTextInOutEntryPoint():

DEBUG ((DEBUG_INFO, "Init SimpleTextInOutEntryPoint ...\n"));

But in the output of Qemu, I cannot find the above debug string.

Any ideas why OVMF does not link SimpleTextInOut.c?

Thanks