From a9893155ce1a82074984bc3a0e0a5d936af7c10d Mon Sep 17 00:00:00 2001 From: Adriana Kobylak Date: Thu, 16 Jul 2020 14:48:19 -0500 Subject: 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 Signed-off-by: Andrew Geissler --- meta-ibm/conf/machine/rainier.conf | 3 ++- meta-ibm/conf/machine/witherspoon-tacoma.conf | 11 ++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'meta-ibm') 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" -- cgit v1.2.3