View Single Post
Old 09-26-2012, 05:24 PM   #243
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by ixtab View Post
Next problem is: when I try to access it from u-boot, the data isn't there anymore.
Check the TLB entries.
We know that the device comes out of the i.ROM code with a single, 32bit, identity mapped entry.

It is very likely that the TLB entries have been changed (perhaps even by the CSF commands you have run) so that the mapping no longer an identity mapping (or might even not be limited to the lower 32bits of the address space).

For instance, we know the main DRAM and main flash is relocated to 0x04.... and 0x08.... portions of the 36bit address space.

Plus, you may be switching address spaces along the way (out of the supervisory address space).

So read the TLB registers before and after "losing" your data.
And check what address mode your running in before and after.
(Sorry, can't give ARM specifics, now if this was MIPS ...)
knc1 is offline   Reply With Quote