Hi,
I use OMAP L138 LCDK board and want to run syslink example project on it. It has errors:
*** MemoryOS_map: Failed to map to host address space!
Error [0x897d2003] at Line no: 517 in file /home/a0883717/ti/syslink_2_10_03_20/packages/t
i/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/MemoryOS.c
*** _ProcMgr_map: Memory_map failed
Error [0xfffffff1] at Line no: 2407 in file /home/a0883717/ti/syslink_2_10_03_20/packages/
ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/common/ProcMgr.c
Assertion at Line no: 394 in /home/a0883717/ti/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/k
nl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/OsalKfile.c: ((bytesRead / size) =
= (UInt32) count) : failed
------------[ 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_common+0x4c/0x64)
[<c001ba74>] (warn_slowpath_common+0x4c/0x64) from [<c001baa8>] (warn_slowpath_null+0x1c/0x24)
[<c001baa8>] (warn_slowpath_null+0x1c/0x24) from [<c000f320>] (__arm_ioremap_pfn_caller+0x15c/0x16
c)
[<c000f320>] (__arm_ioremap_pfn_caller+0x15c/0x16c) from [<c000f3a0>] (__arm_ioremap_caller+0x58/0
x60)
[<c000f3a0>] (__arm_ioremap_caller+0x58/0x60) from [<bf07a528>] (MemoryOS_map+0x148/0x3e0 [syslink
])
[<bf07a528>] (MemoryOS_map+0x148/0x3e0 [syslink]) from [<bf0543c8>] (_ProcMgr_map+0x3b0/0x570 [sys
link])
[<bf0543c8>] (_ProcMgr_map+0x3b0/0x570 [syslink]) from [<bf0603f4>] (ElfLoaderTrgWrite_copy+0xf0/0
x3cc [syslink])
[<bf0603f4>] (ElfLoaderTrgWrite_copy+0xf0/0x3cc [syslink]) from [<bf065570>] (DLIF_copy+0x8/0x14 [
syslink])
[<bf065570>] (DLIF_copy+0x8/0x14 [syslink]) from [<bf063ab8>] (DLOAD_load+0x984/0xb50 [syslink])
[<bf063ab8>] (DLOAD_load+0x984/0xb50 [syslink]) from [<bf05f934>] (ElfLoader_load+0x110/0x3e4 [sys
link])
[<bf05f934>] (ElfLoader_load+0x110/0x3e4 [syslink]) from [<bf04fbf8>] (Loader_load+0x98/0x174 [sys
link])
[<bf04fbf8>] (Loader_load+0x98/0x174 [syslink]) from [<bf05236c>] (ProcMgr_load+0x104/0x360 [sysli
nk])
[<bf05236c>] (ProcMgr_load+0x104/0x360 [syslink]) from [<bf057354>] (ProcMgrDrv_ioctl+0xd38/0x1c28
[syslink])
I have followed the link suggests:
Please ensure that your are following the TI wiki link for running SYSLINK examples(messageQ)
Some useful TI wiki links related to SYSLINK
http://processors.wiki.ti.com/index.php/SysLink_Notify_Drivers_and_Transports
http://processors.wiki.ti.com/index.php/SysLink_UserGuide#MessageQ
http://processors.wiki.ti.com/index.php/SysLink_Install_Guide#Installing_Examples
Regards,
Titus S.
The error is still there. I begin to doubt the compiler tool (Linaro?: arm-arago-linux-gnueabi) Linux image for ti-sdk-omapl138-lcdk-01.00.00 is different from CodeSourcery for the syslink. I am new to Linux. Please explain it and confirm or not that for me.
Thanks,
The system has:
Ubuntu 12.04 LTS (host)
L138 LCDK,
lcdkl138@lcdkl138-XPS-8500:~/syslink_2_21_03_11$ make .show-products
DEPOT = /home/lcdkl138
DEVICE = OMAPL1XX
GPPOS = Linux
SDK = NONE
TI81XXDSP_DMTIMER_FREQ =
SYSLINK_BUILD_DEBUG = 1
SYSLINK_BUILD_OPTIMIZE = 0
SYSLINK_TRACE_ENABLE = 1
LOADER = ELF
SYSLINK_INSTALL_DIR = /home/lcdkl138/syslink_2_21_03_11
IPC_INSTALL_DIR = /home/lcdkl138/ti/ipc_1_25_03_15
BIOS_INSTALL_DIR = /home/lcdkl138/ti/bios_6_35_04_50
XDC_INSTALL_DIR = /home/lcdkl138/ti/xdctools_3_25_03_72
LINUXKERNEL = /home/lcdkl138/ti-sdk-omapl138-lcdk-01.00.00/board-support/linux-3.1.10
QNX_INSTALL_DIR =
CGT_ARM_PREFIX = /home/lcdkl138/ti/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-
CGT_C64P_INSTALL_DIR =
CGT_C64P_ELF_INSTALL_DIR =
CGT_C674_INSTALL_DIR =
CGT_C674_ELF_INSTALL_DIR = /home/lcdkl138/ti/ccsv5/tools/compiler/c6000_7.4.4
CGT_M3_ELF_INSTALL_DIR =
CGT_A8_ELF_INSTALL_DIR =
EXEC_DIR = /home/lcdkl138/arm9_FS