PDI Generation with BIF Example - 2025.1 English - UG1283

Bootgen User Guide (UG1283)

Document ID
UG1283
Release Date
2025-05-29
Version
2025.1 English

Non-Secure BIF

bif: {  
    id_code = 0x14ca8093  
    extended_id_code = 0x01  
    id = 0x2  
  
    image {  
        name = pmc_subsys  
        id = 0x1c000001  
        partition {  
            id = 0x01  
            type = bootloader  
            file = plm.elf  
        }  
        partition {  
            id = 0x09  
            type = pmcdata  
            load = 0xf2000000  
            file = pmc_data.cdo  
        }  
    }  
  
    image {  
        name = lpd  
        id = 0x4210002  
        partition {  
            id = 0x0C  
            type = cdo  
            file = lpd_data.cdo  
        }  
        partition {  
            id = 0x0B  
            core = psm  
            file = psm_fw.elf  
        }  
    }  
} 

Secure BIF (A-HWRoT + S-HWRoT BIF)

bif: {  
    id_code = 0x14ca8093  
    extended_id_code = 0x01  
    id = 0x2  
  
    bbram_kek_iv = black_iv.txt  
    puf_file = helper_data.txt  
  
    metaheader {  
        revoke_id = 0x1  
        pskfile = psk0_ecdsap384.pem  
        sskfile = ssk1_ecdsap384.pem  
        authentication = ecdsa-p384  
        encryption = aes  
        blocks = 1728(*)  
        keysrc = bbram_blk_key  
        aeskeyfile = vck190_metaheader.nky  
    }  
  
    image {  
        name = pmc_subsys  
        id = 0x1c000001  
        partition {  
            id = 0x01  
            type = bootloader  
            revoke_id = 0x3  
            pskfile = psk0_ecdsap384.pem  
            sskfile = ssk0_ecdsap384.pem  
            authentication = ecdsa-p384  
            encryption = aes  
            blocks = 1728(*)  
            keysrc = bbram_blk_key  
            aeskeyfile = plm.nky  
            file = plm.elf  
        }  
        partition {  
            id = 0x09  
            type = pmcdata  
            load = 0xf2000000  
            revoke_id = 0x0  
            pskfile = psk0_ecdsap384.pem  
            sskfile = ssk0_ecdsap384.pem  
            authentication = ecdsa-p384  
            encryption = aes  
            blocks = 1728(*)  
            keysrc = bbram_blk_key  
            aeskeyfile = pmc_data.cdo.nky  
            file = pmc_data.cdo  
        }  
    }  
  
    image {  
        name = lpd  
        id = 0x4210002  
        partition {  
            id = 0x0C  
            type = cdo  
            revoke_id = 0x1  
            pskfile = psk0_ecdsap384.pem  
            sskfile = ssk1_ecdsap384.pem  
            authentication = ecdsa-p384  
            encryption = aes  
            blocks = 1728(*)  
            keysrc = bbram_blk_key  
            aeskeyfile = lpd_data.cdo.nky  
            file = lpd_data.cdo  
        }  
        partition {  
            id = 0x0B  
            core = psm  
            revoke_id = 0x1  
            pskfile = psk0_ecdsap384.pem  
            sskfile = ssk1_ecdsap384.pem  
            authentication = ecdsa-p384  
            encryption = aes  
            blocks = 1728(*)  
            keysrc = bbram_blk_key  
            aeskeyfile = psm_fw.nky  
            file = psm_fw.elf  
        }  
    }  
}