05-15-2018 02:24 PM
I am having trouble while running bootgen. Here is the example of my bif file:
//arch = zynqmp; split = false; format = BIN
the_ROM_image:
{
`[ppkfile]C:\ppk.pem
[pskfile]C:\psk.pem
[spkfile]C:\spk.pem
[sskfile]C:\ssk.pem
[auth_params]spk_id = 0; ppk_select = 0
[aeskeyfile]C:encr.nky
[keysrc_encryption]bbram_red_key
[fsbl_config]bh_auth_enable //keeps from burning the efuse
[encryption = aes, authentication=rsa, destination_cpu = a53-0, blocks=8(8)]C:\app.elf
}
I am getting a bootgen error : RSA Authentication key parsing failed
I used openssl to generate both of my rsa key pairs
05-25-2018 01:27 PM - edited 05-25-2018 01:27 PM
I think you just need to specify 1 pair of keys and not both.
I usually do:
[pskfile]PATH/psk0.pem
[sskfile]PATH/ssk0.pem