All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Jhun <wjhun@Oswego.EDU>
To: Louis Hamilton <hamilton@redhat.com>
Cc: <ralf@linux-mips.org>, <linux-mips@linux-mips.org>
Subject: Re: [patch] Mips64 Ocelot-C and Jaguar ATX platform support
Date: Mon, 28 Jul 2003 15:05:03 -0400 (EDT)	[thread overview]
Message-ID: <Pine.SOL.4.30.0307281503540.7737-100000@rocky.oswego.edu> (raw)
In-Reply-To: <3F1F0BDC.8040609@redhat.com>

Louis,

Using Ralf's pre-packaged mips64 gcc 2.95.4 / binutils 2.13.2.1 .rpm, I
wasn't able to get this to build without having CPU-specific gcc opts
(patch below, please verify what flags are appropriate). Also, shouldn't

define_bool CONFIG_BOOT_ELF32 y

be in the config-shared.in in the jaguar section? I cannot link
otherwise...

At this point (with latest linux_2_4 tree), I can boot the kernel but get
a hang after mounting NFS root via the gt64340 eth0. If I can find a
serial cable for the second port, I might try to step with kgdb...

Thanks,
Will

Index: arch/mips64/Makefile
===================================================================
RCS file: /home/cvs/linux/arch/mips64/Makefile,v
retrieving revision 1.22.2.34
diff -U3 -r1.22.2.34 Makefile
--- arch/mips64/Makefile        5 Jul 2003 13:17:04 -0000       1.22.2.34
+++ arch/mips64/Makefile        28 Jul 2003 18:37:47 -0000
@@ -79,6 +79,9 @@
 #CFLAGS                += -mips64      # Should be used then we get a
MIPS64 compiler
 CFLAGS         += -mcpu=r8000 -mips4
 endif
+ifdef CONFIG_CPU_RM9000
+GCCFLAGS       += -mcpu=r8000 -mips4
+endif

 #
 # We unconditionally build the math emulator

On Wed, 23 Jul 2003, Louis Hamilton wrote:

> Ralf,
>
> Here is 64-bit support for both the RM7000-based Ocelot-C and
> RM9000-based Jaguar ATX platforms.
> Since the port was 2.4.21 based, this patch submission is for the 2.4 tree.
> This patch supersedes the Ocelot-C patch I sent earlier, since it
> encompasses both platforms.
>
> Notes the board support lives under arch/mips/momentum.
> Also, CONFIG_BOARD_SCACHE and CONFIG_RM7000_CPU_SCACHE are utilized and
> integrated into each platform's default configuration files.
> As in the first patch, drivers/net/mv64340_eth.{c,h} is added to provide
> ethernet support.
>
> If it looks ok, please check changes into the tree.
>
> Regards,
> Louis
>
> Louis Hamilton
> Red Hat, Inc.
>
>

WARNING: multiple messages have this Message-ID (diff)
From: William Jhun <wjhun@Oswego.EDU>
To: Louis Hamilton <hamilton@redhat.com>
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: Re: [patch] Mips64 Ocelot-C and Jaguar ATX platform support
Date: Mon, 28 Jul 2003 15:05:03 -0400 (EDT)	[thread overview]
Message-ID: <Pine.SOL.4.30.0307281503540.7737-100000@rocky.oswego.edu> (raw)
Message-ID: <20030728190503.yO-Jrv8fMT0ijsReZbOuhMzLS8DxPgy9aEk-w8iULdo@z> (raw)
In-Reply-To: <3F1F0BDC.8040609@redhat.com>

Louis,

Using Ralf's pre-packaged mips64 gcc 2.95.4 / binutils 2.13.2.1 .rpm, I
wasn't able to get this to build without having CPU-specific gcc opts
(patch below, please verify what flags are appropriate). Also, shouldn't

define_bool CONFIG_BOOT_ELF32 y

be in the config-shared.in in the jaguar section? I cannot link
otherwise...

At this point (with latest linux_2_4 tree), I can boot the kernel but get
a hang after mounting NFS root via the gt64340 eth0. If I can find a
serial cable for the second port, I might try to step with kgdb...

Thanks,
Will

Index: arch/mips64/Makefile
===================================================================
RCS file: /home/cvs/linux/arch/mips64/Makefile,v
retrieving revision 1.22.2.34
diff -U3 -r1.22.2.34 Makefile
--- arch/mips64/Makefile        5 Jul 2003 13:17:04 -0000       1.22.2.34
+++ arch/mips64/Makefile        28 Jul 2003 18:37:47 -0000
@@ -79,6 +79,9 @@
 #CFLAGS                += -mips64      # Should be used then we get a
MIPS64 compiler
 CFLAGS         += -mcpu=r8000 -mips4
 endif
+ifdef CONFIG_CPU_RM9000
+GCCFLAGS       += -mcpu=r8000 -mips4
+endif

 #
 # We unconditionally build the math emulator

On Wed, 23 Jul 2003, Louis Hamilton wrote:

> Ralf,
>
> Here is 64-bit support for both the RM7000-based Ocelot-C and
> RM9000-based Jaguar ATX platforms.
> Since the port was 2.4.21 based, this patch submission is for the 2.4 tree.
> This patch supersedes the Ocelot-C patch I sent earlier, since it
> encompasses both platforms.
>
> Notes the board support lives under arch/mips/momentum.
> Also, CONFIG_BOARD_SCACHE and CONFIG_RM7000_CPU_SCACHE are utilized and
> integrated into each platform's default configuration files.
> As in the first patch, drivers/net/mv64340_eth.{c,h} is added to provide
> ethernet support.
>
> If it looks ok, please check changes into the tree.
>
> Regards,
> Louis
>
> Louis Hamilton
> Red Hat, Inc.
>
>

  reply	other threads:[~2003-07-28 19:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-23 22:27 [patch] Mips64 Ocelot-C and Jaguar ATX platform support Louis Hamilton
2003-07-28 19:05 ` William Jhun [this message]
2003-07-28 19:05   ` William Jhun
2003-07-28 20:20   ` Louis Hamilton
2003-07-30  1:30 ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SOL.4.30.0307281503540.7737-100000@rocky.oswego.edu \
    --to=wjhun@oswego.edu \
    --cc=hamilton@redhat.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.