Hello everyone,
I tried to initialize GIC-400 on LS1043a. However, GIC-400 is not seeming as activated. My diagnose method is reading read-only distributor registers of GIC-400 such as GICD_IIDR. This register seems like giving some fixed value such as 0x0200143B. However, since i read this register in code it returns nothing but "0"(zero) value. The reason why i think that GIC is not powered on. Do you have any idea about the problem and it is solution?
Thank you for your interesting.
Solved! Go to Solution.
I solved the problem, It is all about alignment problem of the GIC by selecting SCFG registers.
I solved the problem, It is all about alignment problem of the GIC by selecting SCFG registers.
It is most likely because you are trying a non-Secure access to a secure-only register.
Refer to ARM GIC Architecture Specification, Section 1.2