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

Start Module on uClinux Boot

Altera_Forum
Honored Contributor II
912 Views

Hi all, 

I would want my module to start on uClinux Boot ( without using modprobe after booting the kernel). 

I tried doing what said on the wiki ( module programing (http://www.nioswiki.com/operatingsystems/uclinux/moduleprogramming)) 

Device Drivers -->  

Misc devices --->  

<*> example hello module 

 

but when uclinux boot, the module starts before other processes start like ethernet connection (as example, this conifg come after the module starts : ifconfig eth0 255.xxx.xxx.xxx), so the module isn't starting correctly. 

 

to make my self clear, My module uses socktes and without starting ethernet connection the module won't work. 

 

how should i delay the module booting so it will start after establishing a connection ? 

 

 

Thanks, 

Erez
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
223 Views

Hi, 

no one ? 

 

well it seems that if you want the module to be part of your kernel, it needs to upload the module prior uploading the configuration file with the connection settings ( i.e the rc file in vendors->nios2), so again my module isn't starting correctly. 

 

is there no hope for that issue? 

 

Erez
0 Kudos
Reply