Hi,
I have a OMAPL138-LCDK,and I'm working with syslink-examples to test the correspondence between core ARM and DSP.I got error as follow:
root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq# insmod /lib/modules/3
.1.10/kernel/drivers/dsp/syslink.ko TRACE=1 TRACEFAILURE=1
SysLink version : 2.10.03.20
SysLink module created on Date:May 11 2012 Time:10:46:29
Trace enabled
Trace SetFailureReason enabled
root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq# ls
messageq_omapl1xx_dsp.xe674 run_messageqapp_release.sh
messageqapp_debug slaveloader_debug
messageqapp_release slaveloader_release
run_messageqapp_debug.sh
root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq# ./slaveloader_release
1 DSP ./messageq_omapl1xx_dsp.xe674
Usage:
slaveloader --help
slaveloader list [map]
slaveloader <startup|load|all> <core name> <file path> [map file] [--args <core]
slaveloader <shutdown|unload> <core name> [map file]
slaveloader <powerup|powerdown|start|stop> <core name>
Supported core names:
- DSP
Note: [File path] argument is only required when first argument is 'startup', ''
Note: 'list' prints the state of all slave cores
Note: 'list map' also prints the memory map tables
root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq# ./slaveloader_release
startup DSP ./messageq_omapl1xx_dsp.xe674
-sh: ./slaveloader_releasestartup: not found
root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq# ./slaveloader_release
startup DSP ./messageq_omapl1xx_dsp.xe674
Attached to slave procId 0.
Loading procId 0.
------------[ cut here ]------------
WARNING: at arch/arm/mm/ioremap.c:207 __arm_ioremap_pfn_caller+0x15c/0x16c()
Modules linked in: syslink ipv6
[<c000d364>] (unwind_backtrace+0x0/0xf0) from [<c001ba74>] (warn_slowpath_commo)
[<c001ba74>] (warn_slowpath_common+0x4c/0x64) from [<c001baa8>] (warn_slowpath_)
[<c001baa8>] (warn_slowpath_null+0x1c/0x24) from [<c000f320>] (__arm_ioremap_pf)
[<c000f320>] (__arm_ioremap_pfn_caller+0x15c/0x16c) from [<c000f3a0>] (__arm_io)
[<c000f3a0>] (__arm_ioremap_caller+0x58/0x60) from [<bf07a528>] (MemoryOS_map+0)
[<bf07a528>] (MemoryOS_map+0x148/0x3e0 [syslink]) from [<bf0543c8>] (_ProcMgr_m)
[<bf0543c8>] (_ProcMgr_map+0x3b0/0x570 [syslink]) from [<bf0603f4>] (ElfLoaderT)
[<bf0603f4>] (ElfLoaderTrgWrite_copy+0xf0/0x3cc [syslink]) from [<bf065570>] (D)
[<bf065570>] (DLIF_copy+0x8/0x14 [syslink]) from [<bf063ab8>] (DLOAD_load+0x984)
[<bf063ab8>] (DLOAD_load+0x984/0xb50 [syslink]) from [<bf05f934>] (ElfLoader_lo)
[<bf05f934>] (ElfLoader_load+0x110/0x3e4 [syslink]) from [<bf04fbf8>] (Loader_l)
[<bf04fbf8>] (Loader_load+0x98/0x174 [syslink]) from [<bf05236c>] (ProcMgr_load)
[<bf05236c>] (ProcMgr_load+0x104/0x360 [syslink]) from [<bf057354>] (ProcMgrDrv)
[<bf057354>] (ProcMgrDrv_ioctl+0xd38/0x1c28 [syslink]) from [<c00921e8>] (do_vf)
[<c00921e8>] (do_vfs_ioctl+0x7c/0x598) from [<c009273c>] (sys_ioctl+0x38/0x60)
[<c009273c>] (sys_ioctl+0x38/0x60) from [<c0009320>] (ret_fast_syscall+0x0/0x2c)
---[ end trace 0905d4cd37d5cbd6 ]---
*** MemoryOS_map: Failed to map to host address space!
Error [0x897d2003] at Line no: 517 in file /home/a0883717/ti/syslink_2_c
*** _ProcMgr_map: Memory_map failed
Error [0xfffffff1] at Line no: 2407 in file /home/a0883717/ti/syslink_2c
Assertion at Line no: 394 in /home/a0883717/ti/syslink_2_10_03_20/packages/ti/sd
------------[ cut here ]------------
WARNING: at arch/arm/mm/ioremap.c:207 __arm_ioremap_pfn_caller+0x15c/0x16c()
Modules linked in: syslink ipv6
[<c000d364>] (unwind_backtrace+0x0/0xf0) from [<c001ba74>] (warn_slowpath_commo)
[<c001ba74>] (warn_slowpath_common+0x4c/0x64) from [<c001baa8>] (warn_slowpath_)
[<c001baa8>] (warn_slowpath_null+0x1c/0x24) from [<c000f320>] (__arm_ioremap_pf)
[<c000f320>] (__arm_ioremap_pfn_caller+0x15c/0x16c) from [<c000f3a0>] (__arm_io)
[<c000f3a0>] (__arm_ioremap_caller+0x58/0x60) from [<bf07a528>] (MemoryOS_map+0)
[<bf07a528>] (MemoryOS_map+0x148/0x3e0 [syslink]) from [<bf0543c8>] (_ProcMgr_m)
[<bf0543c8>] (_ProcMgr_map+0x3b0/0x570 [syslink]) from [<bf0603f4>] (ElfLoaderT)
[<bf0603f4>] (ElfLoaderTrgWrite_copy+0xf0/0x3cc [syslink]) from [<bf065570>] (D)
[<bf065570>] (DLIF_copy+0x8/0x14 [syslink]) from [<bf063ab8>] (DLOAD_load+0x984)
[<bf063ab8>] (DLOAD_load+0x984/0xb50 [syslink]) from [<bf05f934>] (ElfLoader_lo)
[<bf05f934>] (ElfLoader_load+0x110/0x3e4 [syslink]) from [<bf04fbf8>] (Loader_l)
[<bf04fbf8>] (Loader_load+0x98/0x174 [syslink]) from [<bf05236c>] (ProcMgr_load)
[<bf05236c>] (ProcMgr_load+0x104/0x360 [syslink]) from [<bf057354>] (ProcMgrDrv)
[<bf057354>] (ProcMgrDrv_ioctl+0xd38/0x1c28 [syslink]) from [<c00921e8>] (do_vf)
[<c00921e8>] (do_vfs_ioctl+0x7c/0x598) from [<c009273c>] (sys_ioctl+0x38/0x60)
[<c009273c>] (sys_ioctl+0x38/0x60) from [<c0009320>] (ret_fast_syscall+0x0/0x2c)
---[ end trace 0905d4cd37d5cbd7 ]---
*** MemoryOS_map: Failed to map to host address space!
Error [0x897d2003] at Line no: 517 in file /home/a0883717/ti/syslink_2_c
*** _ProcMgr_map: Memory_map failed
Error [0xfffffff1] at Line no: 2407 in file /home/a0883717/ti/syslink_2c
Unable to handle kernel paging request at virtual address ffffffff
pgd = c7188000
[ffffffff] *pgd=c7ffe831, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1] PREEMPT
Modules linked in: syslink ipv6
CPU: 0 Tainted: G W (3.1.10 #7)
PC is at memset+0xb8/0xc0
LR is at ElfLoaderTrgWrite_copy+0x13c/0x3cc [syslink]
pc : [<c0140f58>] lr : [<bf060440>] psr: 20000013
sp : c7b83d08 ip : 00000001 fp : c8ef6000
r10: ffffffff r9 : 00000008 r8 : 06a85000
r7 : 00009a28 r6 : bf140e60 r5 : c8ebf000 r4 : c7b83d90
r3 : 00000003 r2 : 00000000 r1 : 00009a24 r0 : ffffffff
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0005317f Table: c7188000 DAC: 00000015
Process slaveloader_rel (pid: 1563, stack limit = 0xc7b82270)
Stack: (0xc7b83d08 to 0xc7b84000)
3d00: c3d27e40 03046000 00027e40 00000001 ffffffff bf06e90c
3d20: c3d27e40 c3d27e40 00000008 00009a28 c8f20000 bf140e60 00000078 c3d27e40
3d40: c8ee7000 00000002 c8f0c030 00000002 c8ef4000 00000008 c7b83d90 bf065570
3d60: 00000008 bf063ab8 ffffffff bf079ff0 00000001 c8f0c150 00000000 c8ee7000
3d80: c8ee701c c8ef4000 00000001 c8ef4000 c8ef4000 c8f10000 ffffffff 00000001
3da0: 00027e80 00000000 00000002 00000008 c8ef6000 c8ef6000 00000000 c8ebf000
3dc0: 00000000 bf140e60 03046000 00000000 00000000 c8ebb000 c7b83ef0 bf05f934
3de0: c8ef2000 00000000 00000000 00000000 00000001 c8ef4000 fea00000 c8ebb000
3e00: 00000000 00000000 bf140e60 c8ef2000 c7b83ef0 00000000 00000000 bf04fbf8
3e20: 00000000 c7b83ef0 00000000 00000000 c8ec5000 00000000 00000000 bf10f624
3e40: bf140e60 c89fd000 c7b83ef0 bf05236c 00000000 c7b83ef0 00000000 00000000
3e60: 0000001e c8ef2000 0000001e bea7ab70 bf140e60 c7b82000 00000000 c8ef2000
3e80: c7b82000 c7b83ed4 00000000 bf057354 00000000 c7b83ef0 c0175734 c78f336c
3ea0: c78f3000 0000000a c7934011 c7b82000 c0177d8c c7b82000 a0000013 c0173700
3ec0: 00000001 c0173ed4 c78f3000 c78f336c 00000000 097d2000 c8ec5000 bea7ae9f
3ee0: 0000001e 00000000 00000000 00000000 00000000 c70b3e70 00000002 c00b59d4
3f00: c7b93200 bea7ab70 bea7ab70 00000007 c65b43f8 c7b82000 00000000 c00921e8
3f20: 00000000 00000001 c0161978 00000000 00000000 00000000 c7b83f6c c7905108
3f40: 00000012 00000000 c70b3e38 00000002 c7b82000 00000000 bea7a974 c0082710
3f60: c7905100 00000012 c7b93200 bea7ab70 c020e0a2 00000007 c00094a4 00000000
3f80: 00000000 c009273c 4f84883b 00000001 00000012 00000000 0008148c 00054200
3fa0: 00000036 c0009320 00000000 0008148c 00000007 c020e0a2 bea7ab70 00000001
3fc0: 00000000 0008148c 00054200 00000036 bea7ab70 c020e0a2 00000000 00000000
3fe0: 000817ac bea7ab38 000373e0 402530ac 60000010 00000007 fffffcff ffffffff
Code: ba00001d e3530002 b4c02001 d4c02001 (e4c02001)
---[ end trace 0905d4cd37d5cbd8 ]---
Everything with the OMAPL138-LCDK using are as the SD card,including u-boot,uImage,syslink.ko.Why I can't get working with syslink.
Finally,I can't revise the boot arguments for the target as the Syslink install guide.And will dose it cause the error? Hope get some advice,thanks!
Best regards
Rose