> Jaya krishnan wrote:
> Hi
> Thanks for the mail
> No such errors. Could this be related to the shell?
> It happened after I changed the Busybox.
Yes, that happened to us also... the busybox insmod is *very* picky.
Try using the full path to the module with the same parameters you listed..
\
I.E:
insmod /full_path_to/cmemk.ko \
phys_start=0x85000000 phys_end=0x8aa00000 pools=5x4697152,64x718848
Also, dsplink looked like it was complaining about a missing version
struct.
You should go through the cmem and dsplink builds and make sure the kernel
environment variable points to the right place.
Oh, that reminds me...
I had to patch the dsplink build to include the kernel config file and
check whether module versioning is enabled. CMEM doesn't need this
because it uses the kernel build system natively.
I don't have an official patch, but look inside
/<codec_engine_install_path>/cetools/packages/dsplink/make/Linux
Inside file: linux-davinci-2.6.mk
Make sure these variables are set properly...
# Set this to the kernel full path
BASE_BUILDOS := /your/path/to/kernel/root
# Set this to your kernel config file
BASE_BUILDOS_CONFIG=.config
Now, look for this header
# ==============================================
# Post processing utilities for Linux 2.6
# ==============================================
Change whatever is there to this:
ifneq ($(CONFIG_MODVERSIONS),)
CMD_MODPOST_FLAGS := -m -i
else
CMD_MODPOST_FLAGS := -i
endif
CMD_MODPOST := $(BASE_BUILDOS)/scripts/mod/modpost \
$(CMD_MODPOST_FLAGS) $(BASE_BUILDOS)/Module.symvers $
(BASE_BUILDOS)/vmlinux
With those changes in place, your dsplink module will have the same
versioning
method as your kernel and you shouldn't have any complaints from the
loader.
Hope this helps out,
David
--
DAVID A. KONDRAD
Software Design Engineer
Legrand, Home Systems Division (formerly On-Q)
www.onqlegrand.com
This email, and any document attached hereto, may contain
confidential and/or privileged information. If you are not the
intended recipient (or have received this email in error) please
notify the sender immediately and destroy this email. Any
unauthorized, direct or indirect, copying, disclosure, distribution
or other use of the material or parts thereof is strictly
forbidden.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source