diff options
author | Tom Tung <shes050117@gmail.com> | 2023-04-06 17:05:14 +0300 |
---|---|---|
committer | Tom Tung <shes050117@gmail.com> | 2023-04-11 10:01:14 +0300 |
commit | 94de8dc736073c2af80b5acb297960f030571e46 (patch) | |
tree | 3b0096a0d45f8ee474a867de65de21c1416e1485 /meta-google/classes | |
parent | f543dd52c78184a1da4067efb421a830d67f2382 (diff) | |
download | openbmc-94de8dc736073c2af80b5acb297960f030571e46.tar.xz |
meta-google: set FLASH_UBOOT_ENV_OFFSET as FLASH_KERNEL_OFFSET
After https://gerrit.openbmc.org/c/openbmc/openbmc/+/61622, we need to
set the offset for uboot environment.
Change-Id: I573ba1139b90041a66ff7fe15635823545f0ba9f
Signed-off-by: Tom Tung <shes050117@gmail.com>
Diffstat (limited to 'meta-google/classes')
-rw-r--r-- | meta-google/classes/image_types_hoth.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-google/classes/image_types_hoth.bbclass b/meta-google/classes/image_types_hoth.bbclass index 912b722246..ae65d61da0 100644 --- a/meta-google/classes/image_types_hoth.bbclass +++ b/meta-google/classes/image_types_hoth.bbclass @@ -3,12 +3,14 @@ FLASH_IMAGE_DESC_OFFSET:hoth = "${@960 if FLASH_SIZE == '65536' else 7232}" FLASH_HOTH_UPDATE_OFFSET:hoth = "${@1024 if FLASH_SIZE == '65536' else 31744}" FLASH_HOTH_MAILBOX_OFFSET:hoth = "${@65472 if FLASH_SIZE == '65536' else 7168}" -unset FLASH_UBOOT_ENV_OFFSET # 64 bit kernels are larger, so they require a different layout FLASH_IMAGE_DESC_OFFSET:hoth:aarch64 = "${@61312 if FLASH_SIZE == '65536' else 7232}" FLASH_HOTH_UPDATE_OFFSET:hoth:aarch64 = "${@61376 if FLASH_SIZE == '65536' else 31744}" +# Leave a zero-size u-boot env partition. +FLASH_UBOOT_ENV_OFFSET = ${FLASH_KERNEL_OFFSET} + python do_generate_static:append() { _append_image(os.path.join(d.getVar('DEPLOY_DIR_IMAGE', True), 'image-hoth-update'), |