AnsweredAssumed Answered

ls1021atwr SMMU configuration

Question asked by Vincent Siles on May 13, 2016
Latest reply on May 18, 2016 by Vincent Siles

I'm trying to configure the SMMU1 of my LS1021ATWR board so that the SD controller is tagged as secure but the rest is left as normal.

TZASC is activated, with NS RAM / S RAM configured to protect my secure OS from Linux. From my understanding, the SSD_Index from the SMMU v1 documentation is called ICID in the reference manual of this board.

1) Is this true ? Am I mistaken here ?

 

In u-boot, I setup the ICID using the dev_stream_id array, so SD controller ICID is 0xa.

However, I have to set SMMU_SSDR0 to 0xfffffffe in order to u-boot to be able to write my secure kernel in Secure memory. Why is the relevant bit of SSDR0 1, instead of 0xa ? Can I configure each peripheral behind SMMU1 separately or do they all have the same configuration ?

 

Best,

V.

Outcomes