Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Start Module on uClinux Boot

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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