1*91f16700Schasinglulu/* 2*91f16700Schasinglulu * Copyright (c) 2014-2016, Freescale Semiconductor, Inc. 3*91f16700Schasinglulu * Copyright 2017-2020 NXP 4*91f16700Schasinglulu * 5*91f16700Schasinglulu * SPDX-License-Identifier: BSD-3-Clause 6*91f16700Schasinglulu * 7*91f16700Schasinglulu */ 8*91f16700Schasinglulu 9*91f16700Schasinglulu--------------------------------------------------- 10*91f16700Schasinglulu# Specify the platform. [Mandatory] 11*91f16700Schasinglulu# Choose Platform - 1010/1040/2041/3041/4080/5020/5040/9131/9132/9164/4240/C290/LS1 12*91f16700SchasingluluPLATFORM=LS1043 13*91f16700Schasinglulu# ESBC Flag. Specify ESBC=0 to sign u-boot and ESBC=1 to sign ESBC images.(default is 0) 14*91f16700SchasingluluESBC=0 15*91f16700Schasinglulu--------------------------------------------------- 16*91f16700Schasinglulu# Entry Point/Image start address field in the header.[Mandatory] 17*91f16700Schasinglulu# (default=ADDRESS of first file specified in images) 18*91f16700SchasingluluENTRY_POINT=10000000 19*91f16700Schasinglulu--------------------------------------------------- 20*91f16700Schasinglulu# Specify the file name of the keys separated by comma. 21*91f16700Schasinglulu# The number of files and key select should lie between 1 and 4 for 1040 and C290. 22*91f16700Schasinglulu# For rest of the platforms only one key is required and key select should not be provided. 23*91f16700Schasinglulu 24*91f16700Schasinglulu# USAGE (for 4080/5020/5040/3041/2041/1010/913x): PRI_KEY = <key1.pri> 25*91f16700Schasinglulu# USAGE (for 1040/C290/9164/4240/LS1): PRI_KEY = <key1.pri>, <key2.pri>, <key3.pri>, <key4.pri> 26*91f16700Schasinglulu 27*91f16700Schasinglulu# PRI_KEY (Default private key :srk.pri) - [Optional] 28*91f16700SchasingluluPRI_KEY=srk.pri 29*91f16700Schasinglulu# PUB_KEY (Default public key :srk.pub) - [Optional] 30*91f16700SchasingluluPUB_KEY=srk.pub 31*91f16700Schasinglulu# Please provide KEY_SELECT(between 1 to 4) (Required for 1040/C290/9164/4240/LS1 only) - [Optional] 32*91f16700SchasingluluKEY_SELECT= 33*91f16700Schasinglulu--------------------------------------------------- 34*91f16700Schasinglulu# Specify SG table address, only for (2041/3041/4080/5020/5040) with ESBC=0 - [Optional] 35*91f16700SchasingluluSG_TABLE_ADDR= 36*91f16700Schasinglulu--------------------------------------------------- 37*91f16700Schasinglulu# Specify the target where image will be loaded. (Default is NOR_16B) - [Optional] 38*91f16700Schasinglulu# Only required for Non-PBL Devices (1010/1040/9131/9132i/C290) 39*91f16700Schasinglulu# 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*91f16700SchasingluluIMAGE_TARGET= 41*91f16700Schasinglulu--------------------------------------------------- 42*91f16700Schasinglulu# Specify IMAGE, Max 8 images are possible. DST_ADDR is required only for Non-PBL Platform. [Mandatory] 43*91f16700Schasinglulu# USAGE : IMAGE_NO = {IMAGE_NAME, SRC_ADDR, DST_ADDR} 44*91f16700SchasingluluIMAGE_1={bl2.bin,10000000,ffffffff} 45*91f16700SchasingluluIMAGE_2={,,} 46*91f16700SchasingluluIMAGE_3={,,} 47*91f16700SchasingluluIMAGE_4={,,} 48*91f16700SchasingluluIMAGE_5={,,} 49*91f16700SchasingluluIMAGE_6={,,} 50*91f16700SchasingluluIMAGE_7={,,} 51*91f16700SchasingluluIMAGE_8={,,} 52*91f16700Schasinglulu--------------------------------------------------- 53*91f16700Schasinglulu# Specify OEM AND FSL ID to be populated in header. [Optional] 54*91f16700Schasinglulu# e.g FSL_UID=11111111 55*91f16700SchasingluluFSL_UID_0= 56*91f16700SchasingluluFSL_UID_1= 57*91f16700SchasingluluOEM_UID_0= 58*91f16700SchasingluluOEM_UID_1= 59*91f16700Schasinglulu--------------------------------------------------- 60*91f16700Schasinglulu# Specify the file names of csf header and sg table. (Default :hdr.out) [Optional] 61*91f16700SchasingluluOUTPUT_HDR_FILENAME=hdr_bl2.out 62*91f16700Schasinglulu 63*91f16700Schasinglulu# Specify the file names of hash file and sign file. 64*91f16700SchasingluluHASH_FILENAME=img_hash.out 65*91f16700SchasingluluINPUT_SIGN_FILENAME=sign.out 66*91f16700Schasinglulu 67*91f16700Schasinglulu# Specify the signature size.It is mandatory when neither public key nor private key is specified. 68*91f16700Schasinglulu# Signature size would be [0x80 for 1k key, 0x100 for 2k key, and 0x200 for 4k key]. 69*91f16700SchasingluluSIGN_SIZE= 70*91f16700Schasinglulu--------------------------------------------------- 71*91f16700Schasinglulu# Specify the output file name of sg table. (Default :sg_table.out). [Optional] 72*91f16700Schasinglulu# Please note that OUTPUT SG BIN is only required for 2041/3041/4080/5020/5040 when ESBC flag is not set. 73*91f16700SchasingluluOUTPUT_SG_BIN= 74*91f16700Schasinglulu--------------------------------------------------- 75*91f16700Schasinglulu# Following fields are Required for 4240/9164/1040/C290 only 76*91f16700Schasinglulu 77*91f16700Schasinglulu# Specify House keeping Area 78*91f16700Schasinglulu# Required for 4240/9164/1040/C290 only when ESBC flag is not set. [Mandatory] 79*91f16700SchasingluluHK_AREA_POINTER= 80*91f16700SchasingluluHK_AREA_SIZE= 81*91f16700Schasinglulu--------------------------------------------------- 82*91f16700Schasinglulu# Following field Required for 4240/9164/1040/C290 only 83*91f16700Schasinglulu# Specify Secondary Image Flag. (0 or 1) - [Optional] 84*91f16700Schasinglulu# (Default is 0) 85*91f16700SchasingluluSEC_IMAGE=0 86*91f16700Schasinglulu# Specify Manufacturing Protection Flag. (0 or 1) - [Optional] 87*91f16700Schasinglulu# Required only for LS1(Default is 0) 88*91f16700SchasingluluMP_FLAG=1 89*91f16700Schasinglulu--------------------------------------------------- 90