-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OvmfPkg: include serial redirection opt by default #91
Conversation
Signed-off-by: Maciej Pijanowski <[email protected]>
This MR depends on: #90 |
Signed-off-by: Maciej Pijanowski <[email protected]>
@miczyg1 Another problem when trying to execute our tests was that the BootManagerMenuApp was not registered (the same Setup Menu was registered on both ESC and F2 keys). This commit registers the BootManagerMenuApp, so F2 allows to enter it. But it only works when using QEMU in graphical mode. When pressing F2 over serial, it still enters Setup Menu, not Boot Manager App (one time boot). |
F2 was EDK2 default for the setup, so BootManagerMenuApp should rather be ESC.
It might be a problem of terminal type and how it parses the escape codes. For UEFIPayload we also had problem with certain Fx keys. The solution was to set the gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType to 4. |
@miczyg1 Default where? Any reference? Both upstream and mrchromebox just registers Setup Menu on both ESC and F2 AFAIK: https://github.com/MrChromebox/edk2/blob/uefipayload_202309/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c#L245 We use ESC as setup menu on platforms such as MSI, so it felt natural here as well.
Changed in: 3fd08d4 Now F2 enters one time boot menu properly over serial (telnet). |
Ahh that was very long time ago, like in the beginning of usage of EDK2 by us. It was F2 and arrow down IIRC so even more different from what is now: 9dd88d8 MrChromebox has it modified as well.
All platforms that are based on AMI (Protectli, MSI) use DEL for setup and F11 for boot manager menu. |
@miczyg1 So what bindings shall be used here so we can proceed with this MR? Esc- one time boot ? |
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
Signed-off-by: Maciej Pijanowski <[email protected]>
It is generally useful for testing, to be able to build QEMU firmware which will have serial enabled by default. Signed-off-by: Maciej Pijanowski <[email protected]>
Signed-off-by: Maciej Pijanowski <[email protected]>
This script can be useful for testing in OSFV. The serial port can be accessed with: telnet 127.0.0.1 1234 This way, we can control the edk2 menus in tests. Signed-off-by: Maciej Pijanowski <[email protected]>
Our tests expect these strings to be there, as they are for the UefiPayloadPkg as well. Signed-off-by: Maciej Pijanowski <[email protected]>
Ported from EmulatorPkg Signed-off-by: Maciej Pijanowski <[email protected]>
Signed-off-by: Maciej Pijanowski <[email protected]>
Signed-off-by: Maciej Pijanowski <[email protected]>
Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
We want the following: - ESC - one time boot menu - F2 - setup menu See the discussion in Github: #91 (comment) Signed-off-by: Maciej Pijanowski <[email protected]>
No description provided.