#913146 edk2 - Build ovmf variant with DEBUG_ON_SERIAL_PORT

#913146#5
Date:
2018-11-07 14:02:13 UTC
From:
To:
Please build an ovmf variant with DEBUG_ON_SERIAL_PORT to allow for
proper debugging of stuff like secure boot.

Bastian

#913146#10
Date:
2018-11-27 02:53:10 UTC
From:
To:
hey Bastian!
 What should this look like? Maybe an ovmf-debug package that provides
a /usr/share/ovmf/OVMF-debug.fd? Or would it need to use the same
paths as the ovmf package and therefore conflict with it?

  -dann

#913146#13
Date:
2018-11-27 02:53:10 UTC
From:
To:
hey Bastian!
 What should this look like? Maybe an ovmf-debug package that provides
a /usr/share/ovmf/OVMF-debug.fd? Or would it need to use the same
paths as the ovmf package and therefore conflict with it?

  -dann

#913146#18
Date:
2018-11-27 08:45:13 UTC
From:
To:
Hi Dann

It can and should use a different file name, so
/usr/share/ovmf/OVMF-debug.fd or /usr/share/ovmf/debug/OVMF.fd, whatever
is easier to do.

Also it should define "DEBUG_ON_SERIAL_PORT".  For some reason the debug
output is behind another feature gate for ovmf.

Regards,
Bastian

#913146#21
Date:
2018-11-27 08:45:13 UTC
From:
To:
Hi Dann

It can and should use a different file name, so
/usr/share/ovmf/OVMF-debug.fd or /usr/share/ovmf/debug/OVMF.fd, whatever
is easier to do.

Also it should define "DEBUG_ON_SERIAL_PORT".  For some reason the debug
output is behind another feature gate for ovmf.

Regards,
Bastian

#913146#26
Date:
2019-11-22 16:27:28 UTC
From:
To:
I ran across a procedure for emitting debug info to a file:
https://lists.ofono.org/hyperkitty/list/edk2-devel@lists.01.org/message/XS2Y2POANJ6J65JLFEOOSH5DVPYFLTFY/

Given that, I wonder if there might be a way to create a single build
that users can optionally configure to enable debug output.

 -dann