[edk2-devel] [[edk2-platform][PATCH 1/1] Platform/RaspberryPi/RPi3: Enable HTTP Boot

Pete Batard pete at akeo.ie
Wed Apr 8 10:04:39 UTC 2020


On 2020.03.25 15:02, Samer El-Haj-Mahmoud wrote:
> Enable HTTP Boot (with and without TLS) on RPi3
> 
> Cc: Leif Lindholm <leif at nuviainc.com>
> Cc: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> Cc: Pete Batard <pete at akeo.ie>
> Signed-off-by: Samer El-Haj-Mahmoud <samer at elhajmahmoud.com>
> ---
>   Platform/RaspberryPi/RPi3/RPi3.dsc | 9 +++------
>   1 file changed, 3 insertions(+), 6 deletions(-)
> 
> diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3/RPi3.dsc
> index 91d5738afbc6..960b1ac57ad3 100644
> --- a/Platform/RaspberryPi/RPi3/RPi3.dsc
> +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc
> @@ -25,12 +25,6 @@ [Defines]
>     SKUID_IDENTIFIER               = DEFAULT
>     FLASH_DEFINITION               = Platform/RaspberryPi/$(PLATFORM_NAME)/$(PLATFORM_NAME).fdf
>   
> -  #
> -  # Network definition
> -  #
> -  DEFINE NETWORK_TLS_ENABLE       = FALSE
> -  DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
> -
>     #
>     # Defines for default states.  These can be changed on the command line.
>     # -D FLAG=VALUE
> @@ -123,6 +117,7 @@ [LibraryClasses.common]
>     IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
>     BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
>     OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
> +  TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
>   
>     #
>     # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
> @@ -329,6 +324,8 @@ [PcdsFixedAtBuild.common]
>     gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
>   !endif
>   
> +  gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
> +
>     gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x40000000
>     gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0
>     gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x1
> 

Reviewed-by: Pete Batard <pete at akeo.ie>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57061): https://edk2.groups.io/g/devel/message/57061
Mute This Topic: https://groups.io/mt/72542395/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list