- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I'm trying to program SW ELF image into ECPS flash - but not in the default manner, meaning not directly after HW image. I've read that it is posibble in the CFI image using ELF2FLASH params - but is it possible in ECPS flash when several of these params are disabled? if it is possible, what shall I do in order for the SW to load to RAM from it's new location? Thanks, A.G.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On the EPCS side of things, you could use elf2flash to generate a zero offset flash file and then move it wherever you'd like using objcopy (or nios2-elf-objcopy) with the --change-addresses option.
On the bootloader side of things, you would have to at minimum change how the default bootloader functions. You have sources, so this shouldn't be too difficult. Good luck! - slacker
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