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.

LINUXEZSDK-DAVINCI: SYSLINK examples gives memory map error

Part Number: LINUXEZSDK-DAVINCI

Hi,

We are working on EVMDM8168. We were trying to do Inter process communication between ARM and DSP using Syslink. We installed EZSDK and CodeSourcery from

 http://software-dl.ti.com/dsps/dsps_public_sw/ezsdk/latest/index_FDS.html

We did make all and copy the uImage and u-boot binary built to the SD Card. We also did make install of syslink examples and copy the created rootfs to SD Card. We stopped matrix and firmware since Syslink won't work with them running. We initialized Syslink and run Hello World example.  We seems to be getting memory remap error. We didn't change anything in Kernel source code or Syslink. We just uses the default code for testing purpose. Can anyone help me overcome this?

  • Hi,

    This is the log we were getting while running hello world application.
    dm816x-evm login: root
    root@dm816x-evm:~# /etc/init.d/pvr-init stop
    root@dm816x-evm:~#
    root@dm816x-evm:~# /etc/init.d/matrix-gui-e stop
    Stopping Matrix GUI application.
    root@dm816x-evm:~# lsmod
    Module Size Used by
    syslink 1134279 0
    ipv6 209855 12
    root@dm816x-evm:~#
    root@dm816x-evm:~# /etc/init.d/load-hd-firmware.sh stop
    Unloading HDVICP2 Firmware
    FIRMWARE: I2cInit will be done by M3
    FIRMWARE: Memory map bin file not passed
    Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <memory_map_file>] [-i2c <0|1>]
    ===Mandatory arguments===
    <Processor Id> 0: DSP, 1: Video-M3, 2: Vpss-M3
    <Location of Firmware> firmware binary file
    <start|stop> to start/stop the firmware
    ===Optional arguments===
    -mmap input memory map bin file name
    -i2c 0: i2c init not done by M3, 1(default): i2c init done by M3
    FIRMWARE: isI2cInitRequiredOnM3: 1
    FIRMWARE: Default memory configuration is used
    Firmware Loader debugging not configured
    Default FL_DEBUG: warning
    Allowed FL_DEBUG levels: error, warning, info, debug, log
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1
    FIRMWARE: 1 stop Successful
    Unloading HDVPSS Firmware
    ERROR: Module ti81xxfb does not exist in /proc/modules
    ERROR: Module ti81xxhdmi does not exist in /proc/modules
    ERROR: Module vpss does not exist in /proc/modules
    FIRMWARE: I2cInit will be done by M3
    FIRMWARE: Memory map bin file not passed
    Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <memory_map_file>] [-i2c <0|1>]
    ===Mandatory arguments===
    <Processor Id> 0: DSP, 1: Video-M3, 2: Vpss-M3
    <Location of Firmware> firmware binary file
    <start|stop> to start/stop the firmware
    ===Optional arguments===
    -mmap input memory map bin file name
    -i2c 0: i2c init not done by M3, 1(default): i2c init done by M3
    FIRMWARE: isI2cInitRequiredOnM3: 1
    FIRMWARE: Default memory configuration is used
    Firmware Loader debugging not configured
    Default FL_DEBUG: warning
    Allowed FL_DEBUG levels: error, warning, info, debug, log
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1
    FIRMWARE: 2 stop Successful
    Removed syslink kernel module
    root@dm816x-evm:~# lsmod
    Module Size Used by
    ipv6 209855 12
    root@dm816x-evm:~# modprobe syslink
    SysLink version : 2.20.02.20
    SysLink module created on Date:Dec 26 2012 Time:11:03:34
    root@dm816x-evm:~# lsmod
    Module Size Used by
    syslink 1134279 0
    ipv6 209855 12
    root@dm816x-evm:~# cd /usr/share/ti/syslink-examples/TI816X
    root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X#
    root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X# cd helloworld/
    root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/helloworld# ls
    app_host run.sh server_dsp.xe674 slaveloader
    root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/helloworld# ./run.sh
    + ./slaveloader startup DSP server_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    + ./app_host DSP
    BUG: Your driver calls ioremap() on system memory. This leads
    to architecturally unpredictable behaviour on ARMv6+, and ioremap()
    will fail in the next kernel release. Please fix your driver.
    ------------[ cut here ]------------
    WARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x190()
    Modules linked in: syslink ipv6 [last unloaded: syslink]
    Backtrace:
    [<c004abb8>] (dump_backtrace+0x0/0x110) from [<c039d8f4>] (dump_stack+0x18/0x1c)
    r7:00000000 r6:c004e76c r5:c045e2e6 r4:000000d3
    [<c039d8dc>] (dump_stack+0x0/0x1c) from [<c006fbfc>] (warn_slowpath_common+0x54/0x6c)
    [<c006fba8>] (warn_slowpath_common+0x0/0x6c) from [<c006fc38>] (warn_slowpath_null+0x24/0x2c)
    r9:00000002 r8:00000000 r7:bf197290 r6:0008e000 r5:00010000
    r4:00000000
    [<c006fc14>] (warn_slowpath_null+0x0/0x2c) from [<c004e76c>] (__arm_ioremap_pfn_caller+0x58/0x190)
    [<c004e714>] (__arm_ioremap_pfn_caller+0x0/0x190) from [<c004e928>] (__arm_ioremap_caller+0x64/0x6c)
    i[<c004e8c4>] (__arm_ioremap_caller+0x0/0x6c) from [<c0061624>] (omap_ioremap+0x60/0x64)
    r6:00000000 r5:00010000 r4:8e000000
    [<c00615c4>] (omap_ioremap+0x0/0x64) from [<bf197290>] (MemoryOS_map+0x1f0/0x3a8 [syslink])
    r7:cde4ddf0 r6:00000000 r5:cde4dd10 r4:d0807000
    [<bf1970a0>] (MemoryOS_map+0x0/0x3a8 [syslink]) from [<bf164c10>] (_ProcMgr_map+0x1cc/0x4ac [syslink])
    r8:cde4ddf0 r7:cde4ddf0 r6:00000000 r5:d3a32000 r4:d2d00000
    [<bf164a44>] (_ProcMgr_map+0x0/0x4ac [syslink]) from [<bf16500c>] (ProcMgr_map+0x11c/0x1b4 [syslink])
    [<bf164ef0>] (ProcMgr_map+0x0/0x1b4 [syslink]) from [<bf17a458>] (Platform_loadCallback+0x4ec/0x7e0 [syslink])
    [<bf179f6c>] (Platform_loadCallback+0x0/0x7e0 [syslink]) from [<bf1ae840>] (Ipc_control+0x68/0x14c [syslink])
    [<bf1ae7d8>] (Ipc_control+0x0/0x14c [syslink]) from [<bf1e8cac>] (IpcDrv_drvioctl+0xfc/0x60c [syslink])
    r7:00000005 r6:00000000 r5:cdd76c00 r4:c014f497
    [<bf1e8bb0>] (IpcDrv_drvioctl+0x0/0x60c [syslink]) from [<c00d521c>] (vfs_ioctl+0x28/0x44)
    [<c00d51f4>] (vfs_ioctl+0x0/0x44) from [<c00d592c>] (do_vfs_ioctl+0x500/0x540)
    [<c00d542c>] (do_vfs_ioctl+0x0/0x540) from [<c00d59c4>] (sys_ioctl+0x58/0x7c)
    [<c00d596c>] (sys_ioctl+0x0/0x7c) from [<c0046e00>] (ret_fast_syscall+0x0/0x30)
    r8:c0046fa8 r7:00000036 r6:0007f330 r5:c014f497 r4:bee82c2c
    ---[ end trace 13709cf35107120e ]---
    --> App_exec:
    App_exec: event received from procId=0
    <-- App_exec: 0
    + ./slaveloader shutdown DSP
    kernel BUG at include/linux/dcache.h:340!
    Unable to handle kernel NULL pointer dereference at virtual address 00000000
    pgd = cccb0000
    [00000000] *pgd=8d339031, *pte=00000000, *ppte=00000000
    Internal error: Oops: 817 [#1]
    last sysfs file: /sys/kernel/uevent_seqnum
    Modules linked in: syslink ipv6 [last unloaded: syslink]
    CPU: 0 Tainted: G W (2.6.37 #3)
    PC is at __bug+0x20/0x2c
    LR is at release_console_sem+0x198/0x1ac
    pc : [<c004a934>] lr : [<c0070518>] psr: 20000013
    sp : cde4ddf8 ip : cde4dd30 fp : cde4de04
    r10: cde4de70 r9 : ce73c800 r8 : cde4de64
    r7 : cde4ded0 r6 : ce73c880 r5 : cde4de70 r4 : 00000000
    r3 : 00000000 r2 : 00000001 r1 : 00005aec r0 : 00000030
    Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    Control: 10c5387d Table: 8ccb0019 DAC: 00000015
    Process slaveloader (pid: 1367, stack limit = 0xcde4c2e8)
    Stack: (0xcde4ddf8 to 0xcde4e000)
    dde0: cde4de24 cde4de08
    de00: c00d0d78 c004a920 ce074200 ce078078 cde4de70 cde4ded0 cde4de54 cde4de28
    de20: c00d0ff4 c00d0d08 00000064 cde4ded0 ce078078 cde4de70 00000000 ce7d2005
    de40: 00000010 cde4c000 cde4dea4 cde4de58 c00d2968 c00d0f80 c00b5ed4 cde4dee4
    de60: 0000000f 0023ee05 00000003 ce7d2001 ce73c880 ce074200 c00d14d4 00000003
    de80: ce7d2000 00001002 00000000 00001002 cde4c000 00000026 cde4df64 cde4dea8
    dea0: c00d3fd0 c00d2794 cde4dec4 cde4deb8 00000000 ce7d2000 ffffff9c 00000000
    dec0: 00001003 00000000 cde4df1c cde4c000 ce73c800 ce074280 c04de5b0 ffffffff
    dee0: cde4df34 ce73c800 ce074280 00000014 00000001 00000000 c039f92c c003c274
    df00: ce7d2000 0004954c 00000fff 00000000 0004954c 00001000 00000003 ce74bcc0
    df20: ce74bcc8 00000000 ce74bcc4 cde4c000 cde4df64 cde4df40 c00dcfc4 00000003
    df40: ce7d2000 00001002 00000000 ffffff9c cde4c000 00000000 cde4df94 cde4df68
    df60: c00c6c64 c00d3f08 00000000 c01b9a84 cde4dfa4 00000000 000827f4 0004954c
    df80: 00000005 c0046fa8 cde4dfa4 cde4df98 c00c6ce0 c00c6c0c 00000000 cde4dfa8
    dfa0: c0046e00 c00c6cc8 00000000 000827f4 0004954c 00001002 00000000 000f4240
    dfc0: 00000000 000827f4 0004954c 00000005 00000000 000824cc be8a89d0 00000000
    dfe0: 00001002 be8a89c8 0003065c 400d578c 60000010 0004954c 00000000 00000000
    Backtrace:
    [<c004a914>] (__bug+0x0/0x2c) from [<c00d0d78>] (__follow_mount+0x7c/0xb4)
    [<c00d0cfc>] (__follow_mount+0x0/0xb4) from [<c00d0ff4>] (do_lookup+0x80/0x134)
    r7:cde4ded0 r6:cde4de70 r5:ce078078 r4:ce074200
    [<c00d0f74>] (do_lookup+0x0/0x134) from [<c00d2968>] (link_path_walk+0x1e0/0xa4c)
    [<c00d2788>] (link_path_walk+0x0/0xa4c) from [<c00d3fd0>] (do_filp_open+0xd4/0x4d0)
    [<c00d3efc>] (do_filp_open+0x0/0x4d0) from [<c00c6c64>] (do_sys_open+0x64/0xa8)
    [<c00c6c00>] (do_sys_open+0x0/0xa8) from [<c00c6ce0>] (sys_open+0x24/0x28)
    r8:c0046fa8 r7:00000005 r6:0004954c r5:000827f4 r4:00000000
    [<c00c6cbc>] (sys_open+0x0/0x28) from [<c0046e00>] (ret_fast_syscall+0x0/0x30)
    Code: e1a01000 e59f000c eb0d4c50 e3a03000 (e5833000)
    ---[ end trace 13709cf35107120f ]---
    Segmentation fault
    root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/helloworld# Unable to handle kernel NULL pointer dereference at virtual address 00000040
    pgd = c0004000
    [00000040] *pgd=00000000
    Internal error: Oops: 17 [#2]
    last sysfs file: /sys/kernel/uevent_seqnum
    Modules linked in: syslink ipv6 [last unloaded: syslink]
    CPU: 0 Tainted: G D W (2.6.37 #3)
    PC is at __find_get_block_slow+0x18/0x12c
    LR is at __find_get_block+0x1c8/0x1e0
    pc : [<c00e9b80>] lr : [<c00ea17c>] psr: 60000013
    sp : ce7f3d20 ip : ce7f3d48 fp : ce7f3d44
    r10: 000b8004 r9 : ce60de28 r8 : ce0021c0
    r7 : 00000000 r6 : 00001000 r5 : 000b8004 r4 : 000b8004
    r3 : 00158004 r2 : 00001000 r1 : 000b8004 r0 : ce0021c0
    Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
    Control: 10c5387d Table: 8d3b4019 DAC: 00000017
    Process flush-179:0 (pid: 1054, stack limit = 0xce7f22e8)
    Stack: (0xce7f3d20 to 0xce7f4000)
    3d20: ce7f3ed0 00000001 000b8004 ce78d000 00001000 ce0739d8 ce7f3d8c ce7f3d48
    3d40: c00ea17c c00e9b74 ce1347e0 ce073118 ce073150 ce134930 ce073268 ce073508
    3d60: cdc3e560 c0547330 00000000 000b8004 ce78d000 00001000 00002400 ce0021c0
    3d80: ce7f3db4 ce7f3d90 c00ea1b0 c00e9fc0 000b8004 ce78d000 0002e025 00002400
    3da0: 0002e024 ce7f3e0c ce7f3dcc ce7f3db8 c00ed3d4 c00ea1a0 000b8004 ce78d000
    3dc0: ce7f3dfc ce7f3dd0 c0125e70 c00ed3d0 00000000 00000000 ce093ca0 ce093ca0
    3de0: 00000000 00000000 ce78d000 ce60de30 ce7f3e3c ce7f3e00 c0125f1c c0125dd0
    3e00: 00000000 0002e025 00000000 00000000 c01265d0 ce093ca0 00000000 ce7f3ed0
    3e20: ce093d44 00000000 ce60de28 ce60de30 ce7f3e4c ce7f3e40 c0126214 c0125eec
    3e40: ce7f3e6c ce7f3e50 c00e3f5c c0126200 00000000 ce093ca0 ce7f3ed0 ce60ddf0
    3e60: ce7f3ea4 ce7f3e70 c00e43ac c00e3e48 ce148f68 ce78d000 c00ca2ac ce78d040
    3e80: ce78d000 ce60ddf0 ce7f3ed0 ce093ca0 00000000 ce60de28 ce7f3ecc ce7f3ea8
    3ea0: c00e4958 c00e4318 00000000 00000000 ce60de30 ce60de28 ce60ddf0 ce7f3f3c
    3ec0: ce7f3f34 ce7f3ed0 c00e4b04 c00e4888 00000000 ce7f3f0c 000000d3 00000400
    3ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000024 00000000
    3f00: c03a1ad4 c03a1a9c 00000000 fffff51b ce7f3f3c 00000000 0000124c ce60ddf0
    3f20: 00000000 ce60de38 ce7f3f84 ce7f3f38 c00e4cac c00e4980 ce7f3f84 0000124c
    3f40: 00000000 00000000 00000003 00000000 00000000 00000000 c007a794 ce60ddf0
    3f60: 00000000 ce7f2000 ce60dd98 ce60de38 ce60de28 ce60de30 ce7f3fbc ce7f3f88
    3f80: c00e4d64 c00e4b80 ce60de04 ce60de20 c039e1b4 ce7f3fcc ce489ef8 ce60ddf0
    3fa0: c00e4ce4 00000000 00000000 00000000 ce7f3ff4 ce7f3fc0 c0086a88 c00e4cf0
    3fc0: ce489ef8 00000000 ce60ddf0 00000000 ce7f3fd0 ce7f3fd0 ce489ef8 c00869fc
    3fe0: c0072de8 00000013 00000000 ce7f3ff8 c0072de8 c0086a08 cc38c39b cefbd39b
    Backtrace:
    [<c00e9b68>] (__find_get_block_slow+0x0/0x12c) from [<c00ea17c>] (__find_get_block+0x1c8/0x1e0)
    r7:ce0739d8 r6:00001000 r5:ce78d000 r4:000b8004
    [<c00e9fb4>] (__find_get_block+0x0/0x1e0) from [<c00ea1b0>] (__getblk+0x1c/0x220)
    r8:ce0021c0 r7:00002400 r6:00001000 r5:ce78d000 r4:000b8004
    [<c00ea194>] (__getblk+0x0/0x220) from [<c00ed3d4>] (__bread+0x10/0xc0)
    [<c00ed3c4>] (__bread+0x0/0xc0) from [<c0125e70>] (ext2_get_inode+0xac/0x11c)
    r5:ce78d000 r4:000b8004
    [<c0125dc4>] (ext2_get_inode+0x0/0x11c) from [<c0125f1c>] (__ext2_write_inode+0x3c/0x314)
    [<c0125ee0>] (__ext2_write_inode+0x0/0x314) from [<c0126214>] (ext2_write_inode+0x20/0x24)
    [<c01261f4>] (ext2_write_inode+0x0/0x24) from [<c00e3f5c>] (writeback_single_inode+0x120/0x1c0)
    [<c00e3e3c>] (writeback_single_inode+0x0/0x1c0) from [<c00e43ac>] (writeback_sb_inodes+0xa0/0x108)
    r7:ce60ddf0 r6:ce7f3ed0 r5:ce093ca0 r4:00000000
    [<c00e430c>] (writeback_sb_inodes+0x0/0x108) from [<c00e4958>] (writeback_inodes_wb+0xdc/0xf8)
    [<c00e487c>] (writeback_inodes_wb+0x0/0xf8) from [<c00e4b04>] (wb_writeback+0x190/0x200)
    [<c00e4974>] (wb_writeback+0x0/0x200) from [<c00e4cac>] (wb_do_writeback+0x138/0x170)
    [<c00e4b74>] (wb_do_writeback+0x0/0x170) from [<c00e4d64>] (bdi_writeback_thread+0x80/0x14c)
    [<c00e4ce4>] (bdi_writeback_thread+0x0/0x14c) from [<c0086a88>] (kthread+0x8c/0x94)
    [<c00869fc>] (kthread+0x0/0x94) from [<c0072de8>] (do_exit+0x0/0x5e4)
    r7:00000013 r6:c0072de8 r5:c00869fc r4:ce489ef8
    Code: e24cb004 e24dd008 e5907004 e1a05001 (e5971040)
    ---[ end trace 13709cf351071210 ]---
    kernel BUG at include/linux/dcache.h:340!
    Unable to handle kernel NULL pointer dereference at virtual address 00000000
    pgd = ce74c000
    [00000000] *pgd=8e745031, *pte=00000000, *ppte=00000000
    Internal error: Oops: 817 [#3]
    last sysfs file: /sys/kernel/uevent_seqnum
    Modules linked in: syslink ipv6 [last unloaded: syslink]
    CPU: 0 Tainted: G D W (2.6.37 #3)
    PC is at __bug+0x20/0x2c
    LR is at release_console_sem+0x198/0x1ac
    pc : [<c004a934>] lr : [<c0070518>] psr: 20000013
    sp : ce42bd88 ip : ce42bcc0 fp : ce42bd94
    r10: ce42be00 r9 : ce73c800 r8 : ce42bdf4
    r7 : ce42be88 r6 : ce73c880 r5 : ce42be00 r4 : 00000000
    r3 : 00000000 r2 : 00000001 r1 : 00007850 r0 : 00000030
    Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    Control: 10c5387d Table: 8e74c019 DAC: 00000015
    Process init (pid: 1, stack limit = 0xce42a2e8)
    Stack: (0xce42bd88 to 0xce42c000)
    bd80: ce42bdb4 ce42bd98 c00d0d78 c004a920 ce074200 ce078078
    bda0: ce42be00 ce42be88 ce42bde4 ce42bdb8 c00d0ff4 c00d0d08 00000064 ce42be88
    bdc0: ce078078 ce42be00 ce42be38 ce7d4005 00000001 ce42a000 ce42be34 ce42bde8
    bde0: c00d2968 c00d0f80 00000000 ce42be9c 0000000b 0023ee05 00000003 ce7d4001
    be00: ce73c880 ce074200 00000004 ce42be88 ce42be88 ce42a000 ce42be38 ce7d4000
    be20: ce42a000 00000000 ce42be64 ce42be38 c00d32bc c00d2794 ce73c800 ce074280
    be40: ce42be88 ce7d4000 00000000 ffffff9c ce42bf08 00000000 ce42be84 ce42be68
    be60: c00d333c c00d3278 00000001 ce7d4000 ce42be88 ffffff9c ce42bf04 ce42be88
    be80: c00d3d1c c00d331c ce73c800 ce074280 00000000 c00cbdf0 00000001 ce73c800
    bea0: ce074280 00000005 00000001 00000000 00000000 00000dfa 00001180 00000001
    bec0: 00000000 00000000 ce42bee4 ce42bed8 c00546f8 0061302b ce42bf1c ce42bee8
    bee0: c008f228 bea478c8 ce42bf40 ce42bf08 000000c3 c0046fa8 ce42bf2c ce42bf08
    bf00: c00cc13c c00d3cc8 ce42bf24 ce42bf18 c00546f8 bea478c8 ce42bf40 00016cf8
    bf20: ce42bf3c ce42bf30 c00cc264 c00cc114 ce42bfa4 ce42bf40 c00cc288 c00cc250
    bf40: 0000004e c0046fa8 ce42a000 00000000 ce42bf7c ce42bf60 c008f390 bea47c08
    bf60: ce42bf80 0000004e c0046fa8 bea47c08 00000008 00000000 00000000 c007455c
    bf80: 50db1f05 000aee6c 0000008e bea47c1c bea47b48 00016ac4 00000000 ce42bfa8
    bfa0: c0046e00 c00cc274 bea47b48 00016ac4 0000de2c bea478c8 bea47b48 00000003
    bfc0: bea47b48 00016ac4 00016cf8 000000c3 bea47c38 0000a1d4 bea47c34 00000023
    bfe0: 00016968 bea478c8 0000c3f0 401e953c 20000010 0000de2c c438c3d3 cc78d793
    Backtrace:
    [<c004a914>] (__bug+0x0/0x2c) from [<c00d0d78>] (__follow_mount+0x7c/0xb4)
    [<c00d0cfc>] (__follow_mount+0x0/0xb4) from [<c00d0ff4>] (do_lookup+0x80/0x134)
    r7:ce42be88 r6:ce42be00 r5:ce078078 r4:ce074200
    [<c00d0f74>] (do_lookup+0x0/0x134) from [<c00d2968>] (link_path_walk+0x1e0/0xa4c)
    [<c00d2788>] (link_path_walk+0x0/0xa4c) from [<c00d32bc>] (path_walk+0x50/0xa4)
    [<c00d326c>] (path_walk+0x0/0xa4) from [<c00d333c>] (do_path_lookup+0x2c/0x54)
    [<c00d3310>] (do_path_lookup+0x0/0x54) from [<c00d3d1c>] (user_path_at+0x60/0x94)
    r7:ffffff9c r6:ce42be88 r5:ce7d4000 r4:00000001
    [<c00d3cbc>] (user_path_at+0x0/0x94) from [<c00cc13c>] (vfs_fstatat+0x34/0x64)
    r8:c0046fa8 r7:000000c3 r6:ce42bf08 r5:ce42bf40 r4:bea478c8
    [<c00cc108>] (vfs_fstatat+0x0/0x64) from [<c00cc264>] (vfs_stat+0x20/0x24)
    r6:00016cf8 r5:ce42bf40 r4:bea478c8
    [<c00cc244>] (vfs_stat+0x0/0x24) from [<c00cc288>] (sys_stat64+0x20/0x3c)
    [<c00cc268>] (sys_stat64+0x0/0x3c) from [<c0046e00>] (ret_fast_syscall+0x0/0x30)
    r5:00016ac4 r4:bea47b48
    Code: e1a01000 e59f000c eb0d4c50 e3a03000 (e5833000)
    ---[ end trace 13709cf351071211 ]---
    Kernel panic - not syncing: Attempted to kill init!
    Backtrace:
    [<c004abb8>] (dump_backtrace+0x0/0x110) from [<c039d8f4>] (dump_stack+0x18/0x1c)
    r7:ce428000 r6:ce428000 r5:c004a936 r4:c0523750
    [<c039d8dc>] (dump_stack+0x0/0x1c) from [<c039d958>] (panic+0x60/0x17c)
    [<c039d8f8>] (panic+0x0/0x17c) from [<c0072e5c>] (do_exit+0x74/0x5e4)
    r3:c04f583c r2:ce42bb58 r1:ce4280fc r0:c0467f4e
    [<c0072de8>] (do_exit+0x0/0x5e4) from [<c004af64>] (die+0x29c/0x2d8)
    [<c004acc8>] (die+0x0/0x2d8) from [<c004dba0>] (__do_kernel_fault+0x6c/0x8c)
    [<c004db34>] (__do_kernel_fault+0x0/0x8c) from [<c03a1954>] (do_page_fault+0x1f0/0x20c)
    r9:00000817 r8:ce742034 r7:ce742000 r6:ce428000 r5:ce42bd40
    r4:00010000
    [<c03a1764>] (do_page_fault+0x0/0x20c) from [<c003c2a4>] (do_DataAbort+0x3c/0x9c)
    [<c003c268>] (do_DataAbort+0x0/0x9c) from [<c039f92c>] (__dabt_svc+0x4c/0x60)
    Exception stack(0xce42bd40 to 0xce42bd88)
    bd40: 00000030 00007850 00000001 00000000 00000000 ce42be00 ce73c880 ce42be88
    bd60: ce42bdf4 ce73c800 ce42be00 ce42bd94 ce42bcc0 ce42bd88 c0070518 c004a934
    bd80: 20000013 ffffffff
    r8:ce42bdf4 r7:ce42be88 r6:ce73c880 r5:ce42bd74 r4:ffffffff
    [<c004a914>] (__bug+0x0/0x2c) from [<c00d0d78>] (__follow_mount+0x7c/0xb4)
    [<c00d0cfc>] (__follow_mount+0x0/0xb4) from [<c00d0ff4>] (do_lookup+0x80/0x134)
    r7:ce42be88 r6:ce42be00 r5:ce078078 r4:ce074200
    [<c00d0f74>] (do_lookup+0x0/0x134) from [<c00d2968>] (link_path_walk+0x1e0/0xa4c)
    [<c00d2788>] (link_path_walk+0x0/0xa4c) from [<c00d32bc>] (path_walk+0x50/0xa4)
    [<c00d326c>] (path_walk+0x0/0xa4) from [<c00d333c>] (do_path_lookup+0x2c/0x54)
    [<c00d3310>] (do_path_lookup+0x0/0x54) from [<c00d3d1c>] (user_path_at+0x60/0x94)
    r7:ffffff9c r6:ce42be88 r5:ce7d4000 r4:00000001
    [<c00d3cbc>] (user_path_at+0x0/0x94) from [<c00cc13c>] (vfs_fstatat+0x34/0x64)
    r8:c0046fa8 r7:000000c3 r6:ce42bf08 r5:ce42bf40 r4:bea478c8
    [<c00cc108>] (vfs_fstatat+0x0/0x64) from [<c00cc264>] (vfs_stat+0x20/0x24)
    r6:00016cf8 r5:ce42bf40 r4:bea478c8
    [<c00cc244>] (vfs_stat+0x0/0x24) from [<c00cc288>] (sys_stat64+0x20/0x3c)
    [<c00cc268>] (sys_stat64+0x0/0x3c) from [<c0046e00>] (ret_fast_syscall+0x0/0x30)
    r5:00016ac4 r4:bea47b48
  • Hello,

    The syslink samples use a different memory map from the default EZSDK installation. In order to run syslink examples, you must boot with a different memory for linux. When booting, ensure that the linux bootargs is changed from the default values to MEM=169M.
    The syslink samples cannot be run out with graphics or firmware loaded. Please execute the following steps to teardown the graphics plane and ensure that no firmware is running.
    You must execute:
    target # /etc/init.d/pvr-init stop
    target # /etc/init.d/matrix-gui-e stop
    target # /etc/init.d/load-hd-firmware.sh stop

    For additional information, please refer the software guide.

    Hope this helps.

    BR
    Margarita
  • Hi Margarita,

    We did the same steps an mentioned in Software Guide. We did
    setenv bootargs "MEM=169M"
    after booting we did all those steps as you can seen in the log.
  • Hello,

    Ar you using the default EZSDK?
    Is it custom board or EVM?

    BR
    Margarita
  • Yes. We were using default EZSDK. It's a EVM board only.
  • Hello,

    Please make sure that you have changed the bootargs correctly.
    You could execute this cat /proc/cmdline
    The syslink examples was working perfectly fine on EZSDK 5.05.02
    Here is some useful links:
    processors.wiki.ti.com/.../SysLink_FAQs
    processors.wiki.ti.com/.../SysLink_UserGuide

    BR
    Margarita
  • Hello,

    In additional, please refer the below thread:
    e2e.ti.com/.../426680

    BR
    Margarita
  • Hi, after executing cat /proc/cmdline, So we found the following bootargs.
    Old bootargs : 'console=ttyO2,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 ip=off noinitrd'

    Updated bootargs: 'console=ttyO2,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=169M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 ip=off noinitrd'

    After, we able to run the syslink example in linux, But the DSP side not responding in CCS, though DSP is shown as running in CCS and we were loading demo application from VOLIB, we didn't get any output in CCS console.

  • Now we were able to get the output in CCS Console, but CCS seems to go into some Unknown state in one System API Call. I think at this moment, I needs to check with DaVinci supporting partners. Thanks for the help.