• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM814x and AM387x Processors Forum » add v4l2 driver in 8148 EVM
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

add v4l2 driver in 8148 EVM

add v4l2 driver in 8148 EVM

This question is not answered
jianxun zhan
Posted by jianxun zhan
on Feb 29 2012 04:30 AM
Prodigy105 points

hi,

I can not add v4l2 driver in 8148 EVM.

My kernel is uImage-dm814x-evm.bin of ezsdk5.03..

My bootargs are: console=ttyO0,115200n8 rootwait rw mem=256M earlyprintk notifyk.vpssm3_sva=0xa0000000 vram=50M ti814xfb.vram=0:16M,1:16M,2:6M root=/dev/nfs nfsroot=192.168.2.76:/root/targetfs ip=192.168.2.79

But,

when i  insmod vpss.ko

Serial print error:

notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
......................

notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
VPSS_CORE : Failed to init fvid2 interface,
vpss: probe of vpss failed with error -22
VPSS_CORE : failed to register ti81xx-vpss driver

Regards,

zhan

dm8148 VPSS V4L2 DM8148 v4l2
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • HardikShah
    Posted by HardikShah
    on Feb 29 2012 04:37 AM
    Mastermind20155 points

    Hi,

    I think you forgot to load the binary. Following are the steps to be followed to load binary.

    http://processors.wiki.ti.com/index.php/TI81XX_VPSS_Video_Driver_User_Guide#Load_VPSS.2C_Fbdev.2C_and_V4L2_Display_Driver_Modules

    Regards,

    Hardik Shah

    Regards,

    Hardik Shah




    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jianxun zhan
    Posted by jianxun zhan
    on Feb 29 2012 20:51 PM
    Prodigy105 points

    Shah,

    Thanks for your help

    My steps were:

    1.In the Linux boot process ,

    ...................................

    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    VPSS_CORE : Failed to init fvid2 interface,
    vpss: probe of vpss failed with error -22
    VPSS_CORE : failed to register ti81xx-vpss driver
    FATAL: Error inserting ti81xxhdmi (/lib/modules/2.6.37/kernel/drivers/video/ti81
    xx/ti81xxhdmi/ti81xxhdmi.ko): No such device
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    ......................

    2.but i can login on my 8148EVM,i do

    root@dm814x-evm:/# lsmod
    Module                  Size  Used by
    bufferclass_ti          4946  0
    pvrsrvkm              155474  1 bufferclass_ti
    tlc59108                1545  0
    syslink              1112651  0
    ipv6                  209855  12
    root@dm814x-evm:/# cd TI814x-HDVPSS-01.00.01.33/
    root@dm814x-evm:/TI814x-HDVPSS-01.00.01.33# ls
    slaveloader              ti81xxfb.ko              tlc59108.ko
    syslink.ko               ti81xxhdmi.ko            tvp7002.ko
    ti814x_hdvpss_1G.xem3    ti81xxvin.ko             vpss.ko
    ti814x_hdvpss_512M.xem3  ti81xxvo.ko
    root@dm814x-evm:/TI814x-HDVPSS-01.00.01.33# ./slaveloader startup VPSS-M3 ti814x

    _hdvpss_1G.xem3
    Attached to slave procId 2.
    Loaded file ti814x_hdvpss_1G.xem3 on slave procId 2.
    Started slave procId 2.
    root@dm814x-evm:/TI814x-HDVPSS-01.00.01.33#
    root@dm814x-evm:/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss# ls
    vpss.ko
    root@dm814x-evm:/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss#
    root@dm814x-evm:/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss# insmod vps

    s.ko sbufaddr=0xa0200000
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    VPSS_CORE : Failed to init fvid2 interface,
    vpss: probe of vpss failed with error -22
    VPSS_CORE : failed to register ti81xx-vpss driver
    insmod: error inserting 'vpss.ko': -1 No such device
    root@dm814x-evm:/lib/modules/2.6.37/kernel/drivers/video/ti81xx/vpss#


    Will you help me?

    thanks

    zhan


    DM814x VPSS DM81xx V4L2 DM8148 v4l2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • HardikShah
    Posted by HardikShah
    on Feb 29 2012 22:14 PM
    Mastermind20155 points

    Hi,

    It seems you have 512MB board and you are trying to load 1G binary. Please confirm that you have 1GB board and not 512MB board. If you have 512MB board u-boot will also require change. which PSP release are you using?

    Regards,

    Hardik Shah

    Regards,

    Hardik Shah




    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jianxun zhan
    Posted by jianxun zhan
    on Mar 01 2012 02:35 AM
    Prodigy105 points

    Shah,

    Thanks for the very quick response.

    I think i have 512MB board.I change my u-boot argument,but result is same!

    The bootargs are:

    bootfile=uImage-dm814x-evm.bin
    bootargs=console=ttyO0,115200n8 rootwait rw mem=256M earlyprintk notifyk.vpssm3_
    sva=0x8DB00000 vram=50M ti814xfb.vram=0:16M,1:16M,2:6M root=/dev/nfs nfsroot=192
    .168.2.76:/root/targetfs ip=192.168.2.79

    PSP:linux-2.6.37-psp04.01.00.06.patch2

    Can you tell me how to do it? Could you provide the bootargs and all steps to load M3 firware and modules?

    Thanks,

    zhan

    dm8148 VPSS M3 V4L2 Linux DM8148 v4l2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • HardikShah
    Posted by HardikShah
    on Mar 01 2012 05:58 AM
    Mastermind20155 points

    Hi,

    I think you have to change u-boot code also for 512MB board. You can refer to u-boot userGuide for same. Further you need to load 512MB .xem3 which is packaged with PSP.

    Regards,

    Hardik Shah

    Regards,

    Hardik Shah




    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yihe
    Posted by yihe
    on Mar 01 2012 13:39 PM
    Expert6380 points

    Zhan,

    the firmware inside PSP release is different with the one in EZSDK, they have different memory map.

    for the EZSDK firmware: please read below link:

    http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map#Changing_Memory_Map_For_512MB_Board

    for PSP firmware, please read below link:

    http://processors.wiki.ti.com/index.php/DM814X_AM387X_VPSS_Video_Driver_User_Guide#Read_This_First

    Regards,

    yihe

    PS: Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jun_Zhang
    Posted by Jun_Zhang
    on May 02 2012 13:46 PM
    Expert2425 points

    Hi Hardik,

    If I want to work on v4l2 capture, do I still have to use 512MB .xem3 or still use dm814x_hdvpss_v4l2.xem3?

    Please confirm this.

    Thanks,

    Jun

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • HardikShah
    Posted by HardikShah
    on May 08 2012 03:06 AM
    Mastermind20155 points

    Hi,

    Replied in below thread@http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/186056/672537.aspx#672537

    Regards,

    Hardik Shah




    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use