summaryrefslogtreecommitdiff
path: root/meta-ibm/conf
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2020-07-16 22:48:19 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-08-04 03:52:25 +0300
commita9893155ce1a82074984bc3a0e0a5d936af7c10d (patch)
tree93a4da430b23be2f78ef02c545b408b791b6cc0e /meta-ibm/conf
parent06f97e49023ce54c7cd42a44ebe286d887a8e1d8 (diff)
downloadopenbmc-a9893155ce1a82074984bc3a0e0a5d936af7c10d.tar.xz
Move tacoma and rainier to eMMC configuration
For tacoma, adjusting the size of the eMMC image by making the hostfw partition smaller. (From meta-ibm rev: f12da2705f487a933cbf291c129d3832b91d1816) Change-Id: Ic13d141d41ab513f2af7bff790efc7529739b11d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm/conf')
-rw-r--r--meta-ibm/conf/machine/rainier.conf3
-rw-r--r--meta-ibm/conf/machine/witherspoon-tacoma.conf11
2 files changed, 10 insertions, 4 deletions
diff --git a/meta-ibm/conf/machine/rainier.conf b/meta-ibm/conf/machine/rainier.conf
index 1f8c21e73..028f411c1 100644
--- a/meta-ibm/conf/machine/rainier.conf
+++ b/meta-ibm/conf/machine/rainier.conf
@@ -7,6 +7,8 @@ OBMC_POWER_SUPPLY_INSTANCES = "0 1 2 3"
require conf/machine/include/ast2600.inc
require conf/machine/include/obmc-bsp-common.inc
require conf/machine/include/openpower.inc
+require conf/distro/include/openpower-virtual-pnor.inc
+require conf/distro/include/phosphor-mmc.inc
SERIAL_CONSOLES = "115200;ttyS4"
@@ -23,5 +25,4 @@ PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config_df-mrw = \
PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config_df-mrw = \
"phosphor-fan-presence-config"
-FLASH_SIZE = "131072"
SKIP_BROKEN_MRW = "1"
diff --git a/meta-ibm/conf/machine/witherspoon-tacoma.conf b/meta-ibm/conf/machine/witherspoon-tacoma.conf
index 4d94d9e9d..8f2d362a2 100644
--- a/meta-ibm/conf/machine/witherspoon-tacoma.conf
+++ b/meta-ibm/conf/machine/witherspoon-tacoma.conf
@@ -2,8 +2,6 @@ KERNEL_DEVICETREE = "aspeed-bmc-opp-tacoma.dtb"
UBOOT_MACHINE = "ast2600_openbmc_defconfig"
UBOOT_DEVICETREE = "ast2600-tacoma"
-IMAGE_FSTYPES += "ext4 mmc-ext4-tar"
-
OBMC_POWER_SUPPLY_INSTANCES = "0 1"
MACHINEOVERRIDES =. "ibm-ac-server:witherspoon:"
@@ -11,6 +9,8 @@ require conf/machine/include/ast2600.inc
require conf/machine/include/obmc-bsp-common.inc
require conf/machine/include/openpower.inc
require conf/machine/include/p9.inc
+require conf/distro/include/openpower-virtual-pnor.inc
+require conf/distro/include/phosphor-mmc.inc
SERIAL_CONSOLES = "115200;ttyS4"
@@ -27,4 +27,9 @@ PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config_df-mrw = \
PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config_df-mrw = \
"phosphor-fan-presence-config"
-FLASH_SIZE = "131072"
+# The eMMC on Tacoma is just 1GB smaller than Rainier. The template file
+# meta-aspeed/wic/emmc-aspeed.wks.in builds an image for the size of Rainier as
+# the default. To be able to re-use that template for Tacoma, the size of the
+# last partition (hostfw) was made configurable. The default size of the hostfw
+# partition is 5GB, therefore setting it to 4GB for Tacoma.
+WKS_HOSTFW_SIZE = "4G"