EFI Loader: Correct dependencies for EFI_HTTP_BOOT
PATCH 1/1 EFI Loader: Correct dependencies for EFI_HTTP_BOOT
As exposed by "make randconfig", we have an issue with the dependencies for EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)
lib/efi_loader/Kconfig +1 -0
@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNS
Signature · 1 line
2.43.0
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>
In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/Ilias
Quoted 22 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)lib/efi_loader/Kconfig +1
-1@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNS --2.43.0
Am 17. März 2026 08:03:47 MEZ schrieb Ilias Apalodimas <[email protected]>:
Quoted 25 lines
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 12 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 12 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNS
Having to select commands here to get network is what needs to change. The network commands and EFI_HTTP_BOOT both should depend on configuration symbols for the protocol implementations.
@Tom: Do we have a target release when to finish the move to the LWIP stack?
Best regards
Heinrich
Quoted 3 lines
Quoted 3 lines
--
2.43.0
Quoted 26 lines · Heinrich Schuchardt
Am 17. März 2026 08:03:47 MEZ schrieb Ilias Apalodimas <[email protected]>:
Quoted 25 lines
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
lib/efi_loader/Kconfig +0
-0Quoted 8 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 8 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNSHaving to select commands here to get network is what needs to change. The network commands and
EFI_HTTP_BOOTboth should depend on configuration symbols for the protocol implementations.
Yes. And this is about fixing missing dependencies, today.
Quoted 1 line
@Tom: Do we have a target release when to finish the move to the LWIP stack?
We do not. I'm not yet sure if all the various use cases of the legacy stack are fully supported now (I don't recall off-hand the NFS series state right now for example).
Signature · 1 line
Tom
Quoted 43 lines · Tom Rini
Quoted 26 lines · Heinrich Schuchardt
Am 17. März 2026 08:03:47 MEZ schrieb Ilias Apalodimas <[email protected]>:
Quoted 25 lines
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
lib/efi_loader/Kconfig +0
-0Quoted 8 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 8 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNSHaving to select commands here to get network is what needs to change. The network commands and
EFI_HTTP_BOOTboth should depend on configuration symbols for the protocol implementations.
Quoted 7 lines
Yes. And this is about fixing missing dependencies, today.
Quoted 1 line
@Tom: Do we have a target release when to finish the move to the LWIP stack?
We do not. I'm not yet sure if all the various use cases of the legacy stack are fully supported now (I don't recall off-hand the NFS series state right now for example).
I did see NFS patches go through the list.
I think there's also likely some legacy usecases where non parity is likely fine too.
Peter
Quoted 46 lines · Peter Robinson
Quoted 45 lines · Tom Rini
Quoted 26 lines · Heinrich Schuchardt
Am 17. März 2026 08:03:47 MEZ schrieb Ilias Apalodimas <[email protected]>:
Quoted 25 lines
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
lib/efi_loader/Kconfig +0
-0Quoted 8 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 8 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNSHaving to select commands here to get network is what needs to change. The network commands and
EFI_HTTP_BOOTboth should depend on configuration symbols for the protocol implementations.Yes. And this is about fixing missing dependencies, today.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
@Tom: Do we have a target release when to finish the move to the LWIP stack?
We do not. I'm not yet sure if all the various use cases of the legacy stack are fully supported now (I don't recall off-hand the NFS series state right now for example).
I did see NFS patches go through the list.
I saw the NFS support as well shortly after hitting send, as part of a randconfig build.
Quoted 2 lines
I think there's also likely some legacy usecases where non parity is likely fine too.
Perhaps the question really is, for the distribution folks, what are the use cases you know of where lwIP doesn't have support yet? That's the first big hurdle towards, likely, saying EFI_LOADER implies NET_LWIP maybe, since I know there's cases there lwIP is better for.
Signature · 1 line
Tom
Quoted 59 lines · Tom Rini
Quoted 46 lines · Peter Robinson
Quoted 45 lines · Tom Rini
Quoted 26 lines · Heinrich Schuchardt
Am 17. März 2026 08:03:47 MEZ schrieb Ilias Apalodimas <[email protected]>:
Quoted 25 lines
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
lib/efi_loader/Kconfig +0
-0Quoted 8 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 8 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNSHaving to select commands here to get network is what needs to change. The network commands and
EFI_HTTP_BOOTboth should depend on configuration symbols for the protocol implementations.Yes. And this is about fixing missing dependencies, today.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
@Tom: Do we have a target release when to finish the move to the LWIP stack?
We do not. I'm not yet sure if all the various use cases of the legacy stack are fully supported now (I don't recall off-hand the NFS series state right now for example).
I did see NFS patches go through the list.
I saw the NFS support as well shortly after hitting send, as part of a randconfig build.
Quoted 7 lines
Quoted 2 lines
I think there's also likely some legacy usecases where non parity is likely fine too.
Perhaps the question really is, for the distribution folks, what are the use cases you know of where lwIP doesn't have support yet? That's the first big hurdle towards, likely, saying
EFI_LOADERimpliesNET_LWIPmaybe, since I know there's cases there lwIP is better for.
I don't know of any problems or missing features, I turned in on by default in Fedora across all devices for Fedora 43 (The 2025.07 builds) because I wanted UEFI HTTP boot and haven't had any bug reports, and I suspect the features like UEFI HTTP is more useful for most distros than loss of other features because a lot of vendors are moving away from legacy tech like BOOTP/TFTP because of lack of security and the fact most of those technologies are not usable on the Edge/outside of the data centre.
I know of one device which has tight SPI flash space (Jetson p3450) which I need to look at closer to see what I can trim, but that's a side point on that device.
Quoted 77 lines · Peter Robinson
Quoted 59 lines · Tom Rini
Quoted 46 lines · Peter Robinson
Quoted 45 lines · Tom Rini
Quoted 26 lines · Heinrich Schuchardt
Am 17. März 2026 08:03:47 MEZ schrieb Ilias Apalodimas <[email protected]>:
Quoted 25 lines
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
lib/efi_loader/Kconfig +0
-0Quoted 8 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 8 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNSHaving to select commands here to get network is what needs to change. The network commands and
EFI_HTTP_BOOTboth should depend on configuration symbols for the protocol implementations.Yes. And this is about fixing missing dependencies, today.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
@Tom: Do we have a target release when to finish the move to the LWIP stack?
We do not. I'm not yet sure if all the various use cases of the legacy stack are fully supported now (I don't recall off-hand the NFS series state right now for example).
I did see NFS patches go through the list.
I saw the NFS support as well shortly after hitting send, as part of a randconfig build.
Quoted 7 lines
Quoted 2 lines
I think there's also likely some legacy usecases where non parity is likely fine too.
Perhaps the question really is, for the distribution folks, what are the use cases you know of where lwIP doesn't have support yet? That's the first big hurdle towards, likely, saying
EFI_LOADERimpliesNET_LWIPmaybe, since I know there's cases there lwIP is better for.I don't know of any problems or missing features, I turned in on by default in Fedora across all devices for Fedora 43 (The 2025.07 builds) because I wanted UEFI HTTP boot and haven't had any bug reports, and I suspect the features like UEFI HTTP is more useful for most distros than loss of other features because a lot of vendors are moving away from legacy tech like BOOTP/TFTP because of lack of security and the fact most of those technologies are not usable on the Edge/outside of the data centre.
Quoted 3 lines
I know of one device which has tight SPI flash space (Jetson p3450) which I need to look at closer to see what I can trim, but that's a side point on that device.
OK. I know the NFS for lwIP request came from somewhere and wasn't just a fun side project. Pretty sure anyhow. So I wonder if there's other things like that that someone knows of.
Signature · 1 line
Tom
Quoted 78 lines · Tom Rini
Quoted 77 lines · Peter Robinson
Quoted 59 lines · Tom Rini
Quoted 46 lines · Peter Robinson
Quoted 45 lines · Tom Rini
Quoted 26 lines · Heinrich Schuchardt
Am 17. März 2026 08:03:47 MEZ schrieb Ilias Apalodimas <[email protected]>:
Quoted 25 lines
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
lib/efi_loader/Kconfig +0
-0Quoted 8 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 8 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNSHaving to select commands here to get network is what needs to change. The network commands and
EFI_HTTP_BOOTboth should depend on configuration symbols for the protocol implementations.Yes. And this is about fixing missing dependencies, today.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
@Tom: Do we have a target release when to finish the move to the LWIP stack?
We do not. I'm not yet sure if all the various use cases of the legacy stack are fully supported now (I don't recall off-hand the NFS series state right now for example).
I did see NFS patches go through the list.
I saw the NFS support as well shortly after hitting send, as part of a randconfig build.
Quoted 7 lines
Quoted 2 lines
I think there's also likely some legacy usecases where non parity is likely fine too.
Perhaps the question really is, for the distribution folks, what are the use cases you know of where lwIP doesn't have support yet? That's the first big hurdle towards, likely, saying
EFI_LOADERimpliesNET_LWIPmaybe, since I know there's cases there lwIP is better for.I don't know of any problems or missing features, I turned in on by default in Fedora across all devices for Fedora 43 (The 2025.07 builds) because I wanted UEFI HTTP boot and haven't had any bug reports, and I suspect the features like UEFI HTTP is more useful for most distros than loss of other features because a lot of vendors are moving away from legacy tech like BOOTP/TFTP because of lack of security and the fact most of those technologies are not usable on the Edge/outside of the data centre.
Quoted 8 lines
Quoted 3 lines
I know of one device which has tight SPI flash space (Jetson p3450) which I need to look at closer to see what I can trim, but that's a side point on that device.
OK. I know the NFS for lwIP request came from somewhere and wasn't just a fun side project. Pretty sure anyhow. So I wonder if there's other things like that that someone knows of.
The ability to push data from memory to a remote file is missing from LwIP (no tftpput). I have suggested previously that an simple U-Boot HTTP server configured to respond with data from a memory address and range, and/or to serve files from a filesystem, would be interesting although not exactly replacing the functionality missing from the lack of tftpput.
-E
Quoted 89 lines · E Shattow
Quoted 78 lines · Tom Rini
Quoted 77 lines · Peter Robinson
Quoted 59 lines · Tom Rini
Quoted 46 lines · Peter Robinson
Quoted 45 lines · Tom Rini
Quoted 26 lines · Heinrich Schuchardt
Am 17. März 2026 08:03:47 MEZ schrieb Ilias Apalodimas <[email protected]>:
Quoted 25 lines
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
lib/efi_loader/Kconfig +0
-0Quoted 8 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 8 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNSHaving to select commands here to get network is what needs to change. The network commands and
EFI_HTTP_BOOTboth should depend on configuration symbols for the protocol implementations.Yes. And this is about fixing missing dependencies, today.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
@Tom: Do we have a target release when to finish the move to the LWIP stack?
We do not. I'm not yet sure if all the various use cases of the legacy stack are fully supported now (I don't recall off-hand the NFS series state right now for example).
I did see NFS patches go through the list.
I saw the NFS support as well shortly after hitting send, as part of a randconfig build.
Quoted 7 lines
Quoted 2 lines
I think there's also likely some legacy usecases where non parity is likely fine too.
Perhaps the question really is, for the distribution folks, what are the use cases you know of where lwIP doesn't have support yet? That's the first big hurdle towards, likely, saying
EFI_LOADERimpliesNET_LWIPmaybe, since I know there's cases there lwIP is better for.I don't know of any problems or missing features, I turned in on by default in Fedora across all devices for Fedora 43 (The 2025.07 builds) because I wanted UEFI HTTP boot and haven't had any bug reports, and I suspect the features like UEFI HTTP is more useful for most distros than loss of other features because a lot of vendors are moving away from legacy tech like BOOTP/TFTP because of lack of security and the fact most of those technologies are not usable on the Edge/outside of the data centre.
Quoted 8 lines
Quoted 3 lines
I know of one device which has tight SPI flash space (Jetson p3450) which I need to look at closer to see what I can trim, but that's a side point on that device.
OK. I know the NFS for lwIP request came from somewhere and wasn't just a fun side project. Pretty sure anyhow. So I wonder if there's other things like that that someone knows of.
Quoted 6 lines
The ability to push data from memory to a remote file is missing from LwIP (no tftpput). I have suggested previously that an simple U-Boot HTTP server configured to respond with data from a memory address and range, and/or to serve files from a filesystem, would be interesting although not exactly replacing the functionality missing from the lack of tftpput.
Oh yeah. And since lwIP already has tftpget, I would hope adding "put" isn't too much work.
Signature · 1 line
Tom
Quoted 25 lines · Ilias Apalodimas
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 12 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 12 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNS
The select lines here mean that you cannot do that, today :)
Signature · 1 line
Tom
Quoted 27 lines · Tom Rini
Quoted 25 lines · Ilias Apalodimas
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
lib/efi_loader/Kconfig +0
-0Quoted 8 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 8 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNSThe select lines here mean that you cannot do that, today :)
Fair enough. I was just thinking "lets not limit it more". Heinrich is right though. This needs an overhaul and depend on the protocols instead of the commands. Either way I don't mind merging it now, but maybe add a TODO with fixing it in the future?
Thanks
/Ilias
Quoted 3 lines
--
Tom
Quoted 43 lines · Ilias Apalodimas
Quoted 27 lines · Tom Rini
Quoted 25 lines · Ilias Apalodimas
Hi Tom,
Quoted 6 lines · Tom Rini
As exposed by "make randconfig", we have an issue with the dependencies for
EFI_HTTP_BOOT. As this is implemeneted by running commands (as seen by what it selects) it must depend on CMDLINE as well.Signed-off-by Tom Rini <[email protected]>In theory, you can configure UEFI with a set of prebuilt boot options. If one of them is http(s) the device will boot even if CMDLINE is not selected. I am not against this patch, but we will remove the possibility to build a firmware without cmdline that just boots to whatever is was preconfigured
Cheers
/IliasQuoted 7 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
lib/efi_loader/Kconfig +0
-0Quoted 8 lines
lib/efi_loader/Kconfig config EFI_BOOTMGR · line 606
Quoted 8 lines
lib/efi_loader/Kconfig +1
-0@@ -600,6 +600,7 @@ config EFI_BOOTMGR config EFI_HTTP_BOOT bool "EFI HTTP Boot support" depends on NET || NET_LWIP + depends on CMDLINE select CMD_NET select CMD_DHCP select CMD_DNSThe select lines here mean that you cannot do that, today :)
Quoted 4 lines
Fair enough. I was just thinking "lets not limit it more". Heinrich is right though. This needs an overhaul and depend on the protocols instead of the commands. Either way I don't mind merging it now, but maybe add a TODO with fixing it in the future?
Sure:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/issues/24
Signature · 1 line
Tom