summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-evb
diff options
context:
space:
mode:
authorRick Altherr <raltherr@google.com>2016-10-31 10:21:29 -0700
committerPatrick Williams <patrick@stwcx.xyz>2016-10-31 19:15:40 +0000
commit7a9a1a593b80da2e1c4a593037d76c90fce344cf (patch)
tree12db9306d3cbbf05b29688ea8bcb1a25c396e3ce /meta-openbmc-machines/meta-evb
parent9da3222d66310c7d488881b21c9654b203c6b509 (diff)
downloadtalos-openbmc-7a9a1a593b80da2e1c4a593037d76c90fce344cf.tar.gz
talos-openbmc-7a9a1a593b80da2e1c4a593037d76c90fce344cf.zip
evb-ast2500: set FLASH_SIZE for obmc-phosphor-image_types_uboot
obmc-phosphor-image_types_uboot constructs a full flash image from the built kernel, initramfs, etc. The size of the flash image depends on FLASH_SIZE which is expected to be set by the machine config. evb-ast2500 never set this which caused the initial setting of the flash image to all 0xFF to silently fail. A functional flash image was still produced since the copying of the various files into the flash image succeeded. The flash image just ends early and writes zeros to unused sections instead of 0xFF. Change-Id: I640b2191e116ea82546a636e83c2a45c7e45c789 Signed-off-by: Rick Altherr <raltherr@google.com>
Diffstat (limited to 'meta-openbmc-machines/meta-evb')
-rw-r--r--meta-openbmc-machines/meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf/machine/evb-ast2500.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf/machine/evb-ast2500.conf b/meta-openbmc-machines/meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf/machine/evb-ast2500.conf
index 3cadc6513..3d88c8702 100644
--- a/meta-openbmc-machines/meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf/machine/evb-ast2500.conf
+++ b/meta-openbmc-machines/meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf/machine/evb-ast2500.conf
@@ -3,5 +3,7 @@ KERNEL_DEVICETREE = "${KMACHINE}-ast2500-evb.dtb"
UBOOT_MACHINE = "ast_g5_phy_config"
+FLASH_SIZE = "32768"
+
require conf/machine/include/ast2500.inc
require conf/machine/include/obmc-bsp-common.inc
OpenPOWER on IntegriCloud