linux-mips
[Top] [All Lists]

Re: Mips 4lkecr2

To: Mile Davidovic <mile.davidovic@micronasnit.com>
Subject: Re: Mips 4lkecr2
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 16 May 2005 18:49:40 +0100
Cc: "'Linux/MIPS Development'" <linux-mips@linux-mips.org>
In-reply-to: <200505161001.j4GA1V1p028192@krt.neobee.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200505161001.j4GA1V1p028192@krt.neobee.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Mon, May 16, 2005 at 11:57:02AM +0200, Mile Davidovic wrote:

> I have embedded processor with MIPS 4KECr2 processor and tried to port
> linux-2.6.11-mipscvs-20050313.
> 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?

To get Linux to work on a 4KEc R2 Malta I only had to to do this change
so you have an additional problem.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>