cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
451582319
Participant
Participant
3,093 Views
Registered: ‎11-18-2013

edk elfcheck failed

hi ,i used edk13.4,when i use debug as->launch on hardware ,an error appeared

ERROR:EDK:3165  -  elfcheck  failed!

The  following sections did not fit into Processor BRAM memory:

               Section .jcr  (0x9000014cC-0x9000014F)

               Section .eh_frame  (0x90000148-0x9000014B)

               Section .data  (0x90000018-0x90000147)

               Section .rodata  (0x90000010-0x90000015)

               Section .dtors   (0x90000008-0x9000000F)

               Section .eh_frame  (0x90000000-0x90000007)

Try using the linker script generation tools to generate an ELF that maps 

correctly to your hardware design.

 

My mpmc_baseaddress is 0x90000000.length is 0x10000000

In the table "generate a linker script" whent i change the Basic->Place Data Sections in: and Place Heap and Stack in :

from "ilmb_cntlr_dlmb_cntlr" to my mpmc_baseaddr ,this error occured.

0 Kudos
3 Replies
htsvn
Xilinx Employee
Xilinx Employee
3,092 Views
Registered: ‎08-02-2007

Hi,

 

Are you trying to use SDK --> Xilinx Tools --> Program FPGA --> With an ELF other than bootloop.elf?

 

--HS

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
451582319
Participant
Participant
3,080 Views
Registered: ‎11-18-2013

i used sdk-> xilinx Tools->Program FPGA->With an ELF ,because when i used  the bootloop.elf ,an error occured

error:Data2MEM:1 - File '\xilinx\13.4\ISE_DS\EDK\sw\lib\microblaze\mb_bootloop.elf' can not be found.or is busy

Please ensure that the file is available inthe correct directory location,or isn't being locked by another application.

and i checked the directory location ,and i found the bootloop file ,and i just use the only one sdk .

 

0 Kudos
hvlsn
Visitor
Visitor
1,427 Views
Registered: ‎09-14-2015

I have the same problem. When I program Fpga with bootloop.elf file. It works. But when I use release.elf file this error occur. I can not download lwip_echo_server release elf file. What is the reason of this problem? I changed linker script like place code section DDR2, place data section DDR2, and place heap &Stack in DDR2. What is wrong? 

0 Kudos