Hello,
On a “classic” linux I use to add modules that I want be loaded on boot in /etc/modules
.
How should I do it on Legato ?
Regards
Hello,
On a “classic” linux I use to add modules that I want be loaded on boot in /etc/modules
.
How should I do it on Legato ?
Regards
How are you building the module? Is it built when the kernel is built or are you using Legato to build the module? In the first case, put it in /etc/modules
. In the second case, by including the .mdef
file in the kernelModules
section of the SDEF, you will cause Legato to load the module when it starts.
Hi,
thanks for your reply. I think thiis is a third case, It is a built in module:
root@swi-mdm9x28-wp:~# modprobe ftdi_sio
Hi,
DOnt you have any idea please ?
I found a way.
I put it in /etc/init.d/startlegato.sh
in the section start
case "$1" in
start)
echo "Legato start sequence"
modprobe ftdi_sio
umount /legato 2>/dev/null
mount -o bind $LEGATO_MNT /legato
$LEGATO_START
;;