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
}
}
}