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++
12596 Discussions

How to make kernel-less monolithic executables

Altera_Forum
Honored Contributor II
983 Views

Hello, 

 

I would like to run a small socket-based communication program on a Nios II processor. 

This program calls some uClinux functions: socket(), setsocketopt(), connect(), bind(), send(), and recv().  

 

Is it possible to link these modules into a signle kernel-less executable (a standalone executable without the kernel) ? 

 

I would like to find a way to reduce the size of the executables. 

 

Any information would be appreciated. 

 

Sekiyama
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
293 Views

Hi sekiyama, 

 

If the size of the executable is your major concern, you can check lwIP with MicroC/OS II to see if it meets your requirements. As I know, lwIP has a BSD socket like API, similar to what you get from uClinux. And I am sure the application can be very small. 

 

Regards, 

wentao
0 Kudos
Reply