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.

Can lower version of the kernel use Syslink it? For example, Linux-2-6-33.

Other Parts Discussed in Thread: OMAP-L138, DA8XX, PMP

I used linux-2-6-33,it succeed when insmod syslink.ko.

But it prints the following statement when runs the application --Ipc_attach: Ipc_procSyncStart failed!

Someone told me maybe the version of kernel is the problem.I wonder to know it is true? Who can help me?

  • Hello Yezi,

    What is the feedback from dmesg after the syslink.ko is loaded? For proper work it is mandatory to rebuild your kernel modules if the version of the kernel has been changed.

    Best regards,
    Kemal

  • Thank you very much for your reply!

    After the syslink.ko is loaded,when I input the command "dmesg | less",the feedback from dmesg  is following:

    Linux version 2.6.33-rc4 (tl@tl-desktop) (gcc version 4.3.3 (Sourcery G++ Lite

    2009q1-203) ) #1 PREEMPT Tue Jan 13 02:41:45 HKT 2015

    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

    CPU: VIVT data cache, VIVT instruction cache

    Machine: DaVinci DA850/OMAP-L138/AM18xx EVM

    Memory policy: ECC disabled, Data cache writeback

    On node 0 totalpages: 8192

    free_area_init_node: node 0, pgdat c043d858, node_mem_map c045e000

      DMA zone: 64 pages used for memmap

      DMA zone: 0 pages reserved

      DMA zone: 8128 pages, LIFO batch:0

    DaVinci da850/omap-l138 variant 0x0

    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128

    Kernel command line: console=ttyS1,115200n8 root=/dev/mtdblock4 rw rootfstype=j

    ffs2 mem=32M@0xc0000000

    PID hash table entries: 128 (order: -3, 512 bytes)

    Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

    Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

    Memory: 32MB = 32MB total

    Memory: 28012KB available (3988K code, 306K data, 136K init, 0K highmem)

    SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    Hierarchical RCU implementation.

    NR_IRQS:245

    Console: colour dummy device 80x30
    Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 144 gpio irqs
    regulator: core version 0.5
    NET: Registered protocol family 16
    Cannot open GPIO 11
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    libata version 3.00 loaded.
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    tps6507x 1-0048: Read from reg 0xd failed
    set_machine_constraints: failed to enable VDCDC1
    tps6507x 1-0048: failed to register tps6507x-pmic regulator
    i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)
    Switching to clocksource timer0_1
    musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0

    Waiting for USB PHY clock good...
    DA830 OTG revision 4ea11003, PHY 22972, control 00
    musb_hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn)
    musb_hdrc: MHDRC RTL version 1.800
    musb_hdrc: setup fifo_mode 2
    musb_hdrc: 8/9 max ep, 3904/4096 memory
    musb_hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    Registered /proc/driver/musb_hdrc
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    EMAC: MII PHY configured, RMII PHY will not be functional
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 54
    io scheduler noop registered (default)
    da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LK043T1DG01 panel
    da850 led init !!!!
    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
    console [ttyS1] enabled
    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
    brd: module loaded
    ahci ahci: version 3.0
    ahci ahci: forcing PORTS_IMPL to 0x1
    ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc
    scsi0 : ahci

    ata1: SATA max UDMA/133 irq 67
    NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-b
    it)
    NAND_ECC_NONE selected by board driver. This is not recommended !!
    Bad block table not found for chip 0
    Bad block table not found for chip 0
    Scanning device for bad blocks
    Bad eraseblock 1626 at 0x00000cb40000
    Bad eraseblock 1846 at 0x00000e6c0000
    Bad block table written to 0x00001ffe0000, version 0x01
    Bad block table written to 0x00001ffc0000, version 0x01
    Creating 5 MTD partitions on "davinci_nand.1":
    0x000000000000-0x000000020000 : "u-boot env"
    0x000000020000-0x000000040000 : "UBL"
    0x000000040000-0x0000000c0000 : "u-boot"
    0x000000200000-0x000000600000 : "kernel"
    0x000000600000-0x000020000000 : "jffs2"
    davinci_nand davinci_nand.1: controller rev. 2.5
    console [netcon0] enabled
    netconsole: network logging started
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

    ohci ohci.0: DA8xx OHCI
    ohci ohci.0: new USB bus registered, assigned bus number 2
    ohci ohci.0: irq 59, io mem 0x01e25000
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    omap_rtc: RTC power up reset detected
    omap_rtc: already running
    i2c /dev entries driver
    Linux video capture interface: v2.00
    watchdog watchdog: heartbeat 60 sec
    cpuidle: using governor ladder
    cpuidle: using governor menu
    davinci_mmc davinci_mmc.0: max_phys_segs=16
    davinci_mmc davinci_mmc.0: max_hw_segs=16
    davinci_mmc davinci_mmc.0: max_blk_size=4095
    davinci_mmc davinci_mmc.0: max_req_size=268365825

    davinci_mmc davinci_mmc.0: max_seg_size=2097120
    mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
    davinci_mmc davinci_mmc.0: clock 0Hz busmode 1 powermode 0 Vdd 0000
    davinci_mmc davinci_mmc.0: Disabling 4 bit mode
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    Advanced Linux Sound Architecture Driver Version 1.0.21.
    usbcore: registered new interface driver snd-usb-audio
    No device for DAI tlv320aic3x
    asoc: tlv320aic3x <-> davinci-i2s mapping ok
    ALSA device list:
    #0: DA850/OMAP-L138 EVM (tlv320aic3x)
    TCP cubic registered
    NET: Registered protocol family 17
    Clocks: disable unused emac
    Clocks: disable unused spi0
    Clocks: disable unused spi1
    ata1: SATA link down (SStatus 0 SControl 300)
    davinci_emac_probe: using random MAC addr: 1e:18:75:cb:4a:cf
    emac-mii: probed

    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:09:11 UTC (946685351)
    usb 2-1: new full speed USB device using ohci and address 2
    usb 2-1: not running at top speed; connect to a high speed hub
    hub 2-1:1.0: USB hub found
    hub 2-1:1.0: 4 ports detected
    Empty flash at 0x00c5f5e4 ends at 0x00c5f800
    Empty flash at 0x0362f03c ends at 0x0362f800
    Empty flash at 0x092821e8 ends at 0x09282800
    Empty flash at 0x092889e4 ends at 0x09289000
    Empty flash at 0x0928d064 ends at 0x0928d800
    Empty flash at 0x0afe7b0c ends at 0x0afe8000
    Empty flash at 0x0ccce604 ends at 0x0ccce800
    Empty flash at 0x0cf28aa0 ends at 0x0cf29000
    Empty flash at 0x0e7d0874 ends at 0x0e7d1000
    Empty flash at 0x0e7d8110 ends at 0x0e7d8800
    Empty flash at 0x0ee60bf8 ends at 0x0ee61000
    Empty flash at 0x0ee648fc ends at 0x0ee65000
    Empty flash at 0x0f60780c ends at 0x0f608000
    Empty flash at 0x18fd78e0 ends at 0x18fd8000
    Empty flash at 0x1bc8d198 ends at 0x1bc8d800
    Empty flash at 0x1c351080 ends at 0x1c351800

    Empty flash at 0x1c735e28 ends at 0x1c736000
    Empty flash at 0x1d0f9f50 ends at 0x1d0fa000
    VFS: Mounted root (jffs2 filesystem) on device 31:4.
    Freeing init memory: 136K
    udev: starting version 141
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:00, id=221613)
    PHY: 1:00 - Link is Up - 100/Full
    JFFS2 notice: (706) check_node_data: wrong data CRC in data node at 0x0f6076b0:
    read 0x448ba393, calculated 0x18d11529.
    JFFS2 notice: (706) check_node_data: wrong data CRC in data node at 0x09288530:
    read 0xc7b468eb, calculated 0x6ad07b63.
    JFFS2 notice: (706) check_node_data: wrong data CRC in data node at 0x0928c744:
    read 0x1f3e0344, calculated 0x9add14e7.
    JFFS2 notice: (706) check_node_data: wrong data CRC in data node at 0x18fd73a8:
    read 0x9a869f04, calculated 0xf8e3969d.
    JFFS2 notice: (706) check_node_data: wrong data CRC in data node at 0x0afe736c:
    read 0xeec8c820, calculated 0xbf85b427.
    JFFS2 notice: (706) check_node_data: wrong data CRC in data node at 0x0362e700:
    read 0xa7f1d130, calculated 0x9d47d205.
    JFFS2 notice: (706) check_node_data: wrong data CRC in data node at 0x0e7cffb8:
    read 0x926ad7b1, calculated 0x6ede8a77.
    JFFS2 notice: (706) check_node_data: wrong data CRC in data node at 0x1bc8c7d8:

    read 0x7dcc0404, calculated 0x828e7c36.
    JFFS2 notice: (706) check_node_data: wrong data CRC in data node at 0x0cccdd00:
    read 0x7b40131b, calculated 0x659da3db.
    JFFS2 notice: (706) check_node_data: wrong data CRC in data node at 0x09281728:
    read 0xcb67a6bc, calculated 0xcfa8e69.
    SysLink version : 2.21.02.10
    SysLink module created on Date:Mar 5 2015 Time:13:19:05
    Trace enabled
    Trace SetFailureReason enabled
    Trace class 3
    MemoryOS_map: pa=0x1c00000, va=0xfec00000, sz=0x400000

    ~

    (END)

    What is the problem in it?

  • Hello Yezi,

    I'm forwarding this thread to the OMAP team.
    Could you also specify which application you are running, this information might be useful for them.

    Thanks,
    Kemal
  • Hello Kemal,

    I did not understand what you mean:"Could you also specify which application you are running, this information might be useful for them."
    Are you asking me which application I am running?

    Can you speak in Chinese^_^?
  • Hello Yezi,

    As you have written in the description:

    "But it prints the following statement when runs the application --Ipc_attach: Ipc_procSyncStart failed!"

    Which application is this?

    Best regards,

    Kemal

  • Hello Kemal,

    Ex03_notify -- a example in syslink_2_21_02_10.

    what is your version of kernel on OMAP team?
  • Hi Yezi,

    Please restrain from opening duplicate threads in multiple forums - > http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/406208 

  • Hi Yezi,
    Always we recommend to use latest kernel version for SYSLINK since it depends on newer APIs from linux kernel.
    Let me try this at my end and will update.
    Have you tried DSPLINK examples on your board ?

  • Hello,

    I didn't try DSPLINK examples on my board. We choose to use SYSLINK according to the need of the project.
  • Hi yezi,

    As per this thread, you cannot use the kernel version: 2.6.33. It seems version greater than 2.6.37 is supported by syslink.

    e2e.ti.com/.../1090412



    Regards,
    Shankari
  • Hi Shankari,
    Thank you for your reply , this link has helped me a lot.
  • Hi Shankari,

    Thank you for your reply , this link has helped me a lot.

    Best regards,
    Yezi