Browse Source

feat(fiptool): add cca, core_swd, plat cert in FIP

Added support for cca CoT in the fiptool by adding the cca,
core_swd, and plat key certificates.

Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
Change-Id: I1ba559e188ad8c33cb0e643d7a2fc6fb96736ab9
pull/1986/head
laurenw-arm 3 years ago
parent
commit
147f52f3e8
  1. 8
      include/tools_share/firmware_image_package.h
  2. 17
      tools/fiptool/tbbr_config.c

8
include/tools_share/firmware_image_package.h

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2021, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2014-2022, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -24,6 +24,12 @@
{{0x4f, 0x51, 0x1d, 0x11}, {0x2b, 0xe5}, {0x4e, 0x49}, 0xb4, 0xc5, {0x83, 0xc2, 0xf7, 0x15, 0x84, 0x0a} }
#define UUID_TRUSTED_FWU_CERT \
{{0x71, 0x40, 0x8a, 0xb2}, {0x18, 0xd6}, {0x87, 0x4c}, 0x8b, 0x2e, {0xc6, 0xdc, 0xcd, 0x50, 0xf0, 0x96} }
#define UUID_CCA_CONTENT_CERT \
{{0x36, 0xd8, 0x3d, 0x85}, {0x76, 0x1d}, {0x4d, 0xaf}, 0x96, 0xf1, {0xcd, 0x99, 0xd6, 0x56, 0x9b, 0x00} }
#define UUID_CORE_SWD_KEY_CERT \
{{0x52, 0x22, 0x2d, 0x31}, {0x82, 0x0f}, {0x49, 0x4d}, 0x8b, 0xbc, {0xea, 0x68, 0x25, 0xd3, 0xc3, 0x5a} }
#define UUID_PLAT_KEY_CERT \
{{0xd4, 0x3c, 0xd9, 0x02}, {0x5b, 0x9f}, {0x41, 0x2e}, 0x8a, 0xc6, {0x92, 0xb6, 0xd1, 0x8b, 0xe6, 0x0d} }
#define UUID_TRUSTED_BOOT_FIRMWARE_BL2 \
{{0x5f, 0xf9, 0xec, 0x0b}, {0x4d, 0x22}, {0x3e, 0x4d}, 0xa5, 0x44, {0xc3, 0x9d, 0x81, 0xc7, 0x3f, 0x0a} }
#define UUID_SCP_FIRMWARE_SCP_BL2 \

17
tools/fiptool/tbbr_config.c

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2021, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2016-2022, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -171,6 +171,21 @@ toc_entry_t toc_entries[] = {
.uuid = UUID_PLAT_SECURE_PARTITION_CONTENT_CERT,
.cmdline_name = "plat-sp-cert"
},
{
.name = "CCA Content Certificate",
.uuid = UUID_CCA_CONTENT_CERT,
.cmdline_name = "cca-cert"
},
{
.name = "Core Secure World Key Certificate",
.uuid = UUID_CORE_SWD_KEY_CERT,
.cmdline_name = "core-swd-cert"
},
{
.name = "Platform Key Certificate",
.uuid = UUID_PLAT_KEY_CERT,
.cmdline_name = "plat-key-cert"
},
{
.name = NULL,
.uuid = { {0} },

Loading…
Cancel
Save