The RBL performs an integrity
verification step to ensure that an application has valid data. The RBL makes the
following assumptions when performing the integrity check in the STC_WARM reset
flow:
- RBL reads the boot vector from TOP_PRCM:PC_REGISTER2[24:0] to
determine the boot vector to jump to
- RBL performs the integrity check
for the APPSS image only
- RBL computes the CRC of the APPSS
image based on image length (starting from boot vector) field in
TOP_PRCM:PC_REGISTER3[31:0] and compares it with the data integrity check field
TOP_PRCM:PC_REGISTER4[31:0]. It is expected that the application populates this
register
- The parity of
TOP_PRCM:PC_REGISTER3 and TOP_PRCM:PC_REGISTER4 is expected to be correctly
populated in TOP_PRCM:PC_REGISTER1[23:20] and TOP_PRCM:PC_REGISTER2[19:16] by
the application. For more information, see Section 5.2.