Please build an ovmf variant with DEBUG_ON_SERIAL_PORT to allow for proper debugging of stuff like secure boot. Bastian
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
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
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
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
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