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
mgallen
Posts: 3
Registered: ‎10-01-2010
0

Huge binary created by mb-objcopy

When trying to create the binary file using mb-objcopy,  using the process described in the following link  http://www.xilinx.com/support/answers/25252.htm

 

I end up with a huge binary file using SDK 13.2

 

Before I read the above link, huge files was being created for every application, including the simple Hello World app. The above method fixed this but it doesn't work for all. I know this is caused by the gaps in our system memory map, but there should be some way to fix it.

 

# For removing the gaps filled by zeros from the bin file
mb-objcopy -O binary -j .vectors.reset -j .vectors.sw_exception -j .vectors.interrupt -j .vectors.hw_exception test.elf ./app1.bin


mb-objcopy -O binary -R .vectors.reset -R .vectors.sw_exception -R .vectors.interrupt -R .vectors.hw_exception test.elf ./app2.bin

 

The second command results in the massive binary......1342192656 bytes

 

Anybody got any futher info which will resolve this.