diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2023-03-10 21:18:56 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2023-03-11 02:05:36 +0300 |
commit | 2e37529947a9a11c2ba54e830fa59df37bc2ec36 (patch) | |
tree | b174b465f57bbe288eae72e27f5158c97c62e956 /meta-fii/meta-kudo/conf | |
parent | 862140aba06648338bdffcf53f5ccd9cfa83add2 (diff) | |
download | openbmc-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-kudo/conf')
-rw-r--r-- | meta-fii/meta-kudo/conf/machine/kudo.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-fii/meta-kudo/conf/machine/kudo.conf b/meta-fii/meta-kudo/conf/machine/kudo.conf index b6a99d8133..46e317a565 100644 --- a/meta-fii/meta-kudo/conf/machine/kudo.conf +++ b/meta-fii/meta-kudo/conf/machine/kudo.conf @@ -6,6 +6,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" |