Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    UNSOLVED MV-MIPI-SC130M on RPi4 Ubuntu Server 20.04 LTI(arm64)

    General Discussion
    2
    6
    537
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      skyhorizon last edited by

      请问如何在Ubuntu上配置MV-MIPI-SC130摄像头的驱动?
      项目需要在树莓派4B(64位Ubuntu20.04LTI)上配置MV-MIPI-SC130摄像头的驱动,因为未找到对应预编译版本,故而在PC上尝试搭建交叉编译系统。系统版本 开发环境
      根据教程从源代码构建 rpi/zh 驱动程序,我需要在修改同路径下的KConfig和Makefile,增加对应camera驱动,由于缺乏详细说明或针对MV相机的相关示例,我不确定如何进行修改,同时我无法找到版本匹配的dts文件。想请教一下Kconfig等配置文件的修改方法以及安装适配摄像头驱动的解决方案(由于系统上已经配置了开发环境,希望尽可能避免重装系统)

      veye_xumm 1 Reply Last reply Reply Quote 0
      • veye_xumm
        veye_xumm @skyhorizon last edited by

        @skyhorizon
        最简单的办法是在树莓派上直接编译,而不是在pc上交叉编译。
        从树莓派上直接编译吧,简单很多。

        S 1 Reply Last reply Reply Quote 0
        • S
          skyhorizon @veye_xumm last edited by

          @veye_xumm 我已经尝试了在本地编译驱动程序,我在raspberrypi_v4l2/driver_source/cam_drv_src/rpi-5.x_all目录下使用5.4.0-1080-raspi内核编译通过,生成了veye_mvcam.ko文件。
          但是我找不到对应版本5.4的dts文件和编译脚本,导致无法获得dtbo文件,我查看了其他版本的三个dts文件:
          /rpi-5.10.92+/veye_mvcam-overlay.dts
          /rpi-5.10.103+/veye_mvcam-overlay.dts
          /rpi-5.15.y/veye_mvcam-overlay.dts
          但我不确定他们能否用于5.4

          veye_xumm 1 Reply Last reply Reply Quote 0
          • veye_xumm
            veye_xumm @skyhorizon last edited by

            @skyhorizon 你的树莓派上pios的版本那么老吗?
            uname -a执行一下看看?

            S 1 Reply Last reply Reply Quote 0
            • S
              skyhorizon @veye_xumm last edited by

              @veye_xumm 确认是5.4,这是Ubuntu server 20.04LTS arm64

              veye_xumm 1 Reply Last reply Reply Quote 0
              • veye_xumm
                veye_xumm @skyhorizon last edited by

                @skyhorizon 哦。这个版本比较老了,我们暂时没有提供对应的ko,如果你一定要用这个版本的pios,建议从代码移植一下驱动。
                如果可能的话,升级一下piOs最好了。

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post