<DIV> 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:</DIV>
<DIV> xmd% dow executable.elf</DIV>
<DIV> Failed to download ELF file</DIV>
<DIV> </DIV>
<DIV>ERROR(1053):UNABLE TO READ ELF FILE.THE ELF FILE</DIV>
<DIV> MAYBE CORRUPTED</DIV>
<DIV> :executable.elf</DIV>
<DIV> </DIV>
<DIV>I wanna ask u to point out what causes this problem.</DIV>
<DIV> </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> have the same name while different size(eg: one is 22k ,the other is 4k). Which one is the proper? </DIV>
<DIV>And when I add "xparameters.h" and "xparameters_ml300.h" to the kernel, some compiling </DIV>
<DIV>error occurs.</DIV>
<DIV> 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> I don't understand where to define them and whether i need them or not.</DIV>
<DIV> my eldk is:eldk/4.2/ppc-linux-x86</DIV>
<DIV> using Xilinx EDK/ISE 9.1</DIV>
<DIV> Linux 2.6.24</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </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>