HI,
I use readwrite example to send an image from ARM side to DSP side for compression. I combined a codec with readwrite dsplink example from TI. My dsp executable file is nearly 7MB so I changed the memory map (see attached file). It appears that the application is running well until ARM side tries to load dsp executable on dsp side (PROC_Load ?) but i can't be sure
============= Sample Application : READWRITE ==========
Entered RDWR_Create ()
Proc_setup OK
Proc_attach OK
Pool_open OK
MSGQ_open OK
Unable to handle kernel paging request at virtual address c4b00000
pgd = c32f8000
[c4b00000] *pgd=82d6e011, *pte=00000000, *ppte=00000000
Internal error: Oops: 807 [#1] PREEMPT
Modules linked in: dsplinkk cmemk ipv6 minix
CPU: 0 Not tainted (2.6.32-rc2-davinci1 #1)
PC is at memcpy+0x50/0x330
LR is at 0x0
pc : [<c0166870>] lr : [<00000000>] psr: 20000013
sp : c290bc94 ip : 03c12802 fp : c290bcbc
r10: bf100398 r9 : c290be30 r8 : 0fbca2e6
r7 : 021cc802 r6 : 03148ae7 r5 : 08bd22e6 r4 : 081c0fda
r3 : 04bce2e6 r2 : 00066ea0 r1 : c7101fa0 r0 : c4b00000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0005317f Table: 832f8000 DAC: 00000015
Process w_decgpp (pid: 1625, stack limit = 0xc290a270)
Stack: (0xc290bc94 to 0xc290c000)
bc80: 00166ec0 bf100388 00000000
bca0: 84000080 c4a00080 c7002000 bf0fa1b8 c290bcdc c290bcc0 bf0ee60c bf0fa1b8
bcc0: 00000003 00000000 00166ec0 00000000 c290bcfc c290bce0 bf0ee288 bf0ee568
bce0: 00166ec0 c7002000 bf0faf10 00000003 c290bd2c c290bd00 bf0ef240 bf0ee250
bd00: c7002000 bf0f98b0 00008000 00000000 00166ec0 c4ba4000 00000016 00000000
bd20: c290be1c c290bd30 bf0f825c bf0ef1dc c7002000 000000e9 c4e42000 c2e20060
bd40: 00000001 00000000 00000000 00000000 00000030 841df7e0 6f69622e 00000073
bd60: 841d9880 841d9880 00004a00 00000b95 00000000 00000000 00000000 00000000
bd80: 00000520 00000000 0000c45b 0077215e 7865742e 00000074 84000080 84000080
bda0: 00166ec0 00005651 00000000 00000000 00000000 00000000 00000520 00000000
bdc0: c4ba0001 c7002000 6f69622e 00000073 00000000 c290be48 c290be1c c290bde8
bde0: 00000000 00000000 00000000 ffffffff bf0faee8 00008000 c4987000 00000000
be00: 00000008 bf1019a0 bea31ed8 bf1019ac c290be84 c290be20 bf0fd560 bf0f7c74
be20: bf1019ac c290be30 00000000 00000000 c4ba4000 00000000 00000003 00000001
be40: bf0ef1cc bf0ef198 00000002 bf1001e4 bf1001e4 bf1001b8 bf0fe124 00006c05
be60: 00008000 c290beb4 bea31bdc bea31bdc c290a000 40025000 c290beec c290be88
be80: bf0fe8e4 bf0fd3a4 c290bec4 c290be98 c008e43c c003acf4 c25c0858 c0029300
bea0: c290bec4 400844ff c25c0b00 40990000 c3050480 00008000 00000000 bea31ed8
bec0: 00000000 00000000 0002c234 c290bed8 c3050480 bea31bdc 00006c05 c3050480
bee0: c290bf0c c290bef0 c00aafa4 bf0fe47c c2fbc700 c3050480 00000003 c3050480
bf00: c290bf7c c290bf10 c00ab630 c00aaf3c 00071000 c0029300 00000001 00086725
bf20: c290bf74 c290bf30 c008fc4c c008f55c c290bf64 c290bf40 c016c9a8 c003acf4
bf40: c290a000 40990000 c3050480 00000000 c290bf7c 00000003 bea31bdc 00006c05
bf60: c3050480 c002d044 c290a000 40025000 c290bfa4 c290bf80 c00ab6cc c00ab0c8
bf80: c290a000 00000001 00000659 00000000 00008e00 00000036 00000000 c290bfa8
bfa0: c002cec0 c00ab69c 00000659 00000000 00000003 00006c05 bea31bdc 00000003
bfc0: 00000659 00000000 00008e00 00000036 00000000 00000000 40025000 bea31bc4
bfe0: 00000000 bea31af8 0000ba60 40101aec 20000010 00000003 00000000 ffffffff
Backtrace:
[<bf0fa1a8>] (MEM_Copy+0x0/0x18 [dsplinkk]) from [<bf0ee60c>] (DM6467GEM_write+)
[<bf0ee558>] (DM6467GEM_write+0x0/0xfc [dsplinkk]) from [<bf0ee288>] (DSP_write)
r7:00000000 r6:00166ec0 r5:00000000 r4:00000003
[<bf0ee240>] (DSP_write+0x0/0x54 [dsplinkk]) from [<bf0ef240>] (LDRV_PROC_write)
r4:00000003
[<bf0ef1cc>] (LDRV_PROC_write+0x0/0xbc [dsplinkk]) from [<bf0f825c>] (COFF_load)
[<bf0f7c64>] (COFF_load+0x0/0x6d0 [dsplinkk]) from [<bf0fd560>] (PMGR_PROC_load)
[<bf0fd394>] (PMGR_PROC_load+0x0/0x268 [dsplinkk]) from [<bf0fe8e4>] (DRV_Ioctl)
[<bf0fe46c>] (DRV_Ioctl+0x0/0x818 [dsplinkk]) from [<c00aafa4>] (vfs_ioctl+0x78)
r7:c3050480 r6:00006c05 r5:bea31bdc r4:c3050480
[<c00aaf2c>] (vfs_ioctl+0x0/0x94) from [<c00ab630>] (do_vfs_ioctl+0x578/0x5d4)
r7:c3050480 r6:00000003 r5:c3050480 r4:c2fbc700
[<c00ab0b8>] (do_vfs_ioctl+0x0/0x5d4) from [<c00ab6cc>] (sys_ioctl+0x40/0x64)
[<c00ab68c>] (sys_ioctl+0x0/0x64) from [<c002cec0>] (ret_fast_syscall+0x0/0x28)
r7:00000036 r6:00008e00 r5:00000000 r4:00000659
Code: f5d1f05c f5d1f07c e8b151f8 e2522020 (e8a051f8)
---[ end trace 6882677d8a0233cf ]---
I'm using Ubuntu 10.4 and TI MAKE system to build sources using DSPLink, both for GPP and DSP
EVM : DM6467T
CCSv 4.1
DSPLink 1.64
DVSDK 3.1
C6000 7.0.1 compiler
Windows 7 pro 64 bits
Any help would be great
Thanks,
CC