This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cache init for MIPS 4kc


Hi, ecos-discuss,

	I have success port Redboot to a custom MIPS 4kc,
but till now, cache still no function. When I turn on cache
in hal_c_cache_init, sys halt at jmp from kseg1 to kseg0.
  // enable cached KSEG0
  asm volatile("mfc0 %0,$16;" : "=r"(val));
  val &= ~3;
  asm volatile("mtc0 %0,$16;" : : "r"(val));

I change val &= ~3 to val |= 3 no work either. Anyone some advice?

Another question is how to use Redboot to run test program?
I use network but can't connect to target, how to set tcp/ip port of target?
Is it 9000?

Regards,
        shuishuila
        shuishuila@hotmail.com
          2004-03-19


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]