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.

How to create syslink.ko module



For creating the syslink.ko module, which option I need to select in linux menuconfig. Please help mw.

Thanks in advance

regards,

Salih

  • Hi Salih,

    Syslink kernel module is an out-of-tree module i.e its code resides outside the kernel tree. To build the syslink.ko, you can run 'make syslink' from the toplevel EZSDK. The source code for syslink is present in component-sources/syslink_xx_yy_pp_bb

  • Hi Siddarth,

    Thanks Siddarth. Here actually I am trying to insert the module ti81xxfb.ko. To insert this module, I need to insert vpss.ko, ti81xxvo.ko. Actually I don't know whether the syslink.ko module is needed or not. While I inserting the vpss.ko the kernel is crashing. How can I insert the ti81xxfb.ko module,

    Thanks in advance.

    Regards,

    Salih

  • 
    
    Hi Siddarth,
    This is the crashing message I am getting during the insertion of vpss.ko module. I am using AM389x_ti8168 processor. Please give me the solution for this issue soon.
    
    
    ------------[ cut here ]------------
    WARNING: at drivers/dsp/syslink/omap_notify/notify.c:776 notify_send_event+0xd4/0x26c()
    Modules linked in: vpss(+) g_zero [last unloaded: g_multi]
    Backtrace:
    [<c0048138>] (dump_backtrace+0x0/0x110) from [<c0369954>] (dump_stack+0x18/0x1c)
    r7:00000000 r6:c02d492c r5:c045b6fd r4:00000308
    [<c036993c>] (dump_stack+0x0/0x1c) from [<c006ad18>] (warn_slowpath_common+0x54/0x6c)
    [<c006acc4>] (warn_slowpath_common+0x0/0x6c) from [<c006ad54>] (warn_slowpath_null+0x24/0x2c)
    r9:ccac54c0 r8:00000001 r7:00000002 r6:00000000 r5:00000009
    r4:00000000
    [<c006ad30>] (warn_slowpath_null+0x0/0x2c) from [<c02d492c>] (notify_send_event+0xd4/0x26c)
    [<c02d4858>] (notify_send_event+0x0/0x26c) from [<bf023aa0>] (vps_fvid2_init+0x164/0x490 [vpss])
    [<bf02393c>] (vps_fvid2_init+0x0/0x490 [vpss]) from [<bf0230c0>] (vps_probe+0x60/0x160 [vpss])
    [<bf023060>] (vps_probe+0x0/0x160 [vpss]) from [<c0206a28>] (platform_drv_probe+0x20/0x24)
    r7:ccb38600 r6:bf0318b0 r5:c049f9c8 r4:c049f9c8
    [<c0206a08>] (platform_drv_probe+0x0/0x24) from [<c0205994>] (driver_probe_device+0xd0/0x190)
    [<c02058c4>] (driver_probe_device+0x0/0x190) from [<c0205abc>] (__driver_attach+0x68/0x8c)
    r7:ccb38600 r6:bf0318b0 r5:c049f9fc r4:c049f9c8
    [<c0205a54>] (__driver_attach+0x0/0x8c) from [<c0205140>] (bus_for_each_dev+0x50/0x84)
    r7:ccb38600 r6:bf0318b0 r5:c0205a54 r4:00000000
    [<c02050f0>] (bus_for_each_dev+0x0/0x84) from [<c02057b8>] (driver_attach+0x20/0x28)
    r6:bf0318b0 r5:bf03189c r4:00000000
    [<c0205798>] (driver_attach+0x0/0x28) from [<c0204a18>] (bus_add_driver+0xb4/0x234)
    [<c0204964>] (bus_add_driver+0x0/0x234) from [<c0205df4>] (driver_register+0xb0/0x13c)
    [<c0205d44>] (driver_register+0x0/0x13c) from [<c0206d14>] (platform_driver_register+0x4c/0x60)
    r9:cbe7e000 r8:bf037000 r7:401fe008 r6:00012008 r5:bf03189c
    r4:00000000
    [<c0206cc8>] (platform_driver_register+0x0/0x60) from [<c0206d48>] (platform_driver_probe+0x20/0x70)
    [<c0206d28>] (platform_driver_probe+0x0/0x70) from [<bf037030>] (vps_init+0x30/0x5c [vpss])
    r5:bf031c1c r4:00000000
    [<bf037000>] (vps_init+0x0/0x5c [vpss]) from [<c003942c>] (do_one_initcall+0xd0/0x1a4)
    [<c003935c>] (do_one_initcall+0x0/0x1a4) from [<c0096534>] (sys_init_module+0x9c/0x1bc)
    [<c0096498>] (sys_init_module+0x0/0x1bc) from [<c0044380>] (ret_fast_syscall+0x0/0x30)
    r7:00000080 r6:00000003 r5:00100000 r4:00000000
    ---[ end trace 95cb0bcae8ab31f2 ]---
    notify_send_event failed! status = 0xfffffff3
    
    
    Thanks in advance.
    Regards,
    Salih