kernel cross-compile

Igor Muratov migor at lrn.ru
Sat Jun 22 02:49:26 EST 2002


Thans You for Your help.

Peter Bergner пишет:

>Igor Muratov wrote:
>: Sorry, Peter, But this is not enought.
>: After "make mrproper && make oldconfig && make dep && make zImage" I have:
>
>Ahh, you didn't tell me you wer building zImage!  For building zImage
>for PPC64 on a non PPC32/PPC64 machine, you need not only a set of
>cross tools for powerpc64-linux, but one for powerpc-linux as well,
>since the PPC64 zImage is actually a powerpc-linux (ie, ELF32) binary.
>
Yes, I build it on i686 :-(
Ok If I build cross tools for powerpc-linux, How can I use it?
I must place this tools together?

Another way. I can "make vmlinux" but this image is wrong IMHO.
I try to load it via tftp and have this message on my console

RS/6000 Firmware
Version SPH01184
(c) Copyright IBM Corp. 2000  All rights reserved.
-------------------------------------------------------------------------------


BOOTP S = 1
FILE: vmlinux
BOOTP: read-first-block failed: 0

FILE: vmlinux
BOOTP: read-first-block failed: 1

FILE: vmlinux
BOOTP: read-first-block failed: 2

FILE: vmlinux
BOOTP: read-first-block failed: 3

FILE: vmlinux
BOOTP: read-first-block failed: 4
BOOTP ERROR: TFTP of first block failed, ABORT
        !20A80005 !


TFTP works fine. I test it a few times.

Sorry, I know, my questions is too stuped... But I really need it.

>
>If you're building on a PPC32 or PPC64, amek sure the "gcc" you're
>using to compile the arch/ppc64/boot/* files is the powerpc-linux one.
>
>Yeah Hollis, I know you told me to add this to the toolchain.shtml
>directions.  I'll get to it soon! :)
>
Yes, I tell too ;-))

>
>Peter
>
>
>

--
With best regards                    System administrator
Igor Muratov                         mailto:migor at lrn.ru


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





More information about the Linuxppc64-dev mailing list