2010/1/13 Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net:
On 13.01.2010 15:45, Piotr Piwko wrote:
I had removed the the 'wbinvd' cache invalidation function, and then a boot process moved on. Now it hangs on 'FATAL: NO VSA found!' error'.
Hm. I know the that piece of v3 code rather well and if wbinvd fails (or your code does unexpected things like hanging after wbinvd) it is a pretty sure sign that RAM is not working correctly.
I am almost certain that the RAM memory is not initialized correctly. I wrote a simple RAM test function which writes some pattern data into 0x0 - 0x400 address range and then reads it. The difference occurs already at the first cell. There is 0x00, but should be 0xFF.
Conclusion is that RAM initialization for adl/msm800sev target is not valid.