PDI Generation with BIF Example - PDI Generation with BIF Example - 2025.2 English - UG1283

Bootgen User Guide (UG1283)

Document ID
UG1283
Release Date
2025-11-20
Version
2025.2 English

Non-Secure BIF

// single line comments allowed
/* Block comments allowed */
  
new_bif:                                        // This is not attribute, user defined name to identify BIF file.
{
    init = reginit.ini                          // Reg INIT file input
    image
    {
        partition
        {
            type = bootloader,                  // Partition Type
            file = /path/to/plm.elf
        }
         
        partition
        {
            type = pldata,
            file = /path/to/pl.cdo
        }
    }
}

A-HWRoT + S-HWRoT BIF

new_bif:
{
    ppkfile = primary.lms.pub
    pskfile = primary.lms.prv
    spkfile = secondary.lms.pub
    sskfile = secondary.lms.prv 
 
    image
    {
        partition
        {
            type = bootloader,
            encryption = aes,
            keysrc = efuse_red_key,
            aeskeyfile = aeskeyfile.nky,
            authentication = lms-sha256,          
            file = /path/to/plm.elf
        }
         
        partition
        {
            type = pldata,
            authentication = lms-sha256,
            file = /path/to/pl.cdo
        }
    }
}

Partial A-HWRoT BIF

new_bif:
{
    ppkfile = primary.lms.pub
    pskfile = primary.lms.prv
    spkfile = secondary.lms.pub
    sskfile = secondary.lms.prv 
 
    image
    {      
        partition
        {
            type = pldata,
            authentication = lms-sha256,         
            file = /path/to/pl.cdo
        }
    }
}