- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Huge binary created by mb-objcopy
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-07-2012 04:23 AM
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.











