| // Copyright lowRISC contributors. |
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| // SPDX-License-Identifier: Apache-2.0 |
| |
| /** |
| * Manifest for BL0 boot images stored in external flash. |
| * |
| * Note: The definitions in |
| * sw/host/rom_ext_image_tools/signer/image/src/manifest.rs must be updated if |
| * this struct is modified. Please see the instructions in that file. |
| */ |
| { |
| /** |
| * Manifest identifier (CHIP_BL0_IDENTIFIER). |
| */ |
| identifier: "0x3042544f" |
| /** |
| * Image major version. |
| */ |
| version_major: "0x00000001" |
| /** |
| * Image minor version. |
| */ |
| version_minor: "0x00000001" |
| /** |
| * Security version of the image used for anti-rollback protection. |
| */ |
| security_version: "0x00000000" |
| /** |
| * Offset of the start of the executable region of the image from the start |
| * of the manifest in bytes. |
| */ |
| code_start: "0x380" |
| /** |
| * Offset of the end of the executable region (exclusive) of the image from |
| * the start of the manifest in bytes. |
| * XXX anything > code_start and word-aligned works for now |
| */ |
| code_end: "0x700" |
| /** |
| * Offset of the first instruction to execute in the image from the start of |
| * the manifest in bytes. |
| */ |
| entry_point: "0x380" |
| } |