Project

General

Profile

DSPLink kernel driver

Added by Andrew Holt about 13 years ago

Hi,

I have built dsplinkk.ko using the instructions on the wiki. Modinfo reports:

modinfo dsplinkk.ko
filename: dsplinkk.ko
license: GPL v2
depends:
vermagic: 2.6.34-rc1-00093-g3e8f54f-dirty preempt mod_unload modversions ARMv5

And, on my MityDSPL138 uname -r reports:

2.6.34-rc1-00093-g3e8f54f-dirty

So I copy the file on the the board, and

insmod: error inserting 'dsplinkk.ko': -1 Unknown symbol in module
dsplinkk: Unknown symbol __bswapsi2

Any ideas ?


Replies (3)

RE: DSPLink kernel driver - Added by Michael Williamson about 13 years ago

Hmm...

Are you using the same build of the kernel (e.g., the same .config file) as the one that is running?

Did you use the same toolchain for both builds?

I haven't seen this particular issue. Can you post your .config file that I might try to reproduce?

-Mike

RE: DSPLink kernel driver - Added by Andrew Holt about 13 years ago

Hi,

I have just rebuilt the kernel module, and I have just spotted that the build issues a warning:

Building kernel side code using kbuild
make PROFILE=RELEASE -C /home/mitydsp/MDK_current/sw/ARM/linux/linux-davinci SUBDIRS=/home/mitydsp/MDK_2011-03-31/sw/3rdparty/dsplink_linux_1_65_00_03/dsplink/gpp/src ARCH=arm modules
WARNING: "__bswapsi2" [/home/mitydsp/MDK_2011-03-31/sw/3rdparty/dsplink_linux_1_65_00_03/dsplink/gpp/src/dsplinkk.ko] undefined!
Kernel side build complete
Copying dsplinkk.ko to /home/mitydsp/MDK_current/sw/3rdparty/dsplink_linux_1_65_00_03/dsplink/gpp/export/BIN/Linux/OMAPL138/RELEASE

In answer your your questions:

Yes.
Yes.

And .config is attached.

Thanks,
Andrew

config (45.5 KB) config

RE: DSPLink kernel driver - Added by Michael Williamson about 13 years ago

Are you passing the CROSS_COMPILE=arm-angstrom-linux-gnueabi- declaration to the make as well?

-Mike

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)