summaryrefslogtreecommitdiff
path: root/meta-fii/meta-mori/conf
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2023-03-10 21:18:56 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-03-11 02:05:36 +0300
commit2e37529947a9a11c2ba54e830fa59df37bc2ec36 (patch)
treeb174b465f57bbe288eae72e27f5158c97c62e956 /meta-fii/meta-mori/conf
parent862140aba06648338bdffcf53f5ccd9cfa83add2 (diff)
downloadopenbmc-2e37529947a9a11c2ba54e830fa59df37bc2ec36.tar.xz
meta-phosphor: add offset for uboot environment
The previous static-image building code only confirmed that the u-boot image was smaller than the offset for the kernel image, but most systems place the u-boot environment after the u-boot image. It is possible that we have a u-boot image bigger than the u-boot partition, which is then overwritten on boot by the u-boot env. Check for this at image build time and prevent it from happening. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3a1e6654272cedb3e840bbea4771ae4e464c4ecd
Diffstat (limited to 'meta-fii/meta-mori/conf')
-rw-r--r--meta-fii/meta-mori/conf/machine/mori.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-fii/meta-mori/conf/machine/mori.conf b/meta-fii/meta-mori/conf/machine/mori.conf
index 4d99cb26ce..e6acd17653 100644
--- a/meta-fii/meta-mori/conf/machine/mori.conf
+++ b/meta-fii/meta-mori/conf/machine/mori.conf
@@ -5,6 +5,7 @@ require conf/machine/include/obmc-bsp-common.inc
FLASH_SIZE = "65536"
FLASH_UBOOT_OFFSET:flash-65536 = "0"
+FLASH_UBOOT_ENV_OFFSET:flash-65536 = "1024"
FLASH_KERNEL_OFFSET:flash-65536 = "2048"
FLASH_ROFS_OFFSET:flash-65536 = "7168"
FLASH_RWFS_OFFSET:flash-65536 = "62400"