This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM64X: SBL app aligned with saftymanual

Part Number: PROCESSOR-SDK-AM64X
Other Parts Discussed in Thread: TMDS64EVM

Tool/software:

Hi:

our device is TMDS64EVM


I have a question , in Safety Manual  6.3.183, it mentioned Software ROM checksum.
ROM contents include a known checksum and a checksum of the ROM can be completed to verify that the content of the ROM has not been corrupted.

To be safe, ROM  should have crc computation. 

Here is my question.

When RBL boot image,  does it compute the "sbl" checksum?  Does this step



When, I use below python sript to build

$(BOOTIMAGE_CERT_GEN_CMD) --swrv 1 --sbl-bin $(BOOTIMAGE_PATH)/$(BOOTIMAGE_BIN_NAME) --sysfw-bin $(SYSFW_PATH)/sysfw-hs-fs-enc.bin --sysfw-inner-cert $(SYSFW_PATH)/sysfw-hs-fs-enc-cert.bin --boardcfg-blob $(BOARDCFG_BLOB) --sbl-loadaddr $(SBL_RUN_ADDRESS) --sysfw-loadaddr $(SYSFW_LOAD_ADDR) --bcfg-loadaddr $(BOARDCFG_LOAD_ADDR) --key $(BOOTIMAGE_CERT_KEY) --rom-image $(BOOTIMAGE_PATH)/primary_boot_flash.hs_fs.tiimage

1. does it has any crc feature  when check Image integrity?

2.  if not, what is include in the image interity check?

Thanks
  • Hi Jun,

    There is SHA512 hash check instead of the CRC. The ROM computes the SHA512 hashes of the binaries & compares them with the known SHA512 hashes contained in the X.509 certificate. The certificate is first authenticated to make sure the information in it is not corrupted or manipulated.

    Regards,

    Prashant