kernel cross-compile

Ken Tossell ken at tossell.net
Sat Jun 22 06:06:15 EST 2002


Quoting Igor Muratov <migor at lrn.ru>:

>
>
> Ken Tossell wrote:
>
> >
> >I also had trouble starting with "de4x5", which is an ethernet driver, but
> I'm
> >not sure where anymore. I used the config base from 'arch/ppc64/defconfig'
> and
> >copied that file to my .config in the root of the linux source tree.
> >
> >Some trouble that you might run into:
> >
> >1) Sometimes, there are errors making the zImage. In this case, if you get
> an
> >error with vmlinux, the best way to fix it is usually to go into
> arch/ppc64/boot
> >and run 'make clean'.
> >
> >2) *If you are using the IBM integrated ethernet card, you WILL have this
> >problem*: This ethernet card uses the 'pcnet32' driver and it is broken in
> >2.4.19-pre8. There is a problem in the source, for which I can send you a
> patch
> >if you'd like.
> >
> >Good luck,
> >Ken Tossell
> >
> Thanks Ken
> Unfortunately, I have integrated ethernet card pcnet32. :(
> I'm glad to get this magic patch.
>
> --
> Igor Muratov
>
>

The patch file is below. Save the text between the markers to a file called
patch in the linux source tree root.

Then run 'patch drivers/net/pcnet32.c patch' and the source should be good.


**Start Patch (Remove This Line)**
660c660
<     for (i = 0; i < 6; i++) {
---
>     for (i = 0; i < 6; i++)
675c675
<     }
---
>
**End Patch (Remove this, too)**

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/




More information about the Linuxppc64-dev mailing list