[Bug]: HTTP command not available in OVMF UEFI Shell despite modyfing files #11591
Closed
theoDev-alt
started this conversation in
General
Replies: 1 comment
-
|
Solved |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[Bug]: HTTP command not available in OVMF UEFI Shell
Description
I'm building OVMF from source and can successfully boot into the UEFI shell in QEMU, but the
httpcommand is not available despite enabling network support during the build.Environment
Steps Taken
1. Initial Build Attempt
source edksetup.sh build -a X64 -t GCC5 -p OvmfPkg/OvmfPkgX64.dsc2. Attempted Manual Configuration
Edited
OvmfPkg/OvmfPkgX64.dscandOvmfPkg/OvmfPkgX64.fdfto add:In .dsc [Components]:
In .fdf [FV.DXEFV]:
Also according to this page : http pcds conf tried adding to
[PcdsFixedAtBuild]:3. QEMU Command (with virtio-rng per issue #10663)
Current Behavior
httpin the shell returns:'http' is not recognized as an internal or external command, operable program, or script file.Observations
I discovered that:
ShellPkg/ShellPkg.dscalready containsHttpDynamicCommandwithPcdShellLibAutoInitialize|FALSEOvmfPkg/Include/Dsc/ShellComponents.dsc.inchas HTTP command conditional onNETWORK_ENABLE == TRUEOvmfPkg/Include/Fdf/ShellDxe.fdf.incalso includes HTTP command whenNETWORK_ENABLE == TRUEThis suggests the infrastructure is already in place, but something is preventing it from working.
Questions
NETWORK_ENABLEthe correct flag, or are there additional flags needed?NETWORK_HTTP_ENABLE,NETWORK_ALLOW_HTTP_CONNECTIONS)-device virtio-rng-pci)?Expected Behavior
The
httpcommand should be available in the UEFI shell.Additional Context
I've reviewed issue #10663 which mentioned similar symptoms but was resolved by adding
-device virtio-rng-pcito QEMU. I've already added this but still don't have the HTTP command available.As you may understand I am new to edk2 but I tried many times before asking here. Any guidance on what I might be missing would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions