Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

elf loader for NIOS-II

Altera_Forum
Honored Contributor II
978 Views

I STFA but didn’t find what I was looking for. 

 

We have an application where we’re considering interpreting ELF executables from flash at boot-time and so would like to put an ELF interpreter into our Nios-II. I’m wondering if Altera (or anyone else) has source for a Nios-II implementation for such a thing or if we’ll have to roll our own, say from libelf. 

 

Thanks.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
279 Views

It sounds like the features you're looking for are supplied as a part of the Redboot boot monitor. This is available for download as a part of the eCos operating system from this forum. 

 

Redboot includes an elf loader and a flash management utility. 

 

For a complete list of Redboot features, see: 

 

http://sources.redhat.com/redboot/ (http://sources.redhat.com/redboot/)
0 Kudos
Altera_Forum
Honored Contributor II
279 Views

tcw, 

 

You could also try u-boot with the "bootelf" command enabled. 

 

Regards, 

--Scott
0 Kudos
Reply