diff options
author | Claire Liao <claireliao@google.com> | 2023-05-04 06:06:38 +0300 |
---|---|---|
committer | Claire Liao <claireliao@google.com> | 2023-05-08 16:17:08 +0300 |
commit | 1def6a1e2aed5b6135a8df13d97d64b506e4134e (patch) | |
tree | c2e8b49c1e92db2cfc34179b8cd7e9cd4cd6fb6b /meta-google | |
parent | 3856114a3064f49de3ca60e51b7e1377391811a0 (diff) | |
download | openbmc-1def6a1e2aed5b6135a8df13d97d64b506e4134e.tar.xz |
meta-google: image_types_hoth: fix hoth_secondary offset
Set the hoth_secondary offset to correct one.
Tested:
1. hoth fw can embed successfully & the size is correct.
2. BMC image can build and run.
Change-Id: I336d71d45349f0e58230a1175026ee4fad015733
Signed-off-by: Claire Liao <claireliao@google.com>
Diffstat (limited to 'meta-google')
-rw-r--r-- | meta-google/classes/image_types_hoth.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-google/classes/image_types_hoth.bbclass b/meta-google/classes/image_types_hoth.bbclass index c2c6f739b7..f01ed90ddc 100644 --- a/meta-google/classes/image_types_hoth.bbclass +++ b/meta-google/classes/image_types_hoth.bbclass @@ -25,7 +25,7 @@ python do_generate_static:append() { _append_image(os.path.join(d.getVar('DEPLOY_DIR_IMAGE', True), 'image-hoth-update-2nd'), int(d.getVar('FLASH_HOTH_SECONDARY_OFFSET', True)), - int(d.getVar('FLASH_SIZE', True))) + int(d.getVar('FLASH_RWFS_OFFSET', True))) } do_generate_static[depends] += "virtual/hoth-firmware:do_deploy" do_generate_static[depends] += "${@'virtual/hoth-firmware-2nd:do_deploy' if ENABLE_HOTH_SECONDARY == 'yes' else ''}" |