authentication - 2022.1 English

Bootgen User Guide (UG1283)

Document ID
UG1283
Release Date
2022-04-26
Version
2022.1 English

Syntax

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    [authenication = <options>] <partition> 
  • For Versal ACAP:
    {authentication=<options>, file=<partition>} 

Description

This specifies the partition to be authenticated.

Arguments

  • none: Partition not authenticated. This is the default value.
  • rsa: Partition authenticated using RSA algorithm.
  • ecdsa-p384 : Partition authenticated using ECDSA p384 curve
  • ecdsa-p521 : Partition authenticated using ECDSA p521 curve

Example

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    all:                                                          
    {                                                             
        [ppkfile] ppk.txt                                         
        [spkfile] spk.txt                                         
        [bootloader, authentication=rsa] fsbl.elf                 
        [authentication=rsa] hello.elf                            
    } 
  • For Versal ACAP:
    all:
    {
    	id_code = 0x04ca8093
    	extended_id_code = 0x01
    	id = 0x2
    	boot_config {bh_auth_enable}
    
    	metaheader
    	{
    		authentication = rsa,
    		pskfile = PSK2.pem,
    		sskfile = SSK2.pem
    	}
    
    	image
    	{
    		name = pmc_subsys, id = 0x1c000001
    		partition
    		{
    			id = 0x01, type = bootloader,
    			authentication = rsa,
    			pskfile =PSK1.pem,
    			sskfile =SSK1.pem,
    			file = plm.elf
    		}
    		partition
    		{
    			id = 0x09, type = pmcdata, load = 0xf2000000,
    			file = pmc_data.cdo
    		}
    	}
    
    	image
    	{
    		name = lpd, id = 0x4210002
    		partition
    		{
    			id = 0x0C, type = cdo,
    			authentication = rsa,
    			pskfile = PSK3.pem,
    			sskfile = SSK3.pem,
    			file = lpd_data.cdo
    		}
    		partition
    		{
    			id = 0x0B, core = psm,
    			authentication = rsa,
    			pskfile = PSK1.pem,
    			sskfile = SSK1.pem,
    			file = psm_fw.elf
    		}
    	}
    
    	image
    	{
    		name = fpd, id = 0x420c003
    		partition
    		{
    			id = 0x08, type = cdo,
    			authentication = rsa,
    			pskfile = PSK3.pem,
    			sskfile = SSK3.pem,
    			file = fpd_data.cdo
    		}
    	}
    }