Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

The question is about dsplink of the omal138

$
0
0

I use the linux3.3 in the omapl138. I want to compile dsplink with linux3.3.  I modified ../the dsplink_linux_1_65_00_03/dsplink/gpp/src/../../gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c:

STATIC struct file_operations driverOps = {
open: DRV_Open,
flush: DRV_Flush,
release: DRV_Release,
ioctl: DRV_Ioctl, 
mmap: DRV_Mmap,
read: DRV_Read,
.owner = THIS_MODULE
} ;

The following is where I modified:

STATIC struct file_operations driverOps = {
open: DRV_Open,
flush: DRV_Flush,
release: DRV_Release,
//ioctl: DRV_Ioctl, //************20150517*********************
unlocked_ioctl: DRV_Ioctl, //************20150517*********************
mmap: DRV_Mmap,
read: DRV_Read,
.owner = THIS_MODULE
} ;

Then I compile the dsplink and insmod dsplinkk.ko sucessfully.

But when I run the program ,it occurs errors.

root@tl:/mount_block# ./menu_test1 -qws
[ 57.781358] copy_from_user call failed 24
proc setup status = [0x80008008]
PROC_setup failed. Status: [0x80008008]
proc attach status = [0x80008008]
pool open status = [0x80008008]
msgq open status = [0x80008008]
proc load status = [0x80008008]
proc start status = [0x80008008]
msgq trans open status = [0x80008008]
locate status = [0x80008008]

I can not find what causes the errors.Could you give me some suggestions please?


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>