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

5 messages, 4 authors, 2007-09-06 · 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:55:07

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

Flash on ep8248e standard motherboards

From: Bennett, Alan <hidden>
Date: 2007-09-04 17:24:14

Hello;
We have a custom board based on the ep8248e design from Embedded Planet
and I'm trying to use something other than codewarrior to flash u-boot
srec's=20

I'm not sure where the problem is, but I'm unable to flash the
u-boot.srec onto the Embedded Planet board (using the BDI2000), let
alone our custom board.
   1. Embedded Planet ep8248E
        64 MB SDRAM
        64 MB Flash (x2 Am29LV256M)
   2. Custom
       128 MB SDRAM
       128 MB Flash (X2 Spansion S29GL512N)

NOTE: CW successfully flashes both parts, but then again, it's CW.


BDI 2000 Config File:
  ;  initialize - FLASH BR0 & OR0 (64 Mbyte)
  ;*******************************************
  WM32	0xf0010100 	0xfc001801
  WM32 	0xf0010104 	0xfc0008c2
  [FLASH]
  CHIPTYPE    MIRRORX16
  CHIPSIZE    0x2000000
  BUSWIDTH    16

I then attempt to unlock/erase/program
Check for Sanity (NOTE: using BDI 2000 PROMPT)
  md 0xf0010100 2
  f0010100 : 0xf8001801  - 134211583  ....
  f0010104 : 0xf80008b2  - 134215502  ....
  md 0xfff00000 2
  fff00000 : 0x10101010    269488144  ....
  fff00004 : 0x10101010    269488144  ....
All looks good.  (10101010 is the existing planet core header)

TRY TO UNLOCK
  unlock 0xfff00000 1000
  Unlocking flash at 0xfff00000
  # Invalid parameter for flash programming

TRY TO ERASE
  erase 0xfff00000 UNLOCK 1000
  Erasing flash at 0xfff00000
  # Erasing flash memory failed
BUT
  erase 0xffff0000 UNLOCK 1000
  Erasing flash at 0xffff0000
  Erasing flash passed
HOWEVER
  mm 0xffff0000 0xdeadbeef
  md 0xffff0000 1
  ffff0000 : 0xffffffff
SO it doesn't seem to allow write access afterall...

Is there anyone that has a BDI 2000 config file for flashing the ep8248e
motherboard the 8MB Flash Version (64 MB flash version)=20

Thanks
-Alan

*****************************************************************
*************
CONFIDENTIAL NOTE: This e-mail and any attachments may be 
confidential and protected by legal privilege. If you are not 
the intended recipient, be aware that you are hereby notified 
that any unauthorized review, use, disclosure, dissemination, 
distribution, or copying of this communication, or any of its 
contents, is strictly prohibited. If you have received this 
email in error, please notify us immediately by replying to the 
sender and deleting this copy and the reply from your system. 
Thank you for your cooperation. 

EXPORT CONTROLLED DOCUMENT 
This document may contain information whose export is restricted 
by the Arms Export Control Act (Title 22, U.S.C., Sec 2751 Et 
Seq.) or the Export Administration Act of 1979, as amended, 
(Title 50, U.S.C., App. 2401, Et. Seq.) Violations to these 
export laws are subject to severe criminal penalties.  

All technical data forwarded by VT Miltope to its suppliers is 
EXPORT CONTROLLED. Supplier shall not disclose technical data in 
any form to a Foreign Person (including foreign person employees 
of Supplier), or export the technical data from the United 
States without U.S. Government authority and the written 
authorization of VT Miltope Contracts Department. 
*****************************************************************
*************

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

From: Wolfgang Reissnegger <hidden>
Date: 2007-09-04 21:34:16

Hi Thomas,

Xilinx is building the tools in the EDK to work with VxWorks and for Standalone systems. In order to compile a Linux kernel you need to get a toolchain from one of the Third Party vendors, such as MontaVista. They have the correct linker scripts for building a kernel.

Cheers,
   Wolfgang

Thomas Gerlach 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-

what i get is the following output:
quoted
  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



_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

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

From: Thomas Gerlach <hidden>
Date: 2007-09-05 09:20:04

Wolfgang Reissnegger wrote:
Hi Thomas,

Xilinx is building the tools in the EDK to work with VxWorks and for Standalone systems. In order to compile a Linux kernel you need to get a toolchain from one of the Third Party vendors, such as MontaVista. They have the correct linker scripts for building a kernel.

Cheers,
   Wolfgang

Thomas Gerlach 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-

what i get is the following output:

    
quoted
  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
    
hi,
thank you much for this hint, i'll try it. this was the last thing i 
thought of... ;)

kepp on cross-compiling, :)

regards
thomas

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

From: Stephen Neuendorffer <hidden>
Date: 2007-09-06 18:40:58

=20
You can also build a ppc405 toolchain using Crosstool, and it works
fine..
http://kegel.com/crosstool

Steve
-----Original Message-----
From:=20
linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org
=20
[mailto:linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@oz
labs.org] On Behalf Of Wolfgang Reissnegger
Sent: Tuesday, September 04, 2007 2:33 PM
To: Thomas Gerlach
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Newbie on embedded linux on PPC: error: cannot=20
find boot.o
=20
Hi Thomas,
=20
Xilinx is building the tools in the EDK to work with VxWorks=20
and for Standalone systems. In order to compile a Linux=20
kernel you need to get a toolchain from one of the Third=20
Party vendors, such as MontaVista. They have the correct=20
linker scripts for building a kernel.
=20
Cheers,
   Wolfgang
=20
Thomas Gerlach wrote:
quoted
hi folks,
=20
=20
my name is thomas trying to make embedded linux run on a=20
powerpc, but
quoted
we've got special boards here, although we use a xilinx virtex4
fpga...
=20
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
=20
$ make ARCH=3Dppc CROSS_COMPILE=3Dpowerpc-eabi-
=20
what i get is the following output:
=20
quoted
  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
=20
so, i searched for boot.o (it exists) and even copied it=20
into several
quoted
dirs of the linux kernel tree (where i thought i would make sense),
but the problem still remains.
=20
googling results in
=20
=20
http://www.xilinx.com/xlnx/xil_ans_display.jsp?iLanguageID=3D1&g
etPagePath=3D17462&BV_SessionID=3D@@@@1197140711.1188909240>
@@@@&BV_EngineID=3Dcccgaddllgmfkflcefeceihdffhdfkf.0
quoted
=20
=20
and this, too, doesn't take me further in solving the problem.
=20
i hope you can help me.
=20
many thanks in advance,
=20
kind regards
thomas gerlach
=20
=20
=20
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
=20
=20
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
=20
=20
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help