nt9856x/loader/Project/Model/ModelConfig_EMU_EVB.txt

201 lines
5.3 KiB
Plaintext
Executable File

BIN_NAME = LD98$(CHIP_SHORT)A
BL_UPDATE_FWNAME = FW98$(CHIP_SHORT)A.BIN
BL_RUN_FWNAME = FW98$(CHIP_SHORT)T.BIN
# Ext => DRAM is external die => Need user configuration
# KGD => DRAM is internal die => Depend on specific chip (force fixed dram size)
#===========+================+==================+
# chip_name | DDR1 size | DDR1 clock |
#===========+================+==================+
# 560 |1024 ~ 8192(Mb) | 507, 760, 933 |
#===========+================+==================+
# 562 |512(Mb) | 522, 666 |
#===========+================+==================+
# 563 |512(Mb) | 522, 666 |
#===========+================+==================+
# 566 |1024(Mb) | 507, 760, 933 |
#===========+================+==================+
# 565 |1024(Mb) | 507, 760, 933 |
#===========+================+==================+
# [CHIP] : main chip ID
#560
#562
#563
#566
#565
CHIP = 565
# [CHIP_VER] : chip version
# A
# B
#CHIP_VER = A
# [DRAM1_CLK] : DRAM1(16-bit) clock rate
# 507
# 522
# 666
# 760
# 933
DRAM1_CLK = 933
# [SDRAM_SIZE] : DRAM Size (unit: Giga bit)
# 512(Mb)
# 1024
# 2048
# 4096
SDRAM_SIZE = 512
# [DRAM1_POWEROFF_S3] : PCB support powered off S3
# Normal
# Enabled
#DRAM1_POWEROFF_S3 = Normal
# [DRAM_TYPE] : DRAM Type
# DDR3
# DDR3L
DRAM_TYPE = DDR3
# [DRAM_2ND_TBL_DETECT] : enable DRAM 2nd table detect by GPIO (default: P_GPIO13)
# Normal (No GPIO detected)
# 0 (C_GPIO)
# 1 (P_GPIO)
# 2 (S_GPIO)
# 3 (L_GPIO)
# 4 (D_GPIO)
# 5 (HSI_GPI0)
# 6 (ADC_GPIO)
# 7 (DSI_GPI0)
# 8 (Reserved)
DRAM_2ND_TBL_DETECT = Normal
# [DRAM_2ND_TBL_DETECT_GPIO_NO] : enable DRAM 2nd table detect by X_GPIO_n
# where
# C_GPIO --> n=0~22
# P_GPIO --> n=0~25
# S_GPIO --> n=0~8
# L_GPIO --> n=0~9
# D_GPIO --> n=0~7
# HSI_GPI0 --> n=0~11
# ADC_GPIO --> n=0~2
# DSI_GPIO --> n=0~10
DRAM_2ND_TBL_DETECT_GPIO_NO = 0
# [DRAM1_2ND_CLK] : DRAM1(16-bit) 2nd table clock rate
# 507
# 760
# 933
DRAM1_2ND_CLK = 760
# [SDRAM_2ND_SIZE] : 2nd table DRAM Size (unit: Giga bit)
# 1024
# 2048
# 4096
SDRAM_2ND_SIZE = 4096
# [DDR_TREFI] : ddr refresh time select by temparature range
# Normal(3.9 us)
# Extend(1.95 us)
DDR_TREFI = Normal
# [DRAM_PLL_SSC] : enable DRAM PLL spread spectrum
# Normal
# 1 (0.1%)
# 2 (0.2%)
# 3 (0.3%)
# 4 (0.4%)
# 5 (0.5%)
DRAM_SSC_ENABLE = Normal
# [DRAM_ODT] : enable DRAM ODT or not
# Normal
# Enable
# Disable
DRAM_ODT = Normal
# [STORAGEINT] : internal storage device
# NandSpi
# SpiFlash
# EMMC
# EMMC_NAND_COMBO >>>[eMMC & NandSpi 2 in 1 & STORAGEEXT must choose NONE]<<<
STORAGEINT = SpiFlash
# [SPI_SETTING] : SPI pinmux setting (Valid when STORAGEINT is NandSpi or SpiFlash)
# SPI_NORMAL
# SPI_4BITS
SPI_SETTING = SPI_4BITS
# [STORAGEEXT] : external storage device
# NONE
# Sdio1
# Usb
# Eth >>>[During this option => STORAGEINT MUST not choose @EMMC_NAND_COMBO]<<<
# Uart
STORAGEEXT = Sdio1
#==============================================================================#
# ROM decrypt loader option #
#==============================================================================#
# [SECUREBOOT] : Secure boot enable or not(Generate loader for secure boot)
# Normal
# Secure
SECUREBOOT = Normal
# [SIGNATUREMETHOD] : Digital signature method (Only valid when SECUREBOOT = Secure )
# AES128
# RSA2048
SIGNATUREMETHOD = AES128
# [ENCRYPTIONDATA] : Is data area encrypt ? (Only valid when SECUREBOOT = Secure )
# Normal
# AES128
ENCRYPTDATA = Normal
# [AES key path] : Set absolute path of AES key configuration file
ifeq "$(shell uname)" "Linux"
#AES_KEY_FILE_DIR = /home/nvt00607/NT96680/01_Loader/na51000_loader_smp_crypto_190320_v2/Tools/Bin/aes.txt
AES_KEY_FILE_DIR = ../../Tools/Bin/aes.txt
else
AES_KEY_FILE_DIR = Y:/NT96680/01_Loader/na51000_loader_smp_crypto_190320/Tools/Bin/aes.txt
endif
# [RSA key path] : Set absolute path of RSA key configuration file
ifeq "$(shell uname)" "Linux"
#RSA_KEY_FILE_DIR = /home/nvt00607/NT96680/01_Loader/na51000_loader_smp_crypto_190320_v2/Tools/Bin/aes.txt
RSA_PUB_KEY_FILE_DIR = ../../Tools/Bin/rsa_pub.txt
RSA_PRV_KEY_FILE_DIR = ../../Tools/Bin/rsa_priv.txt
else
RSA_KEY_FILE_DIR = Y:/NT96680/01_Loader/na51000_loader_smp_crypto_190320/Tools/Bin/aes.txt
endif
# [LOADER_DRAM_ADDR] : assign DRAM address used by loader (format 0xABCD)
# 0x1000000
#LOADER_DRAM_ADDR = 0x01F00000
LOADER_DRAM_ADDR = 0x1000000
#==============================================================================#
# loader decrypt uboot option #
#==============================================================================#
# [SECUREBOOT_DECRYPT_UBOOT] : Loader decrypt uboot or not (Depend on uboot build as cypher text or not)
# Normal
# Secure
SECUREBOOT_DECRYPT_UBOOT = Normal
#==============================================================================#
# loader decrypt optee option #
#==============================================================================#
# [SECUREBOOT_DECRYPT_OPTEE] : Loader decrypt optee or not (Depend on optee build as cypher text or not)
# Normal
# Secure
SECUREBOOT_DECRYPT_OPTEE = Normal
#==============================================================================#
# exFAT support(Once customer want to use exFAT, need get license from $MS ) #
#==============================================================================#
# [exFAT] : Loader support exFAT or not
# NONE
# EXFAT
EXFAT_FILESYSTEM_SUPPORT = EXFAT