Hello,
Thanks. I get the the Mx28 Secure Boot document.
in this document, it has a step to tell how to sign the uimage.
7. Sign uImage
we can create the IVT struct to set the *entry, *self and *csf pointer value for the uImage.
But for the power_prep and boot_prep ,there is a patch to add the ivt structure.
0001-enable-hab-in-imx-bootlets.patch is hab patch for
imx-bootlets. It add the ivt structure to power_prep and boot_prep, reserve
0x2000 bytes for csf data.
I am working on HAB for wince eboot.
For wince eboot,there is no patch to do so.
May I create the ivt struct of xldr & eboot by manually set the *entry, *self and *csf pointer value as the uImage example?
Is there any special limitation of the IVT ? For example , the IVT 's *self must be 0x8000 ? In the *.bd file, we can see they always load the ivt into 0x8000. Such as:
load ivt (entry = power_prep:_start) > 0x8000;