[U-Boot] [PATCH] imx: fix CAAM base for i.MX6UL

Breno Matheus Lima brenomatheus at gmail.com
Fri Jan 12 18:12:12 UTC 2018


Hi Anatolij,

2018-01-11 12:54 GMT-02:00 Fabio Estevam <festevam at gmail.com>:
> Hi Anatolij,
>
> Thanks for the fix.
>
> On Thu, Jan 11, 2018 at 12:14 PM, Anatolij Gustschin <agust at denx.de> wrote:
>> HW accelerated "hash sha256 ..." command doesn't work on i.MX6UL, we get
>> "CAAM was not setup properly or it is faulty" error message.
>>
>> This is due to wrong CAAM base 0x02100000, on i.MX6UL the CAAM base
>> address is 0x02140000. Fix it.
>>
>> Note: with this patch applied the "hash sha256" commant still has some
>> issues on i.MX6UL ("Invalid KEY Command" or other errors). With data
>> cache off the "hash sha256" command works as expected.
>
> Breno, could you please take a look at this issue when possible ?

I managed to reproduce this issue on a mx6sabreauto, with data cache
off the "hash sha256" command works as expected.

I will take a look on this issue and let you know any progress.

Thanks,
Breno Lima


More information about the U-Boot mailing list