From 0b2d90347cb016cc71c2de62e941a2a4ab0f35a3 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Wed, 11 Jun 2014 23:33:33 +0200 Subject: advertise OpenSSL on TianoCore splash screen / boot logo (RHEL only) Because we may include the OpenSSL library in our OVMF and AAVMF builds now, we should advertise it as required by its license. This patch takes the original TianoCore logo, shifts it up by 20 pixels, and adds the horizontally centered message This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) below. Logo-OpenSSL.bmp: PC bitmap, Windows 3.x format, 469 x 111 x 24 Logo.bmp: PC bitmap, Windows 3.x format, 193 x 58 x 8 Downstream only because upstream edk2 does not intend to release a secure-boot-enabled OVMF build. (However the advertising requirement in the OpenSSL license, "CryptoPkg/Library/OpensslLib/openssl-1.0.2*/LICENSE", has been discussed nonetheless, which is why I'm changing the logo.) Notes about the 9ece15a -> c9e5618 rebase: - Logo.bmp is no longer modified in-place; instead a modified copy is created. That's because AAVMF includes the logo too, but it doesn't include OpenSSL / Secure Boot, so we need the original copy too. Notes about the c9e5618 -> b9ffeab rebase: - AAVMF gained Secure Boot support, therefore the logo is again modified in the common location, and no FDF changes are necessary. Notes about the d7c0dfa -> 90bb4c5 rebase: - squash in the following downstream-only commits (made originally for ): - eef9eb0 restore TianoCore splash logo without OpenSSL advertisment (RHEL only) - 25842f0 OvmfPkg, ArmVirtPkg: show OpenSSL-less logo without Secure Boot (RH only) The reason is that ideas keep changing when and where to include the Secure Boot feature, so the logo must be controllable directly on the build command line, from the RPM spec file. See the following references: - https://post-office.corp.redhat.com/mailman/private/virt-devel/2016-March/msg00253.html - https://post-office.corp.redhat.com/mailman/private/virt-devel/2016-April/msg00118.html - https://bugzilla.redhat.com/show_bug.cgi?id=1323363 - This squashed variant should remain the final version of this patch. Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase: - For more fun, upstream completely changed the way logo bitmaps are embedded in the firmware binary (see for example commit ab970515d2c6, "OvmfPkg: Use the new LogoDxe driver", 2016-09-26). Therefore in this rebase, we reimplement the previous downstream-only commit e775fb20c999, as described below. - Beyond the new bitmap file (which we preserve intact from the last downstream branch), we introduce: - a new IDF (image description file) referencing the new BMP, - a new driver INF file, referencing the new BMP and new IDF (same C source code though), - a new UNI (~description) file for the new driver INF file. - In the OVMF DSC and FDF files, we select the new driver INF for inclusion if either SECURE_BOOT_ENABLE or TLS_ENABLE is set, as they both make use of OpenSSL (although different subsets of it). - In the AAVMF DSC and FDF files, we only look at SECURE_BOOT_ENABLE, because the ArmVirtQemu platform does not support TLS_ENABLE yet. - This patch is best displayed with "git show --find-copies-harder". Notes about the 20170228-c325e41585e3 -> 20171011-92d07e48907f rebase: - After picking previous downstream-only commit 32192c62e289, carry new upstream commit e01e9ae28250 ("MdeModulePkg/LogoDxe: Add missing dependency gEfiHiiImageExProtocolGuid", 2017-03-16) over to "LogoOpenSSLDxe.inf". Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase: - Adapted to upstream 25184ec33c36 ("MdeModulePkg/Logo.idf: Remove incorrect comments.", 2018-02-28) Signed-off-by: Laszlo Ersek (cherry picked from commit 32192c62e289f261f5ce74acee48e5a94561f10b) (cherry picked from commit 33a710cd613c2ca7d534b8401e2f9f2178af05be) --- ArmVirtPkg/ArmVirtQemu.dsc | 4 +++ ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 4 +++ ArmVirtPkg/ArmVirtQemuKernel.dsc | 4 +++ MdeModulePkg/Logo/Logo-OpenSSL.bmp | Bin 0 -> 156342 bytes MdeModulePkg/Logo/Logo-OpenSSL.idf | 15 +++++++++ MdeModulePkg/Logo/LogoOpenSSLDxe.inf | 61 +++++++++++++++++++++++++++++++++++ MdeModulePkg/Logo/LogoOpenSSLDxe.uni | 22 +++++++++++++ OvmfPkg/OvmfPkgIa32.dsc | 4 +++ OvmfPkg/OvmfPkgIa32.fdf | 4 +++ OvmfPkg/OvmfPkgIa32X64.dsc | 4 +++ OvmfPkg/OvmfPkgIa32X64.fdf | 4 +++ OvmfPkg/OvmfPkgX64.dsc | 4 +++ OvmfPkg/OvmfPkgX64.fdf | 4 +++ 13 files changed, 134 insertions(+) create mode 100644 MdeModulePkg/Logo/Logo-OpenSSL.bmp create mode 100644 MdeModulePkg/Logo/Logo-OpenSSL.idf create mode 100644 MdeModulePkg/Logo/LogoOpenSSLDxe.inf create mode 100644 MdeModulePkg/Logo/LogoOpenSSLDxe.uni diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc index d74feb7..7331597 100644 --- a/ArmVirtPkg/ArmVirtQemu.dsc +++ b/ArmVirtPkg/ArmVirtQemu.dsc @@ -329,7 +329,11 @@ MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf MdeModulePkg/Universal/BdsDxe/BdsDxe.inf +!if $(SECURE_BOOT_ENABLE) == TRUE + MdeModulePkg/Logo/LogoOpenSSLDxe.inf +!else MdeModulePkg/Logo/LogoDxe.inf +!endif MdeModulePkg/Application/UiApp/UiApp.inf { NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf diff --git a/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc b/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc index 89f95b2..8941b7f 100644 --- a/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc +++ b/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc @@ -191,7 +191,11 @@ READ_LOCK_STATUS = TRUE # # TianoCore logo (splash screen) # +!if $(SECURE_BOOT_ENABLE) == TRUE + INF MdeModulePkg/Logo/LogoOpenSSLDxe.inf +!else INF MdeModulePkg/Logo/LogoDxe.inf +!endif # # Ramdisk support diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc index 1e823ae..1981aae 100644 --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc @@ -318,7 +318,11 @@ MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf MdeModulePkg/Universal/BdsDxe/BdsDxe.inf +!if $(SECURE_BOOT_ENABLE) == TRUE + MdeModulePkg/Logo/LogoOpenSSLDxe.inf +!else MdeModulePkg/Logo/LogoDxe.inf +!endif MdeModulePkg/Application/UiApp/UiApp.inf { NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf diff --git a/MdeModulePkg/Logo/Logo-OpenSSL.bmp b/MdeModulePkg/Logo/Logo-OpenSSL.bmp new file mode 100644 index 0000000000000000000000000000000000000000..4af5740232ce484a939a5852604e35711ea88a29 GIT binary patch literal 156342 zcmeI5d(>~$xW~&aw_M64NYZ7LkVerMIgB$pYT%5)88Oa?KguvP zI4QXdhfYMHh=?MQLQ0BCrP`(4zMRjyzxCbEZ>}}xTJLYa@9y1uKfkf|+RvQxna_OY zcg^)(&zft#YrS&!|2yzL>&^VO;olbgyJY?K);pa4*I#cF_W4_@5Lmu^`C8SVd%H7l zd)wQ-|NZYj=s^#f&XKk6aIEP)deoyH_4&_#{_lVP`%O39^p&rC<)truY4^x-xPS12 zA8_cqMVXTbv=CU+PmfmLR(siwJMQ?$KmPI2kAC#jEw6otV@>bT_rCYN4}IuEk9fo* z9`Jw%JnwnW`{56N_@4K?r+a)K^O(n6am5v{dey7CMVXTbR1sLyPmgNHR(rvH?sK2t z{N^`rdefU$rRBBnaIEP)+Is7)?{~lZ`Iv68#THy*os7a;-tv}T|N7VKug`SBI`Auw z>$~3du0Q?hPm32XzWnmb4?g%{15l_rUji4jU;gr!cieHu#TQ?^!wx%KcinZIMHId8 zg)jW^kAJ*q(W0AgzWJNq{N|IN{Nz{>pwXu-Zb?o%?X;&ns#NVBjEGTfBy4FKl;%d-}uI8v#o%s?k`p^WRzo0Z5W`_D6$a? zvU$J(2b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_Hj(*NETbfXY-NkO+)Mz-Ku8OK1r*D%6!w>``Ws028(CB@lz_AM`0q zf7)`qfCKTHn1cVw*|W7Di!H#8j2>&Lm&Lm z3nA`FS~-P8zz9qZs7xgSiNI(Cd=~L6i)U-?&B`ex0!Co;SWCr3AQ6~Ez-LjxzeQ5K zY~>UZ0V6OupfZ&RBm$!m@L9z4LO1x0ER1aB6cPa=FnX+|Vj_?TOd{a3C{nG6SUEA@ z$|)oQMqqM4WhxO!1V$s^v#1gOnu4vILLy)UMvt{rOau~vNd$ZrnPj`O5YDl33Wf`WzQnLf`< zN(2&t(Fph~a{Oz~wUF}&Lm +// +// This program and the accompanying materials +// are licensed and made available under the terms and conditions of the BSD License +// which accompanies this distribution. The full text of the license may be found at +// http://opensource.org/licenses/bsd-license.php +// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +// +// **/ + +#image IMG_LOGO Logo-OpenSSL.bmp diff --git a/MdeModulePkg/Logo/LogoOpenSSLDxe.inf b/MdeModulePkg/Logo/LogoOpenSSLDxe.inf new file mode 100644 index 0000000..2f79d87 --- /dev/null +++ b/MdeModulePkg/Logo/LogoOpenSSLDxe.inf @@ -0,0 +1,61 @@ +## @file +# The default logo bitmap picture shown on setup screen. +# +# Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.
+# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +# +## + +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = LogoOpenSSLDxe + MODULE_UNI_FILE = LogoOpenSSLDxe.uni + FILE_GUID = 9CAE7B89-D48D-4D68-BBC4-4C0F1D48CDFF + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + + ENTRY_POINT = InitializeLogo +# +# This flag specifies whether HII resource section is generated into PE image. +# + UEFI_HII_RESOURCE_SECTION = TRUE + +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 X64 +# + +[Sources] + Logo-OpenSSL.bmp + Logo.c + Logo-OpenSSL.idf + +[Packages] + MdeModulePkg/MdeModulePkg.dec + MdePkg/MdePkg.dec + +[LibraryClasses] + UefiBootServicesTableLib + UefiDriverEntryPoint + DebugLib + +[Protocols] + gEfiHiiDatabaseProtocolGuid ## CONSUMES + gEfiHiiImageExProtocolGuid ## CONSUMES + gEfiHiiPackageListProtocolGuid ## PRODUCES CONSUMES + gEdkiiPlatformLogoProtocolGuid ## PRODUCES + +[Depex] + gEfiHiiDatabaseProtocolGuid AND + gEfiHiiImageExProtocolGuid + +[UserExtensions.TianoCore."ExtraFiles"] + LogoDxeExtra.uni diff --git a/MdeModulePkg/Logo/LogoOpenSSLDxe.uni b/MdeModulePkg/Logo/LogoOpenSSLDxe.uni new file mode 100644 index 0000000..7227ac3 --- /dev/null +++ b/MdeModulePkg/Logo/LogoOpenSSLDxe.uni @@ -0,0 +1,22 @@ +// /** @file +// The logo bitmap picture (with OpenSSL advertisment) shown on setup screen. +// +// This module provides the logo bitmap picture (with OpenSSL advertisment) +// shown on setup screen, through EDKII Platform Logo protocol. +// +// Copyright (c) 2016, Intel Corporation. All rights reserved.
+// +// This program and the accompanying materials +// are licensed and made available under the terms and conditions of the BSD License +// which accompanies this distribution. The full text of the license may be found at +// http://opensource.org/licenses/bsd-license.php +// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +// +// **/ + + +#string STR_MODULE_ABSTRACT #language en-US "Provides the logo bitmap picture (with OpenSSL advertisment) shown on setup screen." + +#string STR_MODULE_DESCRIPTION #language en-US "This module provides the logo bitmap picture (with OpenSSL advertisment) shown on setup screen, through EDKII Platform Logo protocol." + diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index 2d6c4c4..a5bb2b0 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -687,7 +687,11 @@ NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf !endif } +!if ($(SECURE_BOOT_ENABLE) == TRUE) || ($(TLS_ENABLE) == TRUE) + MdeModulePkg/Logo/LogoOpenSSLDxe.inf +!else MdeModulePkg/Logo/LogoDxe.inf +!endif MdeModulePkg/Application/UiApp/UiApp.inf { NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf diff --git a/OvmfPkg/OvmfPkgIa32.fdf b/OvmfPkg/OvmfPkgIa32.fdf index 0427ded..f552bc9 100644 --- a/OvmfPkg/OvmfPkgIa32.fdf +++ b/OvmfPkg/OvmfPkgIa32.fdf @@ -295,7 +295,11 @@ INF ShellPkg/Application/Shell/Shell.inf INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf !endif +!if ($(SECURE_BOOT_ENABLE) == TRUE) || ($(TLS_ENABLE) == TRUE) +INF MdeModulePkg/Logo/LogoOpenSSLDxe.inf +!else INF MdeModulePkg/Logo/LogoDxe.inf +!endif # # Network modules diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index 43158c5..be8fee9 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -696,7 +696,11 @@ NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf !endif } +!if ($(SECURE_BOOT_ENABLE) == TRUE) || ($(TLS_ENABLE) == TRUE) + MdeModulePkg/Logo/LogoOpenSSLDxe.inf +!else MdeModulePkg/Logo/LogoDxe.inf +!endif MdeModulePkg/Application/UiApp/UiApp.inf { NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf diff --git a/OvmfPkg/OvmfPkgIa32X64.fdf b/OvmfPkg/OvmfPkgIa32X64.fdf index 6df47f4..ee77ae1 100644 --- a/OvmfPkg/OvmfPkgIa32X64.fdf +++ b/OvmfPkg/OvmfPkgIa32X64.fdf @@ -296,7 +296,11 @@ INF ShellPkg/Application/Shell/Shell.inf INF RuleOverride = BINARY USE = X64 EdkShellBinPkg/FullShell/FullShell.inf !endif +!if ($(SECURE_BOOT_ENABLE) == TRUE) || ($(TLS_ENABLE) == TRUE) +INF MdeModulePkg/Logo/LogoOpenSSLDxe.inf +!else INF MdeModulePkg/Logo/LogoDxe.inf +!endif # # Network modules diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index d1fdf7c..e224b0e 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -694,7 +694,11 @@ NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf !endif } +!if ($(SECURE_BOOT_ENABLE) == TRUE) || ($(TLS_ENABLE) == TRUE) + MdeModulePkg/Logo/LogoOpenSSLDxe.inf +!else MdeModulePkg/Logo/LogoDxe.inf +!endif MdeModulePkg/Application/UiApp/UiApp.inf { NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf index 2e2a174..505d25d 100644 --- a/OvmfPkg/OvmfPkgX64.fdf +++ b/OvmfPkg/OvmfPkgX64.fdf @@ -296,7 +296,11 @@ INF ShellPkg/Application/Shell/Shell.inf INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf !endif +!if ($(SECURE_BOOT_ENABLE) == TRUE) || ($(TLS_ENABLE) == TRUE) +INF MdeModulePkg/Logo/LogoOpenSSLDxe.inf +!else INF MdeModulePkg/Logo/LogoDxe.inf +!endif # # Network modules -- 1.8.3.1