Forum Discussion
Altera_Forum
Honored Contributor
20 years ago.elf file
We have received an .elf files from our suplliers and try to run it here on our board. We're encountring difficulty running this file. we don't seem to be able to download this file in the SDRAM in the correct format which enable us to run it properly. Please let us know if there are certain steps that need to be taken to be able to start running off of a .elf file.
Thanks, Koorosh3 Replies
- Altera_Forum
Honored Contributor
Hi koorosh,
> let us know if there are certain steps that need to be taken to be able to start > running off of a .elf file. All you should have to do is open a shell window and execute: $ nios2-download -g file.elf You might also want to make sure the sections are mapped to meaningful memory regions. You can use objdump for this: $ nios2-elf-objdump -h file.elf If everything looks good, but you're still having problems, you might want to use nios2-console -- this will let you load, peek, poke, whatever. Regards, --Scott - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by smcnutt@Mar 21 2006, 12:08 PM hi koorosh,> let us know if there are certain steps that need to be taken to be able to start
> running off of a .elf file.
all you should have to do is open a shell window and execute:
$ nios2-download -g file.elf
you might also want to make sure the sections are mapped to meaningful
memory regions. you can use objdump for this:
$ nios2-elf-objdump -h file.elf
if everything looks good, but you're still having problems, you might want
to use nios2-console -- this will let you load, peek, poke, whatever.
regards,
--scott
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13646)
--- quote end ---
--- Quote End ---
- Altera_Forum
Honored Contributor
--- Quote Start --- Hi koorosh, > let us know if there are certain steps that need to be taken to be able to start > running off of a .elf file. All you should have to do is open a shell window and execute: $ nios2-download -g file.elf You might also want to make sure the sections are mapped to meaningful memory regions. You can use objdump for this: $ nios2-elf-objdump -h file.elf If everything looks good, but you're still having problems, you might want to use nios2-console -- this will let you load, peek, poke, whatever. Regards, --Scott Scot, Your SUGGESTION WORKS, thanks for your help. Koorosh