summaryrefslogtreecommitdiff
path: root/meta-google/classes
AgeCommit message (Collapse)AuthorFilesLines
2023-05-08meta-google: image_types_hoth: fix hoth_secondary offsetClaire Liao1-1/+1
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>
2023-05-03meta-google: set uboot env override for flash-65536Anthony1-0/+1
Change-Id: Ifd374c6fdc187595b2018d7a26c8cba6134c917e Signed-off-by: Anthony <anthonyhkf@google.com>
2023-05-02meta-google: image_types_hoth: add way to embed 2 RoT firmwareClaire Liao1-0/+9
Merge 2 platform BMC image, so need to have both RoT fw inside. Tested: 1. Make sure target BMC image have both RoTs and they are in right address. 2. Make sure other platforms are not affected. 3. Test on the target BMC image to make sure both platforms are working well with both RoTs. Change-Id: Icbe1b34b1a3fcd26433054b36e6cbbb52036d003 Signed-off-by: Claire Liao <claireliao@google.com>
2023-04-17meta-google: create new partition for hoth-secondaryClaire Liao1-1/+6
Tested: After build one platform, cr51-image-layout.json: ``` { "length": 55508992, "name": "rofs", "offset": 7340032, "region_type": [ "STATIC", "WRITE_PROTECTED" ] }, ,{ "length": 1048576, "name": "hoth_secondary", "offset": 62849024, "region_type": [] } ``` Change-Id: Id7869f96ff65625547ff83640e300b2202c4aab8 Signed-off-by: Claire Liao <claireliao@google.com>
2023-04-11meta-google: add double quote for FLASH_KERNEL_OFFSETTom Tung1-1/+1
Tested: can build one platform locally. Change-Id: If40d9e3743aca14995c7b754a729cbdaed6c761f Signed-off-by: Tom Tung <shes050117@gmail.com>
2023-04-11meta-google: set FLASH_UBOOT_ENV_OFFSET as FLASH_KERNEL_OFFSETTom Tung1-1/+3
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>
2022-10-05meta-google: image_types_hoth: fix syntax errorBenjamin Fair1-1/+1
The close parenthesis was misplaced causing the first if statement to always be skipped. Tested: Built for 64-bit platform and inspected cr51-image-layout.json Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: If3dacd917ae26908ef0d4c98866b58051176dea1
2022-09-30meta-google: image_types_hoth: rearrange partitionsBenjamin Fair1-0/+42
Move the update and image descriptor partitions to the end in images targeting 64-bit machines since we may not have space in the current location when the bootloader and kernel grow in size. Tested: Built for 64-bit platform and inspected cr51-image-layout.json Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: Ib66ebbb824319fd526a161bca9330b127f37fe6c
2022-04-29meta-google: hoth: add support for NPCM8XXJason Ling1-8/+3
Make Hoth offsets apply identically across all architectures Signed-off-by: Jason Ling <jasonling@google.com> Change-Id: I0ac76cadc906c0a79eec3f143643b3f256710aa5
2021-10-21meta-google: Add `hoth` support for AspeedMichael Shen1-0/+5
Aspeed `hoth` used the same layout as Nuvoton. No need to change it. Signed-off-by: Michael Shen <gpgpgp@google.com> Change-Id: I21dd347164d19487c76db26d1cc9426559b2094f
2021-09-08meta-google: image_type_hothJohn Edward Broadbent1-0/+150
This is Google's internal method for dealing with hoth and image sizes. No changes are expected for any non-Google projects. Change-Id: I2b66763e0fdc1cd019c2d774134290788228982b Signed-off-by: John Edward Broadbent <jebr@google.com>