The RNG Hardware error usually means that the entropy source hasfailed to generate entropy, and therefore the RNG cannot instantiate. For early engineering samples with CAAM it may be necessary to blowthe RNG trim fuses. This increases the amount of time that CAAM ENGis given to generate entropy. Please check it.

From “i.MX_6_Linux_High_Assurance_Boot_(HAB)_User's_Guide.pdf” :

Turn on RNG_TRIM

$ echo 0x00040000 > HW_OCOTP_MEM0

Next, the error may be caused if the TRNG has been configured with a toosmall value for ENT_DLY in RNG TRNG Seed Control Register (RTSDCTL). Pleasetry to load a value of 1600 for the ENT_DLY.

Please look at recommendations of section 3.3.2. (RNG Trim fuses)

of app note AN4581 (Secure Boot on i.MX50, i.MX53, and i.MX 6 Series using HABv4).

The RNG Hardware error usually means that the entropy source hasfailed to generate entropy, and therefore the RNG cannot instantiate. For early engineering samples with CAAM it may be necessary to blowthe RNG trim fuses. This increases the amount of time that CAAM ENGis given to generate entropy. Please check it.

From “i.MX_6_Linux_High_Assurance_Boot_(HAB)_User's_Guide.pdf” :

Turn on RNG_TRIM

$ echo 0x00040000 > HW_OCOTP_MEM0

Next, the error may be caused if the TRNG has been configured with a toosmall value for ENT_DLY in RNG TRNG Seed Control Register (RTSDCTL). Pleasetry to load a value of 1600 for the ENT_DLY.

Please look at recommendations of section 3.3.2. (RNG Trim fuses)

of app note AN4581 (Secure Boot on i.MX50, i.MX53, and i.MX 6 Series using HABv4).