Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
wcrelly
Posts: 21
Registered: ‎01-13-2012
0
Accepted Solution

Microblaze xilkernel elfcheck issue

I am trying to build a program using xilkernel on a microblaze (using ML510 board). I have set the ilmb memory to 64K, but am trying to run out of DDR memory (1GB @ 0x60000000).

I have set my linker script to place all sections in the DDR memory, but it returns the following:

 

ELF file    : MicroblazeEthernetTest.elf
ERROR:EDK:3165 - elfcheck failed!
The following sections did not fit into Processor  memory:
    Section .stack (0x601499D8 - 0x6014A1D7)
    Section .heap (0x601491D8 - 0x601499D7)
    Section .bss (0x60026420 - 0x601491D7)
    Section .jcr (0x6002641C - 0x6002641F)
    Section .eh_frame (0x60026418 - 0x6002641B)
    Section .data (0x60025E10 - 0x60026417)
    Section .sdata2 (0x60025E0C - 0x60025E0F)
    Section .rodata (0x60024CFC - 0x60025E0B)
    Section .dtors (0x60024CF4 - 0x60024CFB)
    Section .ctors (0x60024CEC - 0x60024CF3)
    Section .fini (0x60024CCC - 0x60024CEB)
    Section .init (0x60024C8C - 0x60024CCB)
    Section .text (0x60000000 - 0x60024C8B)

Try using the linker script generation tools to generate an ELF that maps
correctly to your hardware design.
Finished building: MicroblazeEthernetTest.elf.elfcheck

 

Does anyone know what could be causing this issue?

 

Thanks!

-Wes

 

Visitor
wcrelly
Posts: 21
Registered: ‎01-13-2012
0

Re: Microblaze xilkernel elfcheck issue

Solved: I had changed the DDR from 512 to 1GB and the address space was overlapping apparently causing the issue.