On Mon, 16 May 2005, Mile Davidovic wrote:
> I have embedded processor with MIPS 4KECr2 processor and tried to port
> I follow tutorial from linux-mips and add custom code for int handler, time
> But I have some problem with detecting of cpu. In cpu-probe.c I added:
> cpu_probe_mips with:
> case PRID_IMP_4KEC:
> case PRID_IMP_4KECR2: /* this line is added */
> c->cputype = CPU_4KEC;
> c->isa_level = MIPS_CPU_ISA_M32;
> Is it ok ? Did I forgot something?
Well, the processor is already supported in the current version of Linux.
Had you chosen it for your port, you wouldn't have had to change anything.
> I have problem with mem_init, here is output log, can You please tell me
> what is problem with this?
> Linux version 2.6.11-mipscvs-20050313-md (email@example.com)
> (gcc version 3.4.2) #207 Mon May 16 10:37:55 CEST 2005
> CPU revision is: 00019064
> Bad page state at __free_pages_ok (in process 'swapper', page 810037c0)
> flags:0x00000000 mapping:00000004 mapcount:0 count:0
Please retry with the current version and if still failing, then send