Return-Path: Received: from m13-110.163.com (m13-110.163.com [220.181.13.110]) by ozlabs.org (Postfix) with SMTP id 13404DDF0B for ; Wed, 28 May 2008 22:39:52 +1000 (EST) Date: Wed, 28 May 2008 20:24:40 +0800 (CST) From: vencent2006 To: linuxppc-dev@ozlabs.org Message-ID: <12692943.1528961211977480208.JavaMail.coremail@bj163app110.163.com> Subject: May I ask some questions? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_408787_14033842.1211977480207" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_408787_14033842.1211977480207 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit I am Michael from China.A few days ago, I was supposed to debug executable.elf with xmd while some problems happened.It said like that: xmd% dow executable.elf Failed to download ELF file ERROR(1053):UNABLE TO READ ELF FILE.THE ELF FILE MAYBE CORRUPTED :executable.elf I wanna ask u to point out what causes this problem. There is another question about "xparameters.h" and "xparameters_ml300.h". When I have generated BSP, there are two "xparameters.h" files in project which have the same name while different size(eg: one is 22k ,the other is 4k). Which one is the proper? And when I add "xparameters.h" and "xparameters_ml300.h" to the kernel, some compiling error occurs. eg: arch/ppc/syslib/virtex_devices.c:116: error: 'XPAR_UARTNS550_0_CLOCK_FREQ_HZ' undeclared here (not in a function) arch/ppc/syslib/virtex_devices.c:119: error: 'XPAR_UARTNS550_1_CLOCK_FREQ_HZ' undeclared here (not in a function) I don't understand where to define them and whether i need them or not. my eldk is:eldk/4.2/ppc-linux-x86 using Xilinx EDK/ISE 9.1 Linux 2.6.24 -- ------=_Part_408787_14033842.1211977480207 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: quoted-printable
 I am Michael from China.A few days ago, I was sup= posed to debug executable.elf with xmd while some problems happen= ed.It said like that:
 xmd% dow executable.elf
 Failed to download ELF file
 
ERROR(1053):UNABLE TO READ ELF FILE.THE ELF FILE
            MAY= BE CORRUPTED
     :executable.elf
 
I wanna ask u to point out what causes this problem.
 
There is another question about "xparameters.h" and
"xparameters_ml300.h". When I have generated BSP, there are two "xpara= meters.h" files in project which
 have the same name while different size(eg: one is 22k ,the othe= r is 4k). Which one is the proper?
And when I add "xparameters.h" and "xparameters_ml300.h" to the k= ernel, some compiling
error occurs.
  eg:
arch/ppc/syslib/virtex_devices.c:116: error: 'XPAR_UARTNS550_0_CLOCK_F= REQ_HZ' undeclared here (not in a function)
arch/ppc/syslib/virtex_devic= es.c:119: error: 'XPAR_UARTNS550_1_CLOCK_FREQ_HZ' undeclared here (not in a= function)
 I don't understand where to define them and whether i n= eed them or not.
  my eldk is:eldk/4.2/ppc-linux-x86
  using Xilinx EDK/ISE 9.1
  Linux 2.6.24
 
 
 
 
 

--


=20
=D1=DB=BE=A6=B8=C9=C9=AC= =A3=BF=C8=F3=BD=E0=D2=BB=CF=C2=A3=A1=C7=E5=C1=B9=C5=E4=B7=BD=A3=AC=B6=E0=D6= =D8=D3=AA=D1=F8=A3=AC=BB=BA=BD=E2=D1=DB=C6=A3=C0=CD ------=_Part_408787_14033842.1211977480207--