linux-mips
[Top] [All Lists]

Re: Porting new board

To: Mile Davidovic <mile.davidovic@micronasnit.com>
Subject: Re: Porting new board
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Thu, 7 Apr 2005 16:04:38 +0200 (CEST)
Cc: Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <200504071334.j37DYp1p021714@krt.neobee.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200504071334.j37DYp1p021714@krt.neobee.net>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 7 Apr 2005, Mile Davidovic wrote:
> I try to port new board (MIPS 4KEC processor) to latest version
> of linux-mips kernel. I have question regarding Kconfig and adding
> new board.
> In arch/mips/Kconfig I add next lines:
> 
> config MIPS_VGCA_EVA
>   bool "Support for VGCA-Eva board"
>   select SYS_SUPPORTS_BIG_ENDIAN
>   help
>         This enables support for the VGCA-EVA board.
> 
> and in arch/mips/Makefile I add next lines:
> core-$(MIPS_VGCA_EVA) += arch/mips/vgca-eva/
         ^^^^^^^^^^^^^
> cflags-$(MIPS_VGCA_EVA)   += -Iinclude/asm-mips/vgca-eva
           ^^^^^^^^^^^^^
> load-$(MIPS_VGCA_EVA) += 0xffffffff80100000
         ^^^^^^^^^^^^^

All of these should be `CONFIG_MIPS_VGCA_EVA' instead of `MIPS_VGCA_EVA'.

> But when I try to build kernel with:
>       make menuconfig                 ---> choose VGCA-Eva board
>       make arch=mips V=1 CROSS_COMPILE=mips-linux- 
> 
> it stop forever. When I try to choose some other board it work nice. 
> Any comment?

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

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