From: alayrac christophe <christophe.alayrac@cresitt.com>
To: linuxppc-embedded@ozlabs.org
Subject: Modules Problem on ML403
Date: Fri, 10 Nov 2006 17:50:22 +0100 [thread overview]
Message-ID: <1163177422.8091.15.camel@localhost.localdomain> (raw)
Hi,
We succeed to port linux2-4.26 on ML403 board with Montavista RFS on CF
or NFS.
Problems arise when we try to use modules.
We have include gpio modules in the kernel and build follow
make ARCH=ppc CROSS_COMPILE=powerpc-405-linux-gnu- dep uImage
make ARCH=ppc CROSS_COMPILE=powerpc-405-linux-gnu- modules
the modules_install fail during depmod process because it no supports
cross compiling
I've then think to use the Klingauf scripts (make_modules_install.sh,
depmod.pl) but I was afraid that the command
make modules_install copy modules in the host lib/modules directory.
SO I manually proceed as follow from the kernel root :
make ARCH=ppc CROSS_COMPILE=powerpc-405-linux-gnu- modules_install
INSTALL_MOD_PATH=/home/alayrac/
and then
./depmod.pl -k ./vmlinux -F ./System.map -b /home/alayrac/lib/modules -n
> /home/alayrac/lib/modules/2.4.26/modules.dep
Modules seems to be created properly but after board and linux start up
I receive the following error message:
insmod xilinx_gpio
Using /lib/modules/2.4.26/kernel/drivers/char/xilinx_gpio/xilinx_gpio.o
/lib/modules/2.4.26/kernel/drivers/char/xilinx_gpio/xilinx_gpio.o:
couldn't find the kernel version the module was compiled for
modprobe xilinx_gpio
/lib/modules/2.4.26/kernel/drivers/char/xilinx_gpio/xilinx_gpio.o:
couldn't find the kernel version the module was compiled
r/lib/modules/2.4.26/kernel/drivers/char/xilinx_gpio/xilinx_gpio.o:
insmod /lib/modules/2.4.26/kernel/drivers/char/xilinx_gpid/lib/modules/2.4.26/kernel/drivers/char/xilinx_gpio.o: couldn't find the kernel version the module was compiled for
/lib/modules/2.4.26/kernel/drivers/char/xilinx_gpio.o:
insmod /lib/modules/2.4.26/kernel/drivers/char/xilinx_gpio.o failed
/lib/modules/2.4.26/kernel/drivers/char/xilinx_gpio.o: insmod
xilinx_gpio failed
Further more the date of files in /lib/modules/2.4.26 are to a very hold
date during the boot process. Thus the modules.conf is declared as more
recent than modules.dep.
Any help would be appreciated .
Kinds regards
Chris
next reply other threads:[~2006-11-10 15:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-10 16:50 alayrac christophe [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-11-13 7:47 Modules Problem on ML403 alayrac
[not found] <8506C3905ED0764F889ADEB33E3A9E8062CF28@MAIA.scopus.net>
2006-11-13 15:39 ` alayrac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1163177422.8091.15.camel@localhost.localdomain \
--to=christophe.alayrac@cresitt.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.