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.

Syslink up gradation error with linux kernel 2.6.37

Hello All,

I was using syslink version syslink_2_20_00_14 with my ezsdk 5514. EZSDK 5514 having file system linux 2.6.37.

Now I want to up grade my syslink to version syslink_2_20_02_20. I have copied the syslink_2_20_02_20 into ezsdk and build the same. Build was happened successfully with out any errors. But When I place the latest syslink.ko in file system and tried booting I am getting following errors. Please help me to get up working.

SysLink version : 2.20.02.20
SysLink module created on Date:Mar 20 2014 Time:15:14:22
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
Assertion at Line no: 414 in /work/ezsdk_5514/component-sources/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Linux/IpcDrv.c: (Ipc_isAttached(event->procId)) : failed
Unable to handle kernel NULL pointer dereference at virtual address 00000010
pgd = cd71c000
[00000010] *pgd=8d502031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
last sysfs file: /sys/kernel/uevent_seqnum
Modules linked in: syslink ipv6
CPU: 0 Not tainted (2.6.37 #1)
PC is at DLOAD_query_symbol+0x1c/0x90 [syslink]
LR is at ElfLoader_getSymbolAddress+0xb4/0x114 [syslink]
pc : [<bf05cfe0>] lr : [<bf059c34>] psr: a0000013
sp : cebdbd80 ip : cebdbdb8 fp : cebdbdb4
r10: bf0e0eb5 r9 : 00000000 r8 : cebdbeb0
r7 : 00000000 r6 : bf0e0eb5 r5 : d2c62000 r4 : d2c68000
r3 : cebdbeb0 r2 : bf0e0eb5 r1 : 00000000 r0 : 00000000
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 8d71c019 DAC: 00000015
Process firmware_loader (pid: 1146, stack limit = 0xcebda2e8)
Stack: (0xcebdbd80 to 0xcebdc000)
bd80: 492f7875 cebdbeb0 3a632e76 d2c68000 d2c62000 bf0e0eb5 00000000 cebdbeb0
bda0: 00000000 00000000 cebdbdec cebdbdb8 bf059c34 bf05cfd0 00000000 bf0e0eb5
bdc0: cebdbeb0 d0b02000 cebdbdfc d2c62000 cebdbeb0 bf0e0eb5 00000000 00000000
bde0: cebdbe1c cebdbdf0 bf04b54c bf059b8c 00000000 bf0e0eb5 cebdbeb0 bf073460
be00: d0b47000 d2c74000 bf0e0eb5 cebdbeb0 cebdbe54 cebdbe20 bf04ea50 bf04b488
be20: 00000000 bf0e0eb5 cebdbeb0 00000000 00000000 bf145c80 cd4db1e8 0000047a
be40: 00000000 00000000 cebdbee4 cebdbe58 bf06289c bf04e8ac 00000000 d0afefff
be60: 00000000 00000000 cebdbe94 cebdbe78 c006b2a4 c006b210 00000000 bf073514
be80: d0b02000 d0b02000 cebdbedc cebdbe98 bf07de90 bf073514 00000000 cebdbea8
bea0: c00b8228 d0aff000 00000000 bf145eb0 cebdbee4 cebdbec0 bf075128 00000000
bec0: d2c74000 cd4db1e8 0000047a 00000000 ce540880 ce03ce00 cebdbefc cebdbee8
bee0: bf062d38 bf062810 d2cf2000 bf1466c8 cebdbf34 cebdbf00 bf0d19e0 bf062d20
bf00: c00d592c c00d5200 bf049110 bf145988 cebdbf34 ce12f700 ce12f700 cd4db1e8
bf20: 00000006 c0046fa8 cebdbf64 cebdbf38 c00c985c bf0d1910 00000000 00000000
bf40: ce12f700 cebe7840 00000006 c0046fa8 cebda000 00000000 cebdbf84 cebdbf68
bf60: c00c6af4 c00c97b8 cebe7868 cebe7840 ce12f700 00000006 cebdbfa4 cebdbf88
bf80: c00c6b7c c00c6a94 00046abc 00000000 00008d8c 00000006 00000000 cebdbfa8
bfa0: c0046e00 c00c6b0c 00046abc 00000000 00000005 00000002 4002f064 00000002
bfc0: 00046abc 00000000 00008d8c 00000006 00000000 00000000 40063000 befe9b4c
bfe0: 00000000 befe9b30 400fa4dc 400fad24 80000010 00000005 e1a04001 e5963024
Backtrace:
[<bf05cfc4>] (DLOAD_query_symbol+0x0/0x90 [syslink]) from [<bf059c34>] (ElfLoader_getSymbolAddress+0xb4/0x114 [syslink])
[<bf059b80>] (ElfLoader_getSymbolAddress+0x0/0x114 [syslink]) from [<bf04b54c>] (Loader_getSymbolAddress+0xd0/0x160 [syslink])
r8:00000000 r7:00000000 r6:bf0e0eb5 r5:cebdbeb0 r4:d2c62000
[<bf04b47c>] (Loader_getSymbolAddress+0x0/0x160 [syslink]) from [<bf04ea50>] (ProcMgr_getSymbolAddress+0x1b0/0x280 [syslink])
r7:cebdbeb0 r6:bf0e0eb5 r5:d2c74000 r4:d0b47000
[<bf04e8a0>] (ProcMgr_getSymbolAddress+0x0/0x280 [syslink]) from [<bf06289c>] (Platform_stopCallback+0x98/0x510 [syslink])
[<bf062804>] (Platform_stopCallback+0x0/0x510 [syslink]) from [<bf062d38>] (Platform_terminateHandler+0x24/0x30 [syslink])
[<bf062d14>] (Platform_terminateHandler+0x0/0x30 [syslink]) from [<bf0d19e0>] (IpcDrv_drvclose+0xdc/0x2ac [syslink])
r5:bf1466c8 r4:d2cf2000
[<bf0d1904>] (IpcDrv_drvclose+0x0/0x2ac [syslink]) from [<c00c985c>] (fput+0xb0/0x16c)
r8:c0046fa8 r7:00000006 r6:cd4db1e8 r5:ce12f700 r4:ce12f700
[<c00c97ac>] (fput+0x0/0x16c) from [<c00c6af4>] (filp_close+0x6c/0x78)
[<c00c6a88>] (filp_close+0x0/0x78) from [<c00c6b7c>] (sys_close+0x7c/0xb0)
r7:00000006 r6:ce12f700 r5:cebe7840 r4:cebe7868
[<c00c6b00>] (sys_close+0x0/0xb0) from [<c0046e00>] (ret_fast_syscall+0x0/0x30)
r7:00000006 r6:00008d8c r5:00000000 r4:00046abc
Code: e24dd00c e50b3030 e1a09001 e1a0a002 (e5906010)
---[ end trace 032b88a3a5726615 ]---
Segmentation fault
Loading HDVPSS 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
eth0: no IPv6 routers present

  • Naveen,

    I'm wondering if the SDK team modified the SysLink release. Sometimes they make internal changes to SysLink or have special makefiles for building it. You might try to download the original SysLink release used by the SDK team and compare it with their copy. If you find any changes, apply the same change to your new download of SysLink.

    What device are you on?

    Would you provide a link to the SDK you are using.

    ~Ramsey

  • Ramsey,

    Thanks a lot for the reply.

    I am working on Netra TI DM8168 EVM. 

    I am using EZSDK v5.05.01.04 that was release with syslink version syslink_2_20_00_14. But I want to up grade the syslink version to syslink_2_20_02_20 with same EZSDK. 

    I have copied the syslink_2_20_02_20 copy into my ezsdk and built the sdk, it was properly built. Then I have taken the syslink.ko and copied into EZSDK 5.05.01.14 file system and tried booting the board but it was not booting it fails to load syslink.ko as a result it prompting the error which I have pasted in my first post. 

     

     

  • Hello,

    EZSDK 5.05.02 is using syslink_2_20_02_20.

    You could try to move to the latest EZSDK  for DM8168.

    Best Regards,

    Margarita

  • Hello ,

    I have checked this issue syslink_2_20_02_20 with EZSDK 5.05.01.14.

    Could you try to cp not only syslink module copy all rebuilt modules. Also copy and new usr folder after "make install" command.

    Let me know.

    Best Regards,

    Margarita