Forum Discussion
Altera_Forum
Honored Contributor
13 years agoNow i am done with uncompressing. But before booting the kernel after uncompressing system hangs while flushing the data cache. Below is the assembly code being used to flush dcache.
movia r1, NIOS2_DCACHE_SIZE movui r2, NIOS2_DCACHE_LINE_SIZE 1: flushd 0(r1) sub r1, r1, r2 call debug_print bgt r1, r0, 1b NIOS2_DCACHE_SIZE = 2k NIOS2_DCACHE_LINE_SIZE = 32 I am not able to figure out . Please help. Thanks Tejeshwar