I want to do blown fuse by fuse provisioning firmware image for secure boot according to the LSD20.04 user guide 6.4.4 and 6.4.5. After my LX2160 power up, the console log stops at BL2 stage.
After traced source code and find out it stops at plat_get_image_source() in /atf/plat/nxp/common/ls_io_storage.c
if (image_id < ARRAY_SIZE(policies)) {
policy = &policies[image_id];
result = policy->check(policy->image_spec);
if (result == 0) {
*image_spec = policy->image_spec;
*dev_handle = *(policy->dev_handle);
}
} else {
result = plat_get_alt_image_source(image_id, dev_handle,
image_spec);
}
the image_id > ARRAY_SIZE(policies) and stops at plat_get_alt_image_source()
Is the function flow correct ? or LSDK20.04 does not support fuse provision by firmware ?