<DIV>&nbsp;I am Michael from China.A few&nbsp;days ago,&nbsp;I&nbsp;was supposed to&nbsp;debug executable.elf&nbsp;with xmd while some problems happened.It said like that:</DIV>
<DIV>&nbsp;xmd% dow executable.elf</DIV>
<DIV>&nbsp;Failed to download ELF file</DIV>
<DIV>&nbsp;</DIV>
<DIV>ERROR(1053):UNABLE TO READ ELF FILE.THE ELF FILE</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAYBE CORRUPTED</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; :executable.elf</DIV>
<DIV>&nbsp;</DIV>
<DIV>I wanna ask u to point out what causes this problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>There is another question about "xparameters.h" and </DIV>
<DIV>"xparameters_ml300.h". When I have generated BSP, there are two "xparameters.h" files in project which</DIV>
<DIV>&nbsp;have the same name while different size(eg: one is 22k ,the other is 4k). Which one is the proper? </DIV>
<DIV>And&nbsp;when I add "xparameters.h" and "xparameters_ml300.h" to the kernel, some compiling </DIV>
<DIV>error occurs.</DIV>
<DIV>&nbsp; eg:</DIV>
<DIV>arch/ppc/syslib/virtex_devices.c:116: error: 'XPAR_UARTNS550_0_CLOCK_FREQ_HZ' undeclared here (not in a function)<BR>arch/ppc/syslib/virtex_devices.c:119: error: 'XPAR_UARTNS550_1_CLOCK_FREQ_HZ' undeclared here (not in a function)<BR>&nbsp;I don't understand where to define them and whether i need them or not.</DIV>
<DIV>&nbsp; my eldk is:eldk/4.2/ppc-linux-x86</DIV>
<DIV>&nbsp; using Xilinx EDK/ISE 9.1</DIV>
<DIV>&nbsp; Linux 2.6.24</DIV>
<DIV>&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>--<BR>
<DIV><FONT size="6"></FONT></DIV></DIV><br><!-- footer --><br> 
<hr>
<font style="font-size:12px;line-height:15px;">眼睛干涩?润洁一下!清凉配方,多重营养,</font><a style="font-size:12px;line-height:15px; color:blue; text-decoration:underline;" href="http://popme.163.com/link/004304_0515_8953.html">缓解眼疲劳</a>