| 1 |
/* |
| 2 |
* Copyright (c) 2014-2016, Freescale Semiconductor, Inc. |
| 3 |
* Copyright 2017-2020 NXP |
| 4 |
* |
| 5 |
* SPDX-License-Identifier: BSD-3-Clause |
| 6 |
* |
| 7 |
*/ |
| 8 |
|
| 9 |
--------------------------------------------------- |
| 10 |
# Specify the platform. [Mandatory] |
| 11 |
# Choose Platform - 1010/1040/2041/3041/4080/5020/5040/9131/9132/9164/4240/C290/LS1 |
| 12 |
PLATFORM=LS1043 |
| 13 |
# ESBC Flag. Specify ESBC=0 to sign u-boot and ESBC=1 to sign ESBC images.(default is 0) |
| 14 |
ESBC=0 |
| 15 |
--------------------------------------------------- |
| 16 |
# Entry Point/Image start address field in the header.[Mandatory] |
| 17 |
# (default=ADDRESS of first file specified in images) |
| 18 |
ENTRY_POINT=10000000 |
| 19 |
--------------------------------------------------- |
| 20 |
# Specify the file name of the keys separated by comma. |
| 21 |
# The number of files and key select should lie between 1 and 4 for 1040 and C290. |
| 22 |
# For rest of the platforms only one key is required and key select should not be provided. |
| 23 |
|
| 24 |
# USAGE (for 4080/5020/5040/3041/2041/1010/913x): PRI_KEY = <key1.pri> |
| 25 |
# USAGE (for 1040/C290/9164/4240/LS1): PRI_KEY = <key1.pri>, <key2.pri>, <key3.pri>, <key4.pri> |
| 26 |
|
| 27 |
# PRI_KEY (Default private key :srk.pri) - [Optional] |
| 28 |
PRI_KEY=srk.pri |
| 29 |
# PUB_KEY (Default public key :srk.pub) - [Optional] |
| 30 |
PUB_KEY=srk.pub |
| 31 |
# Please provide KEY_SELECT(between 1 to 4) (Required for 1040/C290/9164/4240/LS1 only) - [Optional] |
| 32 |
KEY_SELECT= |
| 33 |
--------------------------------------------------- |
| 34 |
# Specify SG table address, only for (2041/3041/4080/5020/5040) with ESBC=0 - [Optional] |
| 35 |
SG_TABLE_ADDR= |
| 36 |
--------------------------------------------------- |
| 37 |
# Specify the target where image will be loaded. (Default is NOR_16B) - [Optional] |
| 38 |
# Only required for Non-PBL Devices (1010/1040/9131/9132i/C290) |
| 39 |
# Select from - NOR_8B/NOR_16B/NAND_8B_512/NAND_8B_2K/NAND_8B_4K/NAND_16B_512/NAND_16B_2K/NAND_16B_4K/SD/MMC/SPI |
| 40 |
IMAGE_TARGET= |
| 41 |
--------------------------------------------------- |
| 42 |
# Specify IMAGE, Max 8 images are possible. DST_ADDR is required only for Non-PBL Platform. [Mandatory] |
| 43 |
# USAGE : IMAGE_NO = {IMAGE_NAME, SRC_ADDR, DST_ADDR} |
| 44 |
IMAGE_1={bl2.bin,10000000,ffffffff} |
| 45 |
IMAGE_2={,,} |
| 46 |
IMAGE_3={,,} |
| 47 |
IMAGE_4={,,} |
| 48 |
IMAGE_5={,,} |
| 49 |
IMAGE_6={,,} |
| 50 |
IMAGE_7={,,} |
| 51 |
IMAGE_8={,,} |
| 52 |
--------------------------------------------------- |
| 53 |
# Specify OEM AND FSL ID to be populated in header. [Optional] |
| 54 |
# e.g FSL_UID=11111111 |
| 55 |
FSL_UID_0= |
| 56 |
FSL_UID_1= |
| 57 |
OEM_UID_0= |
| 58 |
OEM_UID_1= |
| 59 |
--------------------------------------------------- |
| 60 |
# Specify the file names of csf header and sg table. (Default :hdr.out) [Optional] |
| 61 |
OUTPUT_HDR_FILENAME=hdr_bl2.out |
| 62 |
|
| 63 |
# Specify the file names of hash file and sign file. |
| 64 |
HASH_FILENAME=img_hash.out |
| 65 |
INPUT_SIGN_FILENAME=sign.out |
| 66 |
|
| 67 |
# Specify the signature size.It is mandatory when neither public key nor private key is specified. |
| 68 |
# Signature size would be [0x80 for 1k key, 0x100 for 2k key, and 0x200 for 4k key]. |
| 69 |
SIGN_SIZE= |
| 70 |
--------------------------------------------------- |
| 71 |
# Specify the output file name of sg table. (Default :sg_table.out). [Optional] |
| 72 |
# Please note that OUTPUT SG BIN is only required for 2041/3041/4080/5020/5040 when ESBC flag is not set. |
| 73 |
OUTPUT_SG_BIN= |
| 74 |
--------------------------------------------------- |
| 75 |
# Following fields are Required for 4240/9164/1040/C290 only |
| 76 |
|
| 77 |
# Specify House keeping Area |
| 78 |
# Required for 4240/9164/1040/C290 only when ESBC flag is not set. [Mandatory] |
| 79 |
HK_AREA_POINTER= |
| 80 |
HK_AREA_SIZE= |
| 81 |
--------------------------------------------------- |
| 82 |
# Following field Required for 4240/9164/1040/C290 only |
| 83 |
# Specify Secondary Image Flag. (0 or 1) - [Optional] |
| 84 |
# (Default is 0) |
| 85 |
SEC_IMAGE=0 |
| 86 |
# Specify Manufacturing Protection Flag. (0 or 1) - [Optional] |
| 87 |
# Required only for LS1(Default is 0) |
| 88 |
MP_FLAG=1 |
| 89 |
--------------------------------------------------- |