May I ask some questions?

Sergey Temerkhanov temerkhanov at yandex.ru
Thu May 29 17:03:56 EST 2008


vencent2006 wrote:
> 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
You need to install updates for EDK. xmd 9.1 without updates is known to 
have broken ELF loader

> 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
These macros must be defined in xparameters_ml300.h. You need them as 
they define base frequency for UARTNS550 and proper configuration of 
baud rates depends on it

>
> --
>
>
> ------------------------------------------------------------------------
> ÑÛ¾¦¸Éɬ£¿Èó½àһϣ¡ÇåÁ¹Åä·½£¬¶àÖØÓªÑø£¬»º½âÑÛÆ£ÀÍ 
> <http://popme.163.com/link/004304_0515_8953.html>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev



More information about the Linuxppc-dev mailing list