This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Readwrite Sample program

Other Parts Discussed in Thread: OMAP3530

Hi,

 

I'm trying to run the readwrite sample program from DSP Link 1.65, but without success.

I followed the instructions on http://processors.wiki.ti.com/index.php/Writing_DSPLink_Application_using_PROC_read_and_write_APIs i.e. I reserved the two regions READMEM and WRITEMEM.

When I try to run the program i get this:

 

./readwritegpp readwrite.out 2280652800 1024 1
============= Sample Application : READWRITE ==========
Entered RDWR_Create ()
[  515.812011] Failure [0x8000800b] in [0x401] at line 514
[  515.817657] Failure [0x8000802d] in [0x401] at line 536
[  515.823272] Failure [0x8000802d] in [0x401] at line 536
[  515.828521] Failure [0x8000802d] in [0x401] at line 536
Leaving RDWR_Create ()
Entered RDWR_Execute ()
[  515.989318] Unable to handle kernel paging request at virtual address 01010105
[  515.997222] pgd = c5f6c000
[  515.999938] [01010105] *pgd=00000000
[  516.003570] Internal error: Oops: 805 [#1]
[  516.007690] last sysfs file: /sys/devices/virtual/net/lo/flags
[  516.013549] Modules linked in: lpm_omap3530 dsplinkk
[  516.018554] CPU: 0    Not tainted  (2.6.35.11 #1)
[  516.023376] PC is at IPS_notify+0x164/0x1f4 [dsplinkk]
[  516.028533] LR is at __mutex_lock_interruptible_slowpath+0x21c/0x254
[  516.034942] pc : [<bf005728>]    lr : [<c0426de0>]    psr: 80000013
[  516.034942] sp : c5de5e18  ip : 22222222  fp : bec22b9c
[  516.046478] r10: 00000000  r9 : 01010101  r8 : c8350000
[  516.051727] r7 : 00000000  r6 : 00000000  r5 : bf033034  r4 : 00008000
[  516.058288] r3 : 01010101  r2 : 00000000  r1 : 00000000  r0 : 00000000
[  516.064849] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  516.072021] Control: 10c5387d  Table: 85f6c019  DAC: 00000015
[  516.077789] Process readwritegpp (pid: 1213, stack limit = 0xc5de42f0)
[  516.084350] Stack: (0xc5de5e18 to 0xc5de6000)
[  516.088745] 5e00:                                                       c8600000 00000000
[  516.096954] 5e20: 00000001 02faf080 bec22bac 400d6000 bec22b9c c8600000 bf03393c 00000000
[  516.105163] 5e40: c838b180 c838b200 bec22bac 400d6000 bec22b9c bf00acb0 00000000 c5de5ef4
[  516.113403] 5e60: c8600000 c833[<c00cc690>] (sys_ioctl+0x38/0x5c)
[  516.299255] [<c00cc690>] (sys_ioctl+0x38/0x5c) from [<c0037f00>] (ret_fast_syscall+0x0/0x30)
[  516.307739] Code: 8a000012 e59d1004 e0893387 e3a02000 (e5831004)
[  516.314575] ---[ end trace 32dddce6f2a2c647 ]---

 

I suspect a error in the memory mapping but I can't see what's wrong...

Here are the config files:

5270.configs.tar.gz

 

Does anybody have a suggestion?

 

Thanks,

 

Jonathan