IBM walnut, gcc, NIC and recent kernel?
Amit D. Chaudhary
amitc at brocade.com
Wed Apr 10 08:19:39 EST 2002
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.
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.
Stephen Cameron wrote:
> 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
> 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.
> -- steve
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded