[edk2-devel] [edk2-platforms][PATCH v2 1/3] Platform/Ampere: Add Readme.md

Nhi Pham via groups.io nhi=os.amperecomputing.com at groups.io
Fri Dec 4 13:07:50 UTC 2020


From: Phong Vo <phong at os.amperecomputing.com>

Add initial version of Readme.md for Ampere platform

Cc: Leif Lindholm <leif at nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney at intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel at arm.com>
Cc: Nate DeSimone <nathaniel.l.desimone at intel.com>

Signed-off-by: Phong Vo <phong at os.amperecomputing.com>
---
 Platform/Ampere/Readme.md | 39 ++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/Platform/Ampere/Readme.md b/Platform/Ampere/Readme.md
new file mode 100644
index 000000000000..894bad3437b8
--- /dev/null
+++ b/Platform/Ampere/Readme.md
@@ -0,0 +1,39 @@
+# Introduction
+
+This document provides the guideline to build UEFI firmware for Ampere Computing's Arm64 reference platforms.
+
+Platform code is located under Platform/Ampere/{Platform Name}Pkg.
+
+Silicon code is located under Silicon/Ampere/Ampere{SoC Name}Pkg.
+
+# Build machines
+
+- x86 Linux host machines running latest Ubuntu or CentOS releases.
+- Arm64 Linux host machines if native compiling. This has been tested on Ampere's eMAG and Altra hardware platforms with latest AArch64 CentOS or Ubuntu releases.
+
+# How to build (Linux Environment)
+
+Please follow top-level Readme.md for build instructions.
+
+## Additional build tools
+
+Ampere provides additional tools and documentation for automating the manual process described as described in the top-level README.md,
+and for building a final Tianocore UEFI image that can be flashed onto the target system.
+
+To use these tools, clone the following to the **WORKSPACE** location:
+
+```bash
+$ git clone https://github.com/AmpereComputing/edk2-ampere-tools.git
+```
+
+## Notes
+
+If you run into any build issue with the Intel ASL+ Optimizing Compiler/Disassembler (IASL) that comes with your Linux distro,
+download and install the IASL compiler from https://acpica.org/. At the time of this write-up, we have tested with version 20200110.
+
+```bash
+$ wget https://acpica.org/sites/acpica/files/acpica-unix2-20200110.tar.gz
+$ tar xzf acpica-unix2-20200110.tar.gz
+$ cd acpica-unix2-20200110
+$ make HOST=_CYGWIN && sudo make install
+```
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#68343): https://edk2.groups.io/g/devel/message/68343
Mute This Topic: https://groups.io/mt/78708317/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