* IBM walnut, gcc, NIC and recent kernel?
@ 2002-04-09 21:39 Stephen Cameron
2002-04-09 22:19 ` Amit D. Chaudhary
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Cameron @ 2002-04-09 21:39 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
Lately I find myself playing around with this IBM walnut
board and hardhat linux 1.2 with a 2.4.0 based kernel,
cross compiling with Montavista's gcc on an intel box.
I'd like to use a more recent kernel, but I have
some questions.
I downloaded 2.4.18 along with the powerpc patch from
kernel.org.
Then, changed the Makefile to set CROSS_COMPILE = to
montavista's compiler, and ARCH = ppc.
Then it seems the walnut's network driver turns up missing,
so I tried copying over the *405*.[ch] files from the drivers/net
directory of the 2.4.0 montavista kernel. (realizing that's
probably not going to work straightaway) and hacked the
Config.in to try to make it attempt a compile.
Well, the assembler complained about some "unsupported
relocation type" in ppc4xx_pic.o, so I suspect I need a
newer gcc, assembler, etc. (had nothing to do with network
driver, I think)
So, it occurs to me that other folks must be using this walnut,
and perhaps solved these problems already.
So if someone has recommendations about a specific recent kernel
that works well with the walnut, and has network support for it,
that'd be nice.
Also any hints on getting gcc & friends to work for intel->ppc
cross compiler with a recent kernel would be appreciated.
Also, if I'd be better off sticking with hardhat linux (or
something else) for an embedded application than trying to
use the kernel.org kernels for some reasons, please feel
free to educate me about that.
Thanks,
-- steve
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: IBM walnut, gcc, NIC and recent kernel?
2002-04-09 21:39 IBM walnut, gcc, NIC and recent kernel? Stephen Cameron
@ 2002-04-09 22:19 ` Amit D. Chaudhary
2002-04-10 4:02 ` Chirag Kantharia
0 siblings, 1 reply; 3+ messages in thread
From: Amit D. Chaudhary @ 2002-04-09 22:19 UTC (permalink / raw)
To: steve.cameron; +Cc: linuxppc-embedded
Hi,
Jim Duey sent a HOWTO to the list in Jan 2002 titled "Walnut(405GP)
Kernel Compiling HowTo". you might want to search the mailing list archives.
http://lists.linuxppc.org/index.html#search
Actually even I would be interested in knowing if you could get the
walnut board working with the kernel from ppc.bkserver.net.
It does help to have the latest kernel as it is easy to get support from
fellow developers, tends to be more tested and integration with other
software components is possible.
Regards
Amit
Stephen Cameron wrote:
> Hi,
>
> Lately I find myself playing around with this IBM walnut
> board and hardhat linux 1.2 with a 2.4.0 based kernel,
> cross compiling with Montavista's gcc on an intel box.
>
> I'd like to use a more recent kernel, but I have
> some questions.
>
> I downloaded 2.4.18 along with the powerpc patch from
> kernel.org.
>
> Then, changed the Makefile to set CROSS_COMPILE = to
> montavista's compiler, and ARCH = ppc.
>
> Then it seems the walnut's network driver turns up missing,
> so I tried copying over the *405*.[ch] files from the drivers/net
> directory of the 2.4.0 montavista kernel. (realizing that's
> probably not going to work straightaway) and hacked the
> Config.in to try to make it attempt a compile.
>
> Well, the assembler complained about some "unsupported
> relocation type" in ppc4xx_pic.o, so I suspect I need a
> newer gcc, assembler, etc. (had nothing to do with network
> driver, I think)
>
> So, it occurs to me that other folks must be using this walnut,
> and perhaps solved these problems already.
>
> So if someone has recommendations about a specific recent kernel
> that works well with the walnut, and has network support for it,
> that'd be nice.
>
> Also any hints on getting gcc & friends to work for intel->ppc
> cross compiler with a recent kernel would be appreciated.
>
> Also, if I'd be better off sticking with hardhat linux (or
> something else) for an embedded application than trying to
> use the kernel.org kernels for some reasons, please feel
> free to educate me about that.
>
> Thanks,
>
> -- steve
>
>
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: IBM walnut, gcc, NIC and recent kernel?
2002-04-09 22:19 ` Amit D. Chaudhary
@ 2002-04-10 4:02 ` Chirag Kantharia
0 siblings, 0 replies; 3+ messages in thread
From: Chirag Kantharia @ 2002-04-10 4:02 UTC (permalink / raw)
To: Amit D. Chaudhary, steve.cameron; +Cc: linuxppc-embedded
--- "Amit D. Chaudhary" <amitc@brocade.com> wrote:
> Stephen Cameron wrote:
> > Well, the assembler complained about some "unsupported
> > relocation type" in ppc4xx_pic.o, so I suspect I need a
> > newer gcc, assembler, etc. (had nothing to do with network
> > driver, I think)
I'd come across similar errors and it turned out that the #defines
used in the instruction weren't defined for the processor. For eg,
I'd a mtspr SPRN_SXXXX, r0 and SPRN_SXXXX wasn't defined for the
processor I was using. A grep -r on the symbol used in the instruction
in include/asm-ppc would help.
chyrag.
=====
Chirag Kantharia <chyrag@yahoo.com>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-10 4:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-09 21:39 IBM walnut, gcc, NIC and recent kernel? Stephen Cameron
2002-04-09 22:19 ` Amit D. Chaudhary
2002-04-10 4:02 ` Chirag Kantharia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).