Skip to contentSkip to conversation

Newbie on embedded linux on PPC: error: cannot find boot.o

DISCUSSION Thomas Gerlach 2 participants 3 messages Sep 4, 2007 – Sep 5, 2007

lore
Share & tools
lore
#0 lore raw

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.o

powerpc-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

http://www.xilinx.com/xlnx/xil_ans_display.jsp?iLanguageID=1&getPagePath=17462&BV_SessionID=@@@@1197140711.1188909240@@@@&BV_EngineID=cccgaddllgmfkflcefeceihdffhdfkf.0

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

#1 lore raw
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
#2 lore raw
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/ELDKAvailability

Cheers,
g.

hi,
thank you much for this hint. this was the last thing i thought of... ;)

so long, keep on cross-compiling! :)

regards,
thomas