You've already forked PlatformBuildLab_FW
mirror of
https://github.com/Dasharo/PlatformBuildLab_FW.git
synced 2026-03-06 15:00:40 -08:00
Update for Version 1.00 for MinnowBoard Max
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laurie0131 <laurie.jarlstrom@intel.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
3) Checkout MinnowBoard Max Branch from GitHub with the following command.
|
||||
i) Run "git clone https://github.com/tianocore/edk2-platforms.git -b devel-MinnowBoardMax-UDK2017"
|
||||
ii) Enter folder edk2-platforms
|
||||
iii) Run the command "git checkout 423105b15de6dfd769eed56026fa3bc28eb349ef"
|
||||
iii) Run the command "git checkout 2a5f80b862e46de213a3f3635c43394deacdfb05"
|
||||
iv) Enter folder "C:\MyWorkspace"
|
||||
|
||||
4) Checkout BaseTools binaries and copy them to BaseTools binary folder.
|
||||
@@ -20,8 +20,8 @@
|
||||
ii) Enter folder edk2-BaseTools-win32
|
||||
iii) Run the command "git checkout 0e088c19ab31fccd1d2f55d9e4fe0314b57c0097"
|
||||
|
||||
5) Download MinnowBoard MAX 0.99 Binary Object Modules from http://firmware.intel.com/projects/minnowboard-max.
|
||||
The "MinnowBoard_MAX-0.99-Binary.Objects.zip" file contains three additional
|
||||
5) Download MinnowBoard MAX 1.00 Binary Object Modules from http://firmware.intel.com/projects/minnowboard-max.
|
||||
The "MinnowBoard_MAX-1.00-Binary.Objects.zip" file contains three additional
|
||||
folders required for the full source tree.
|
||||
|
||||
IA32FamilyCpuPkg
|
||||
@@ -2,9 +2,9 @@ MINNOWBOARD MAX/TURBOT PLATFORM Maintainers
|
||||
==================
|
||||
|
||||
Vlv2DeviceRefCodePkg
|
||||
David Wei <david.wei@intel.com>
|
||||
Mang Guo <mang.guo@intel.com>
|
||||
M: Zailiang Sun <zailiang.sun@intel.com>
|
||||
M: Yi Qian <yi.qian@intel.com>
|
||||
|
||||
Vlv2TbltDevicePkg
|
||||
David Wei <david.wei@intel.com>
|
||||
Mang Guo <mang.guo@intel.com>
|
||||
M: Zailiang Sun <zailiang.sun@intel.com>
|
||||
M: Yi Qian <yi.qian@intel.com>
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
|
||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
|
||||
#
|
||||
|
||||
|
||||
@@ -35,5 +35,5 @@ OEM_ID = I32
|
||||
|
||||
#
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
||||
@@ -35,5 +35,5 @@ OEM_ID = I32
|
||||
|
||||
#
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
||||
@@ -25,6 +25,6 @@ BOARD_REV = 1
|
||||
|
||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
#
|
||||
#
|
||||
|
||||
#
|
||||
|
||||
@@ -25,6 +25,6 @@ BOARD_REV = 1
|
||||
|
||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
#
|
||||
#
|
||||
|
||||
#
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,106 +1,105 @@
|
||||
#/** @file
|
||||
# platform configuration file.
|
||||
#
|
||||
# Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials are licensed and made available under
|
||||
# the terms and conditions of the BSD License that 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.
|
||||
#
|
||||
#
|
||||
#**/
|
||||
|
||||
#
|
||||
# TRUE is ENABLE. FASLE is DISABLE.
|
||||
#
|
||||
|
||||
#
|
||||
# FSP selection
|
||||
#
|
||||
DEFINE MINNOW2_FSP_BUILD = FALSE
|
||||
|
||||
|
||||
DEFINE SCSI_ENABLE = TRUE
|
||||
|
||||
|
||||
#
|
||||
# To enable extra configuration for clk gen
|
||||
#
|
||||
DEFINE CLKGEN_CONFIG_EXTRA_ENABLE=TRUE
|
||||
|
||||
#
|
||||
# Feature selection
|
||||
#
|
||||
|
||||
#
|
||||
# Select system timer which is used to produce Timer Arch Protocol:
|
||||
# TRUE - HPET timer is used.
|
||||
# FALSE - 8254 timer is used.
|
||||
#
|
||||
DEFINE USE_HPET_TIMER = FALSE
|
||||
|
||||
|
||||
#
|
||||
# Feature selection
|
||||
#
|
||||
|
||||
DEFINE TPM_ENABLED = FALSE
|
||||
|
||||
DEFINE ACPI50_ENABLE = TRUE
|
||||
DEFINE PERFORMANCE_ENABLE = FALSE
|
||||
|
||||
|
||||
DEFINE LFMA_ENABLE = FALSE # Load module at fixed address feature
|
||||
DEFINE DXE_COMPRESS_ENABLE = TRUE
|
||||
DEFINE DXE_CRC32_SECTION_ENABLE = TRUE
|
||||
DEFINE SSE2_ENABLE = FALSE
|
||||
|
||||
DEFINE SECURE_BOOT_ENABLE = TRUE
|
||||
DEFINE USER_IDENTIFICATION_ENABLE = FALSE
|
||||
DEFINE VARIABLE_INFO_ENABLE = FALSE
|
||||
DEFINE S3_ENABLE = TRUE
|
||||
|
||||
### Enable only if SOURCE_DEBUG_ENABLE = FALSE otherwise the flash space will overload.
|
||||
### DEFINE CAPSULE_ENABLE = TRUE
|
||||
DEFINE CAPSULE_ENABLE = FALSE
|
||||
DEFINE CAPSULE_RESET_ENABLE = TRUE
|
||||
|
||||
DEFINE GOP_DRIVER_ENABLE = TRUE
|
||||
DEFINE DATAHUB_ENABLE = TRUE
|
||||
DEFINE DATAHUB_STATUS_CODE_ENABLE = TRUE
|
||||
DEFINE USB_ENABLE = TRUE
|
||||
|
||||
DEFINE ISA_SERIAL_STATUS_CODE_ENABLE = TRUE
|
||||
DEFINE USB_SERIAL_STATUS_CODE_ENABLE = FALSE
|
||||
DEFINE RAM_SERIAL_STATUS_CODE_ENABLE = FALSE
|
||||
|
||||
DEFINE ENBDT_S3_SUPPORT = TRUE
|
||||
|
||||
DEFINE LZMA_ENABLE = TRUE
|
||||
DEFINE S4_ENABLE = TRUE
|
||||
DEFINE NETWORK_ENABLE = TRUE
|
||||
DEFINE NETWORK_IP6_ENABLE = TRUE
|
||||
DEFINE NETWORK_ISCSI_ENABLE = FALSE
|
||||
DEFINE NETWORK_VLAN_ENABLE = FALSE
|
||||
|
||||
DEFINE SATA_ENABLE = TRUE
|
||||
DEFINE PCIESC_ENABLE = TRUE
|
||||
DEFINE ESRT_ENABLE = TRUE
|
||||
|
||||
#
|
||||
# Enable source level debug default only if CAPSULE_ENABLE == FALSE
|
||||
#
|
||||
DEFINE SOURCE_DEBUG_ENABLE = FALSE
|
||||
!if $(CAPSULE_ENABLE) == FALSE
|
||||
!if $(SYMBOLIC_DEBUG) == TRUE
|
||||
DEFINE SOURCE_DEBUG_ENABLE = TRUE
|
||||
!endif
|
||||
!endif
|
||||
|
||||
DEFINE HTTP_BOOT_SUPPORT = FALSE
|
||||
DEFINE NETWORK_TLS_ENABLE = FALSE
|
||||
|
||||
#/** @file
|
||||
# platform configuration file.
|
||||
#
|
||||
# Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials are licensed and made available under
|
||||
# the terms and conditions of the BSD License that 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.
|
||||
#
|
||||
#
|
||||
#**/
|
||||
|
||||
#
|
||||
# TRUE is ENABLE. FASLE is DISABLE.
|
||||
#
|
||||
|
||||
#
|
||||
# FSP selection
|
||||
#
|
||||
DEFINE MINNOW2_FSP_BUILD = FALSE
|
||||
|
||||
|
||||
DEFINE SCSI_ENABLE = TRUE
|
||||
|
||||
|
||||
#
|
||||
# To enable extra configuration for clk gen
|
||||
#
|
||||
DEFINE CLKGEN_CONFIG_EXTRA_ENABLE=TRUE
|
||||
|
||||
#
|
||||
# Feature selection
|
||||
#
|
||||
|
||||
#
|
||||
# Select system timer which is used to produce Timer Arch Protocol:
|
||||
# TRUE - HPET timer is used.
|
||||
# FALSE - 8254 timer is used.
|
||||
#
|
||||
DEFINE USE_HPET_TIMER = FALSE
|
||||
|
||||
|
||||
#
|
||||
# Feature selection
|
||||
#
|
||||
|
||||
DEFINE TPM_ENABLED = FALSE
|
||||
|
||||
DEFINE ACPI50_ENABLE = TRUE
|
||||
DEFINE PERFORMANCE_ENABLE = FALSE
|
||||
|
||||
|
||||
DEFINE LFMA_ENABLE = FALSE # Load module at fixed address feature
|
||||
DEFINE DXE_COMPRESS_ENABLE = TRUE
|
||||
DEFINE DXE_CRC32_SECTION_ENABLE = TRUE
|
||||
DEFINE SSE2_ENABLE = FALSE
|
||||
|
||||
DEFINE SECURE_BOOT_ENABLE = TRUE
|
||||
DEFINE USER_IDENTIFICATION_ENABLE = FALSE
|
||||
DEFINE VARIABLE_INFO_ENABLE = FALSE
|
||||
DEFINE S3_ENABLE = TRUE
|
||||
|
||||
### Enable only if SOURCE_DEBUG_ENABLE = FALSE otherwise the flash space will overload.
|
||||
### DEFINE CAPSULE_ENABLE = TRUE
|
||||
DEFINE CAPSULE_ENABLE = FALSE
|
||||
DEFINE CAPSULE_RESET_ENABLE = TRUE
|
||||
|
||||
DEFINE GOP_DRIVER_ENABLE = TRUE
|
||||
DEFINE DATAHUB_ENABLE = TRUE
|
||||
DEFINE DATAHUB_STATUS_CODE_ENABLE = TRUE
|
||||
DEFINE USB_ENABLE = TRUE
|
||||
|
||||
DEFINE ISA_SERIAL_STATUS_CODE_ENABLE = TRUE
|
||||
DEFINE USB_SERIAL_STATUS_CODE_ENABLE = FALSE
|
||||
DEFINE RAM_SERIAL_STATUS_CODE_ENABLE = FALSE
|
||||
|
||||
DEFINE ENBDT_S3_SUPPORT = TRUE
|
||||
|
||||
DEFINE LZMA_ENABLE = TRUE
|
||||
DEFINE S4_ENABLE = TRUE
|
||||
DEFINE NETWORK_ENABLE = TRUE
|
||||
DEFINE NETWORK_IP6_ENABLE = TRUE
|
||||
DEFINE NETWORK_ISCSI_ENABLE = FALSE
|
||||
DEFINE NETWORK_VLAN_ENABLE = FALSE
|
||||
|
||||
DEFINE SATA_ENABLE = TRUE
|
||||
DEFINE PCIESC_ENABLE = TRUE
|
||||
DEFINE ESRT_ENABLE = TRUE
|
||||
|
||||
#
|
||||
# Enable source level debug default only if CAPSULE_ENABLE == FALSE
|
||||
#
|
||||
DEFINE SOURCE_DEBUG_ENABLE = FALSE
|
||||
!if $(CAPSULE_ENABLE) == FALSE
|
||||
!if $(SYMBOLIC_DEBUG) == TRUE
|
||||
DEFINE SOURCE_DEBUG_ENABLE = TRUE
|
||||
!endif
|
||||
!endif
|
||||
|
||||
DEFINE HTTP_BOOT_SUPPORT = FALSE
|
||||
DEFINE NETWORK_TLS_ENABLE = FALSE
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -164,7 +164,7 @@ MISC_SMBIOS_TABLE_FUNCTION(MiscBaseBoardManufacturer)
|
||||
}
|
||||
|
||||
if (BOARD_ID_MINNOW2_TURBOT == mPlatformInfo->BoardId) {
|
||||
UnicodeSPrint (Buffer, sizeof (Buffer),L"ADI");
|
||||
UnicodeSPrint (Buffer, sizeof (Buffer),L"Silicom");
|
||||
HiiSetString(mHiiHandle,STRING_TOKEN(STR_MISC_BASE_BOARD_MANUFACTURER), Buffer, NULL);
|
||||
}
|
||||
TokenToGet = STRING_TOKEN (STR_MISC_BASE_BOARD_MANUFACTURER);
|
||||
|
||||
@@ -70,7 +70,7 @@ MISC_SMBIOS_TABLE_FUNCTION(MiscChassisManufacturer)
|
||||
CHAR16 Buffer[40];
|
||||
|
||||
ForType3InputData = (EFI_MISC_CHASSIS_MANUFACTURER *)RecordData;
|
||||
|
||||
|
||||
//
|
||||
// First check for invalid parameters.
|
||||
//
|
||||
|
||||
@@ -294,11 +294,11 @@ if (Event != NULL) {
|
||||
DEBUG ((EFI_D_ERROR, "C0 Stepping Detected\n"));
|
||||
break;
|
||||
case PchD0:
|
||||
UnicodeSPrint (Buffer, sizeof (Buffer),L"%s%s", PlatformNameBuffer, L"D0 PLATFORM");
|
||||
UnicodeSPrint (Buffer, sizeof (Buffer),L"%s%s", PlatformNameBuffer, L"D0/D1 PLATFORM");
|
||||
HiiSetString(mHiiHandle,STRING_TOKEN(STR_MISC_SYSTEM_PRODUCT_NAME), Buffer, NULL);
|
||||
UnicodeSPrint (Buffer, sizeof (Buffer),L"%s",L"D0");
|
||||
UnicodeSPrint (Buffer, sizeof (Buffer),L"%s",L"D0/D1");
|
||||
HiiSetString(mHiiHandle,STRING_TOKEN(STR_MISC_SYSTEM_VERSION), Buffer, NULL);
|
||||
DEBUG ((EFI_D_ERROR, "D0 Stepping Detected\n"));
|
||||
DEBUG ((EFI_D_ERROR, "D0/D1 Stepping Detected\n"));
|
||||
break;
|
||||
default:
|
||||
DEBUG ((EFI_D_ERROR, "Unknow Stepping Detected\n"));
|
||||
@@ -306,7 +306,7 @@ if (Event != NULL) {
|
||||
}
|
||||
|
||||
if (BOARD_ID_MINNOW2_TURBOT == mPlatformInfo->BoardId) {
|
||||
UnicodeSPrint (Buffer, sizeof (Buffer),L"ADI");
|
||||
UnicodeSPrint (Buffer, sizeof (Buffer),L"Silicom");
|
||||
HiiSetString(mHiiHandle,STRING_TOKEN(STR_MISC_SYSTEM_MANUFACTURER), Buffer, NULL);
|
||||
}
|
||||
TokenToGet = STRING_TOKEN (STR_MISC_SYSTEM_MANUFACTURER);
|
||||
|
||||
@@ -165,10 +165,10 @@ if defined VS90COMNTOOLS (
|
||||
if /I "%VS90COMNTOOLS%" == "C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\" (
|
||||
|
||||
set TOOL_CHAIN_TAG=VS2008
|
||||
) else (
|
||||
) else (
|
||||
set TOOL_CHAIN_TAG=VS2008x86
|
||||
)
|
||||
) else (
|
||||
)
|
||||
) else (
|
||||
echo Not VS 2009
|
||||
)
|
||||
if defined VS100COMNTOOLS (
|
||||
@@ -188,14 +188,14 @@ if defined VS110COMNTOOLS (
|
||||
) else (
|
||||
set TOOL_CHAIN_TAG=VS2012x86
|
||||
)
|
||||
) else (
|
||||
) else (
|
||||
echo Not VS 2012
|
||||
)
|
||||
)
|
||||
if defined VS120COMNTOOLS (
|
||||
if not defined VSINSTALLDIR call "%VS120COMNTOOLS%\vsvars32.bat"
|
||||
if /I "%VS120COMNTOOLS%" == "C:\Program Files\Microsoft Visual Studio 12.0\Common7\Tools\" (
|
||||
set TOOL_CHAIN_TAG=VS2013
|
||||
) else (
|
||||
) else (
|
||||
set TOOL_CHAIN_TAG=VS2013x86
|
||||
)
|
||||
) else (
|
||||
@@ -207,8 +207,8 @@ if defined VS140COMNTOOLS (
|
||||
set TOOL_CHAIN_TAG=VS2015
|
||||
) else (
|
||||
set TOOL_CHAIN_TAG=VS2015x86
|
||||
)
|
||||
) else (
|
||||
)
|
||||
) else (
|
||||
echo Not VS 2015
|
||||
)
|
||||
|
||||
@@ -218,8 +218,8 @@ if "%TOOL_CHAIN_TAG%" == "" (
|
||||
echo VS90COMNTOOLS/VS100COMNTOOLS/VS110COMNTOOLS/VS120COMNTOOLS not defined ^^!
|
||||
echo.
|
||||
goto :BldFail
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
|
||||
echo Ensuring correct build directory is present for GenBiosId...
|
||||
set BUILD_PATH=Build\%PLATFORM_NAME%\%TARGET%_%TOOL_CHAIN_TAG%
|
||||
|
||||
@@ -250,7 +250,7 @@ $PLATFORM_PACKAGE/GenBiosId -i $CORE_PATH/Conf/BiosId.env -o $WORKSPACE/$BUILD_P
|
||||
echo Current directory is $(pwd)
|
||||
echo . . .
|
||||
echo
|
||||
echo "Invoking EDK2 build..."
|
||||
echo "Invoking EDK2 build..."
|
||||
echo "build " $JLog -D $SDB -D $LG $QF
|
||||
echo "Press ENTER to continue OR Control-C to abort"
|
||||
read
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
#string STR_TOUCH_ERROR #language en-US "%H%s%N: Operation was not successful on '%H%s%N'\r\n"
|
||||
|
||||
#string STR_VER_OUTPUT_SHELL #language en-US "UEFI %s Shell v%d.%d %B-From BUILD_NEW_SHELL Switch%N\r\n"
|
||||
#string STR_VER_OUTPUT_SHELL #language en-US "UEFI %s Shell v%d.%d\r\n"
|
||||
#string STR_VER_OUTPUT_SIMPLE #language en-US "%d.%d\r\n"
|
||||
#string STR_VER_OUTPUT_UEFI #language en-US "UEFI v%d.%02d (%s, 0x%08x)\r\n"
|
||||
#string STR_VER_OUTPUT_SUPPLIER #language en-US "%s\r\n"
|
||||
|
||||
@@ -2851,7 +2851,7 @@ InternalShellPrintWorker(
|
||||
gST->ConOut->SetAttribute(gST->ConOut, EFI_TEXT_ATTR(EFI_WHITE, ((OriginalAttribute&(BIT4|BIT5|BIT6))>>4)));
|
||||
break;
|
||||
case (L'B'):
|
||||
gST->ConOut->SetAttribute(gST->ConOut, EFI_TEXT_ATTR(EFI_CYAN, ((OriginalAttribute&(BIT4|BIT5|BIT6))>>4)));
|
||||
gST->ConOut->SetAttribute(gST->ConOut, EFI_TEXT_ATTR(EFI_BLUE, ((OriginalAttribute&(BIT4|BIT5|BIT6))>>4)));
|
||||
break;
|
||||
case (L'V'):
|
||||
gST->ConOut->SetAttribute(gST->ConOut, EFI_TEXT_ATTR(EFI_GREEN, ((OriginalAttribute&(BIT4|BIT5|BIT6))>>4)));
|
||||
@@ -2904,7 +2904,7 @@ InternalShellPrintWorker(
|
||||
%N - Set output attribute to normal
|
||||
%H - Set output attribute to highlight
|
||||
%E - Set output attribute to error
|
||||
%B - Set output attribute to cyan color
|
||||
%B - Set output attribute to blue color
|
||||
%V - Set output attribute to green color
|
||||
|
||||
Note: The background color is controlled by the shell command cls.
|
||||
@@ -2953,7 +2953,7 @@ ShellPrintEx(
|
||||
%N - Set output attribute to normal.
|
||||
%H - Set output attribute to highlight.
|
||||
%E - Set output attribute to error.
|
||||
%B - Set output attribute to cyan color.
|
||||
%B - Set output attribute to blue color.
|
||||
%V - Set output attribute to green color.
|
||||
|
||||
Note: The background color is controlled by the shell command cls.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user