- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All,
. I'm having some issues with the elf2flash utility and I'm hoping you can help me. . When I run the elf2flash utility on a particular .elf application file, it does not put the length and address records into the resulting srec file. Any ideas? Thanks, JakeLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay I found the issue. The problem is that I'm creating a boot record for a nios processor that is not connected to the flash where I'm storing the application image. And in this particular case, the address of the processor overlaps the address of the flash. So there was no need for the length and addres records. I just lied to the utility about the flash begin and end addresses. I convert it to binary at the end anyway.
Jake- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you just want the contents of an elf section, it is probably simpler to use:objcopy -O binary -j <section_name> <input_file> <output_file>
Add '--set-section-flags <section_name>=contents,load' to extract a non-loadable section (eg .comment)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page