summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2021-04-01 17:59:43 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2021-04-08 19:38:38 +0300
commita433d8ef9fc03b653a770634624ac2ae084cf0b0 (patch)
treef24a61ce744314e2c897e373517e7eb0ebc6d5a1
parent999c9e7a9698ccaca6b1834f608f9dd822d70d58 (diff)
downloadopenbmc-a433d8ef9fc03b653a770634624ac2ae084cf0b0.tar.xz
ibm: Create p10bmc build target
Replace rainier with p10bmc as build target. Keep the rainier.conf as a symlink to p10bmc.conf to allow the transition. Remove the rainier.conf and the machine override from p10bmc.conf in a later commit to complete the replacement. Tested: Built rainier and p10bmc and checked for some files/service units to exist on both. Change-Id: Ic8c8c6ffbc3507fbd9c692da259e37ae695359a6 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-rw-r--r--README.md2
-rw-r--r--meta-ibm/conf/conf-notes.txt4
-rw-r--r--meta-ibm/conf/local.conf.sample2
-rw-r--r--meta-ibm/conf/machine/p10bmc.conf35
l---------[-rw-r--r--]meta-ibm/conf/machine/rainier.conf35
5 files changed, 40 insertions, 38 deletions
diff --git a/README.md b/README.md
index 6ae7bfed07..8678e09c61 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ gsj on5263m5 vesnin
hr630 palmetto witherspoon
hr855xg2 qemuarm witherspoon-128
lanyang quanta-q71l witherspoon-tacoma
-mihawk rainier yosemitev2
+mihawk p10bmc yosemitev2
msn romulus zaius
neptune s2600wf
```
diff --git a/meta-ibm/conf/conf-notes.txt b/meta-ibm/conf/conf-notes.txt
index f56b88b1ba..d4578dcf48 100644
--- a/meta-ibm/conf/conf-notes.txt
+++ b/meta-ibm/conf/conf-notes.txt
@@ -2,11 +2,11 @@ Example build invocations:
mihawk:
DISTRO=openbmc-witherspoon MACHINE=mihawk bitbake obmc-phosphor-image
+p10bmc:
+DISTRO=openbmc-openpower MACHINE=p10bmc bitbake obmc-phosphor-image
swift:
DISTRO=openbmc-witherspoon MACHINE=swift bitbake obmc-phosphor-image
witherspoon:
DISTRO=openbmc-witherspoon MACHINE=witherspoon bitbake obmc-phosphor-image
witherspoon-tacoma:
DISTRO=openbmc-openpower MACHINE=witherspoon-tacoma bitbake obmc-phosphor-image
-rainier:
-DISTRO=openbmc-openpower MACHINE=rainier bitbake obmc-phosphor-image
diff --git a/meta-ibm/conf/local.conf.sample b/meta-ibm/conf/local.conf.sample
index 4b70cade46..9f2228b80d 100644
--- a/meta-ibm/conf/local.conf.sample
+++ b/meta-ibm/conf/local.conf.sample
@@ -1,6 +1,6 @@
#MACHINE ?= "mihawk"
+#MACHINE ?= "p10bmc"
#MACHINE ?= "swift"
-#MACHINE ?= "rainier"
MACHINE ??= "witherspoon"
DISTRO ?= "openbmc-witherspoon"
PACKAGE_CLASSES ?= "package_rpm"
diff --git a/meta-ibm/conf/machine/p10bmc.conf b/meta-ibm/conf/machine/p10bmc.conf
new file mode 100644
index 0000000000..22b59b4263
--- /dev/null
+++ b/meta-ibm/conf/machine/p10bmc.conf
@@ -0,0 +1,35 @@
+KERNEL_DEVICETREE = "aspeed-bmc-ibm-rainier.dtb aspeed-bmc-ibm-rainier-4u.dtb aspeed-bmc-ibm-everest.dtb"
+UBOOT_MACHINE = "ast2600_openbmc_spl_emmc_defconfig"
+UBOOT_DEVICETREE = "ast2600-rainier"
+SPL_BINARY = "spl/u-boot-spl.bin"
+
+OBMC_POWER_SUPPLY_INSTANCES = "0 1 2 3"
+
+# TODO remove the MACHINEOVERRIDES when the rainier.conf file is removed.
+MACHINEOVERRIDES =. "p10bmc:"
+require conf/machine/include/ast2600.inc
+require conf/machine/include/obmc-bsp-common.inc
+require conf/machine/include/openpower.inc
+include conf/machine/include/ibm-power10-cpu.inc
+require conf/distro/include/openpower-virtual-pnor.inc
+require conf/distro/include/phosphor-mmc.inc
+require conf/distro/include/ibm-mpreboot.inc
+
+SERIAL_CONSOLES = "115200;ttyS4"
+
+MRW_XML = "witherspoon.xml"
+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 = "c622cb5a5dd3ebc2a4eef558d1b70740f914e6f7"
+
+VIRTUAL-RUNTIME_phosphor-hwmon-config_df-mrw = ""
+
+PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config_df-mrw = \
+ "phosphor-fan-control-fan-config"
+PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config_df-mrw = \
+ "phosphor-fan-presence-config"
+
+SKIP_BROKEN_MRW = "1"
+
+IMAGE_FEATURES_remove = "obmc-ikvm"
diff --git a/meta-ibm/conf/machine/rainier.conf b/meta-ibm/conf/machine/rainier.conf
index f7f08dd08f..ddfb6ec6d1 100644..120000
--- a/meta-ibm/conf/machine/rainier.conf
+++ b/meta-ibm/conf/machine/rainier.conf
@@ -1,34 +1 @@
-KERNEL_DEVICETREE = "aspeed-bmc-ibm-rainier.dtb aspeed-bmc-ibm-rainier-4u.dtb aspeed-bmc-ibm-everest.dtb"
-UBOOT_MACHINE = "ast2600_openbmc_spl_emmc_defconfig"
-UBOOT_DEVICETREE = "ast2600-rainier"
-SPL_BINARY = "spl/u-boot-spl.bin"
-
-OBMC_POWER_SUPPLY_INSTANCES = "0 1 2 3"
-
-MACHINEOVERRIDES =. "p10bmc:"
-require conf/machine/include/ast2600.inc
-require conf/machine/include/obmc-bsp-common.inc
-require conf/machine/include/openpower.inc
-include conf/machine/include/ibm-power10-cpu.inc
-require conf/distro/include/openpower-virtual-pnor.inc
-require conf/distro/include/phosphor-mmc.inc
-require conf/distro/include/ibm-mpreboot.inc
-
-SERIAL_CONSOLES = "115200;ttyS4"
-
-MRW_XML = "witherspoon.xml"
-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 = "c622cb5a5dd3ebc2a4eef558d1b70740f914e6f7"
-
-VIRTUAL-RUNTIME_phosphor-hwmon-config_df-mrw = ""
-
-PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config_df-mrw = \
- "phosphor-fan-control-fan-config"
-PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config_df-mrw = \
- "phosphor-fan-presence-config"
-
-SKIP_BROKEN_MRW = "1"
-
-IMAGE_FEATURES_remove = "obmc-ikvm"
+p10bmc.conf \ No newline at end of file