summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2019-03-05 21:12:18 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-04-25 14:57:52 +0300
commit18d6327e2994b5a92c9cc81078b926937e08a2eb (patch)
tree76528150d01d758b039d47ddc2a819fa40091c5f
parent66231172c839083a955155a967775adc5dc273ad (diff)
downloadopenbmc-18d6327e2994b5a92c9cc81078b926937e08a2eb.tar.xz
meta-swift: Initial commit
Create a new machine for Swift, a POWER9 system. It is initially based on Witherspoon but with 128MB NOR flash chips. - To build this machine: export MACHINE="swift"; \ export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE MACHINE"; \ bitbake obmc-phosphor-image (From meta-ibm rev: 12b1187ecfcf7d6438cb026d09f2c1b7c6e06cbc) Change-Id: I304ae026e1b2e027776981865b3f483d0898000f Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--meta-ibm/meta-witherspoon/README.md13
-rw-r--r--meta-ibm/meta-witherspoon/conf/machine/swift.conf14
2 files changed, 27 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/README.md b/meta-ibm/meta-witherspoon/README.md
index beb3ca93c..5d2b5c722 100644
--- a/meta-ibm/meta-witherspoon/README.md
+++ b/meta-ibm/meta-witherspoon/README.md
@@ -6,3 +6,16 @@ This is the Witherspoon machine layer.
Witherspoon, or AC922, is an IBM POWER9 two-socket, 2U Accelerated Compute
Server with up to 6 NVIDIA Tesla GPUs. More information can be found
[here](https://www.ibm.com/us-en/marketplace/power-systems-ac922).
+
+In addition to witherspoon, this layer contains additional machine
+configurations such as swift. The default machine target is witherspoon,
+so in order to build a different configuration, or to build witherspoon
+after building a different one, set the MACHINE environment to the desired
+configuration name as follows (this is only needed once):
+
+ export MACHINE="<machine_configuration>"; \
+ export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE MACHINE"
+
+Then build:
+
+ bitbake obmc-phosphor-image
diff --git a/meta-ibm/meta-witherspoon/conf/machine/swift.conf b/meta-ibm/meta-witherspoon/conf/machine/swift.conf
new file mode 100644
index 000000000..6d6445f29
--- /dev/null
+++ b/meta-ibm/meta-witherspoon/conf/machine/swift.conf
@@ -0,0 +1,14 @@
+require conf/machine/witherspoon.conf
+
+# TODO Change to ${KMACHINE}-bmc-opp-swift.dtb when the device tree is available
+KERNEL_DEVICETREE = "${KMACHINE}-bmc-opp-witherspoon.dtb"
+
+# TODO Update once a Swift MRW is available
+PHOSPHOR_MRW_LICENSE = "Apache-2.0"
+PHOSPHOR_MRW_LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+PHOSPHOR_MRW_URI = "git://github.com/open-power/witherspoon-xml"
+PHOSPHOR_MRW_REV = "e76c2fc5aeb512a0eb33438c239746de5b629885"
+MRW_XML = "witherspoon.xml"
+
+# 128MB flash size
+FLASH_SIZE = "131072"