Newbie on embedded linux on PPC: error: cannot find boot.o
hi folks,
my name is thomas trying to make embedded linux run on a powerpc, but we've got special boards here, although we use a xilinx virtex4 fpga...
as you said in the nabble-thread (see subject), i set up edk9.1 software platform settings und ran libgen to get the xparameters* files. i copied those bsp files into the kernel tree (i use your kernel linux-2.6-virtex from git.secretlabs.ca/git). after configuring the kernel settigs, i try
$ make ARCH=ppc CROSS_COMPILE=powerpc-eabi-
what i get is the following output:
Quoted 8 lines
CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h LD init/mounts.opowerpc-eabi-ld: cannot find boot.o
make[1]: *** [init/mounts.o] Error 1
make: *** [init] Error 2
so, i searched for boot.o (it exists) and even copied it into several dirs of the linux kernel tree (where i thought i would make sense), but the problem still remains.
googling results in
and this, too, doesn't take me further in solving the problem.
i hope you can help me.
many thanks in advance,
kind regards
thomas gerlach
Quoted 8 lines · Thomas Gerlach
hi folks,
my name is thomas trying to make embedded linux run on a powerpc, but we've got special boards here, although we use a xilinx virtex4 fpga...
as you said in the nabble-thread (see subject), i set up edk9.1 software platform settings und ran libgen to get the xparameters* files. i copied those bsp files into the kernel tree (i use your kernel linux-2.6-virtex from git.secretlabs.ca/git). after configuring the kernel settigs, i try
$ make ARCH=ppc CROSS_COMPILE=powerpc-eabi-
You should be using a Linux cross compiler, not powerpc-eabi-. The Xilinx cross compiler will not work to compile Linux kernels.
You can build yourself a cross compiler using 'crosstool':
http://www.kegel.org/crosstool.
Alternately, you can download ELDK:
http://www.denx.de/wiki/view/DULG/ELDKAvailability
Cheers,
g.
Signature · 4 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [email protected] (403) 399-0195
Quoted 15 lines · Grant Likely
Quoted 9 lines · Thomas Gerlach
hi folks,
my name is thomas trying to make embedded linux run on a powerpc, but we've got special boards here, although we use a xilinx virtex4 fpga...
as you said in the nabble-thread (see subject), i set up edk9.1 software platform settings und ran libgen to get the xparameters* files. i copied those bsp files into the kernel tree (i use your kernel linux-2.6-virtex from git.secretlabs.ca/git). after configuring the kernel settigs, i try
$ make ARCH=ppc CROSS_COMPILE=powerpc-eabi-You should be using a Linux cross compiler, not powerpc-eabi-. The Xilinx cross compiler will not work to compile Linux kernels.
Quoted 10 lines
You can build yourself a cross compiler using 'crosstool':
http://www.kegel.org/crosstool.Alternately, you can download ELDK:
http://www.denx.de/wiki/view/DULG/ELDKAvailabilityCheers,
g.
hi,
thank you much for this hint. this was the last thing i thought of... ;)
so long, keep on cross-compiling! :)
regards,
thomas