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

3 messages, 2 authors, 2007-09-05 · open the first message on its own page

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

From: Thomas Gerlach <hidden>
Date: 2007-09-04 14:31:02

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

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

From: Grant Likely <hidden>
Date: 2007-09-04 14:48:02

On 9/4/07, Thomas Gerlach [off-list ref] wrote:
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.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

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

From: Thomas Gerlach <hidden>
Date: 2007-09-05 09:18:08

Grant Likely wrote:
On 9/4/07, Thomas Gerlach [off-list ref] wrote:
  
quoted
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.

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

so long, keep on cross-compiling! :)

regards,
thomas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help