keysrc - 2024.1 简体中文

Bootgen 用户指南 (UG1283)

Document ID
UG1283
Release Date
2024-05-30
Version
2024.1 简体中文

语法

keysrc = <options>

描述

用于指定加密的密钥源。

实参

启动加载程序、meta 头文件和分区的有效密钥源为:

  • efuse_red_key
  • efuse_blk_key
  • bbram_red_key
  • bbram_blk_key
  • bh_blk_key

还有些仅针对分区有效的密钥源:

  • user_key0
  • user_key1
  • user_key2
  • user_key3
  • user_key4
  • user_key5
  • user_key6
  • user_key7
  • efuse_user_key0
  • efuse_user_blk_key0

示例

all:                                                       
 {                                                          
    image                                                   
    {                                                       
       name = pmc_subsys, id = 0x1c000001                   
       {                                                    
          type = bootloader, encryption = aes,              
          keysrc = bbram_red_key, aeskeyfile = key1.nky,    
          file = plm.elf                                    
       }                                                    
       {                                                    
          type = pmcdata, load = 0xf2000000,                
          aeskeyfile = key2.nky, file = pmc_cdo.bin         
       }                                                    
    }                                                       
 }