summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavid wei <david.wei@intel.com>2016-06-09 21:39:39 +0800
committerdavid wei <david.wei@intel.com>2016-06-09 21:39:39 +0800
commitd3c42e0e5752c01b7d41a58c218ea7fc1dad23fa (patch)
tree3ebd279cc9a160ee508b95cf0e4d5515edb567ec
parent471674c0aa4350c48e5e9e8f2d8962883f582275 (diff)
downloadedk2-platforms-d3c42e0e5752c01b7d41a58c218ea7fc1dad23fa.tar.xz
Update ReadMe.MD file.
Update ReadMe.MD file of branch pentium-celeron-n-udk2015 of https://github.com/tianocore/edk2-platforms.git . Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: David Wei <david.wei@intel.com>
-rw-r--r--ReadMe.MD147
1 files changed, 82 insertions, 65 deletions
diff --git a/ReadMe.MD b/ReadMe.MD
index 7180913ff0..c2d5772f2a 100644
--- a/ReadMe.MD
+++ b/ReadMe.MD
@@ -1,110 +1,124 @@
- Intel Sample UEFI BIOS for
- N-series Intel Pentium Processor and Intel Celeron Processor Families (formerly Braswell)
+ Sample UEFI Firmware for the N-series Intel® Pentium® Processor
+ and Intel® Celeron® Processor Families (formerly Braswell)
-The N-series Intel Pentium processor and Intel Celeron processor families (formerly Braswell)are the
-Intel Architecture (IA) SoC that integrates the next generation Intel processor core,
-Graphics, Memory Controller, and I/O interfaces into a single system-on-chip solution.
+The N-series Intel® Pentium® processor and Intel® Celeron® processor families
+(formerly Braswell) use a multicore System on a Chip (SoC) based on a new
+microarchitecture and are manufactured on Intel’s industry leading tri-gate
+14nm process. http://ark.intel.com/products/codename/66094/Braswell#@Embedded
-This sample UEFI BIOS is designed for N-series Intel Pentium processor and Intel Celeron processor
-families(formerly Braswell), and has been verified on Intel CherryHill CRB(Customer Reference Board).
-It is based on Intel UDK2015 (EDKII) core and Intel Braswell FSP. It is a sample codebase to show how
-FSP + open source can be used to build a full solution.
+This sample UEFI firmware is designed for N-series Intel Pentium processor and
+Intel Celeron processor families, and has been verified on the Intel Cherry Hill
+BSP. This sample codebase uses the Intel UDK2015 core and Intel® Firmware Support
+Package (Intel® FSP) to demonstrate building a full UEFI solution by combining
+open source EDK II with Intel® FSP binaries.
+This code combines elements from github, intel.com/fsp and firmware.intel.com
-================================================================================
+===============================================================================
HOW TO CREATE A FULL SOURCE TREE
-================================================================================
-1) Create a new folder (directory) on the root of your local hard drive (development machine)
+===============================================================================
+1) Create a new folder (directory) on the root of your local development machine
for use as your work space (for example "C:\MyWorkspace").
- NOTE: Some code paths are very long, therefore, placing the working directory too deep
- from the ROOT directory may cause the path to be longer than Windows maximum allowed
- path length.
+ NOTE: Some code paths are very long, and placing the working directory too
+ deep below the ROOT directory may cause the path to be longer than the
+ operating system or file system's maximum path length.
-2) Get pentium-celeron-n-udk2015 branch:
+2) Enter "C:\MyWorkspace", then run following git command to get the
+ pentium-celeron-n-udk2015 code branch:
git clone https://github.com/tianocore/edk2-platforms.git -b pentium-celeron-n-udk2015
+
+ Once the download completes, all EDK II packages and files will be found
+ under the "C:\MyWorkspace\edk2-platforms" directory.
-3) Get BaseTools Binary:
+3) Get the BaseTools binary:
a. git clone https://github.com/tianocore/edk2-BaseTools-win32.git
b. git checkout ea691aec89b06aa83474100df1de000a875b4ea0
c. Put BaseTools Binary "edk2-BaseTools-win32" into MyWorkspace\edk2-platforms\BaseTools\Bin”,
- d. Change folder name from "C:\MyWorkspace\edk2-platforms\BaseTools\Bin\ edk2-BaseTools-win32” to "C:\MyWorkspace\edk2-platforms\BaseTools\Bin\win32”
+ d. Change folder name from "C:\MyWorkspace\edk2-platforms\BaseTools\Bin\edk2-BaseTools-win32”
+ to "C:\MyWorkspace\edk2-platforms\BaseTools\Bin\win32”
-4) Integrate other required binarys:
- a. Get Microcode of N-series Intel Pentium processor and Intel Celeron processor form your Intel Representive (TBD);
- Put Microcode M01406C334A.mcb and M01406C2220.mcb into "C:\MyWorkspace\BraswellPlatformPkg\Microcode".
- b. Get SEC V2.0.0.2058 of N-series Intel Pentium processor and Intel Celeron processor form your Intel Representive (TBD);
- Put SEC_Region.bin in "C:\MyWorkspace\BraswellPlatformPkg\Stitch\SEC\BSW\2.0.0.2058".
- c. Download FSP of Intel® Pentium® and Celeron® Processor N3000 Product Families and Intel® Atom™ x5-Z8300
- Processor (formerly Braswell, Compliant with FSP v1.1 Specification) from http://www.intel.com/fsp;
- Put FspUpdVpd.h into "C:\MyWorkspace\ChvFspBinPkg\Include";
- Put BSWFSP.fd in "C:\MyWorkspace\ChvFspBinPkg\FspBinary";
- d. Integrate other binaries such as UNDI drivers.
+4) Download the 'Intel® Firmware Support Package for Intel® Pentium® and Celeron®
+ Processor N3000 Product Families and Intel® Atom™ x5-E8000 Processor'
+ (BSW_MR1) from http://intel.com/fsp
+
+5) Run the Intel® FSP installer and copy the following files into the Workspace:
+ a. Copy FspUpdVpd.h into the "C:\MyWorkspace\edk2-platforms\ChvFspBinPkg\Include" directory.
+ b. Create the "FspBinary" sub-directory under the "C:\MyWorkspace\edk2-platforms\ChvFspBinPkg"
+ directory, if it does not exist ("C:\MyWorkspace\edk2-platforms\ChvFspBinPkg\FspBinary").
+ c. Copy BSWFSP.fd into the "C:\MyWorkspace\edk2-platforms\ChvFspBinPkg\FspBinary" directory.
+
+6) Download the 'BraswellPlatformPkg' package from firmware.intel.com:
+ https://firmware.intel.com/projects/braswell-uefi
+
+7) Unzip the 'BraswellPlatformPkg' package and move the contents into the Workspace:
+ a. Copy the "BraswellPlatformPkg" sub-directory over the existing directory
+ in the Workspace ("C:\MyWorkspace\edk2-platforms\BraswellPlatformPkg"). This will add
+ files to the "Microcode", "Stitch" and "UNDI" sub-directories.
+8) Follow the instructions found in the "Patch-HOWTO.txt" file located in the Workspace
+ (e.g. "C:\MyWorkspace\edk2-platforms\CryptoPkg\Library\OpensslLib\Patch-HOWTO.txt")
+ to install the Openssl source code.
================================================================================
HOW TO BUILD (WINDOWS ENVIRONMENT)
================================================================================
-Windows System Configuration:
+OS Configuration:
Microsoft Windows 8.1 Ultimate 64-bit*
1. Setup Build Environment
- 1) Install C compiler (the default is Visual Studio .NET 2008) in the
+ 1) Install a C compiler (Visual Studio .NET 2008, 2010 or 2013) on the
build machine.
- 2) Obtain and install version Python 2.6.4 from: https://www.python.org/download/releases/2.6.4/
+ 2) Install version Python 2.6.4 from: https://www.python.org/download/releases/2.6.4/
Make sure that a file with the extension of ".py" will be opened by Python.exe.
-
-2. Extract Source Code
- 1) Follow the instructions of "HOW TO CREATE A FULL SOURCE TREE" to create a
- full source tree.
- 2) Follow the instructions found in the file "Patch-HOWTO.txt" located in your workspace
- (e.g. "C:\MyWorkspace\CryptoPkg\Library\OpensslLib\Patch-HOWTO.txt") to install the
- Openssl source code.
-
-3. Install the iasl compiler by downloading acpica-win-20141107.zip from the following location:
- "https://acpica.org/downloads/version-20141107" and place the unzipped content ("iasl.exe") into
- the directory "C:\ASL" on your local hard drive (create the folder "C:\ASL" if it does not exist).
-
-4a. Build Steps (32-bit)
+ 3) Install the iasl compiler by downloading acpica-win-20141107.zip from the
+ following location: "https://acpica.org/downloads/version-20141107" and
+ place the unzipped content ("iasl.exe") into the "C:\ASL" directory on your
+ local drive (create the folder "C:\ASL" if it does not exist).
+
+2. Follow the instructions of "HOW TO CREATE A FULL SOURCE TREE" to create a
+ full source tree.
+
+3a. Build Steps (32-bit)
1) To build a 32-bit release version
Open a command prompt window (make certain you "Run as Administrator").
- Type the command: "cd C:\MyWorkspace\BraswellPlatformPkg"
- Type the command "BuildBsw.bat /r /ia32 BRAS" to build a release version.
+ Type the command: "cd C:\MyWorkspace\edk2-platforms\BraswellPlatformPkg"
+ Type the command "BuildBsw.bat /vs08 /r /ia32 BRAS" to build a release version.
+ (/vs08 = Visual Studio 2008; /vs10 = Visual Studio 2010; /vs13 = Visual Studio 2013)
2) To build a 32-bit debug version
Open a command prompt window (make certain you "Run as Administrator").
- Type the command: "cd C:\MyWorkspace\BraswellPlatformPkg"
- Type command "BuildBsw.bat /d /ia32 BRAS" to build a debug version.
+ Type the command: "cd C:\MyWorkspace\edk2-platforms\BraswellPlatformPkg"
+ Type command "BuildBsw.bat /vs08 /d /ia32 BRAS" to build a debug version.
+ (/vs08 = Visual Studio 2008; /vs10 = Visual Studio 2010; /vs13 = Visual Studio 2013)
- 3) After the build successfully completes, the 8MB firmware binary image will be located in the
- following location on your local hard drive:
-
- "C:\MyWorkspace\BraswellPlatformPkg\Stitch\"
+ 3) After the build successfully completes, the 8MB firmware binary image
+ will be located in "C:\MyWorkspace\edk2-platforms\BraswellPlatformPkg\Stitch\"
-4b. Build Steps (64-bit)
+3b. Build Steps (64-bit)
1) To build a 64-bit release version
Open a command prompt window (make certain you "Run as Administrator").
- Type the command: "cd C:\MyWorkspace\BraswellPlatformPkg"
- Type the command "BuildBsw.bat /r BRAS" to build a release version.
+ Type the command: "cd C:\MyWorkspace\edk2-platforms\BraswellPlatformPkg"
+ Type the command "BuildBsw.bat /vs08 /r BRAS" to build a release version.
+ (/vs08 = Visual Studio 2008; /vs10 = Visual Studio 2010; /vs13 = Visual Studio 2013)
2) To build a 64-bit debug version
Open a command prompt window (make certain you "Run as Administrator").
- Type the command: "cd C:\MyWorkspace\BraswellPlatformPkg"
- Type command "BuildBsw.bat /d BRAS" to build a debug version.
+ Type the command: "cd C:\MyWorkspace\edk2-platforms\BraswellPlatformPkg"
+ Type command "BuildBsw.bat /vs08 /d BRAS" to build a debug version.
+ (/vs08 = Visual Studio 2008; /vs10 = Visual Studio 2010; /vs13 = Visual Studio 2013)
- 3) After the build successfully completes, the 8MB firmware binary image will be located in the
- following location on your local hard drive:
-
- "C:\MyWorkspace\BraswellPlatformPkg\Stitch\"
+ 3) After the build successfully completes, the 8MB firmware binary image
+ will be located in "C:\MyWorkspace\edk2-platforms\BraswellPlatformPkg\Stitch\"
================================================================================
- SUPPORTED OS
+ VALIDATED OS
================================================================================
-1. Yocto Revision X64 1.8
-2. Win10 Revision X64 Build 10586 Enterprise
-3. Ubuntu 15.10 X64 Desktop
+1. Yocto Revision 1.8 (x64)
+2. Microsoft Windows 10 Enterprise, Build 10586 (x64 [64-bit] and x86 [32-bit])
+3. Ubuntu 15.10 Desktop (x64)
================================================================================
DOCUMENTS AND RESOURCES
@@ -115,6 +129,9 @@ http://firmware.intel.com/blog/open-source-platforms-edkii-using-intel-fsp
2. Open Braswell UEFI Codebase - Design and Porting Guide
https://github.com/mangguo321/Braswell/blob/master/Documents/Open_Braswell_Platform_Designing_Porting_Guide.pdf
+3. Yocto BSP for Intel N3700, N3000, N3050, N3150 Mobile and Embedded Processors
+https://www.yoctoproject.org/downloads/bsps/fido18/cherry-hill-bsp-braswell
+
================================================================================
MAINTAINERS
================================================================================