VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    VEYE_MIPI_IMX462编译raspberrypi_v4l2报错

    Scheduled Pinned Locked Moved VEYE MIPI camera
    4 Posts 2 Posters 1.8k Views 1 Watching
    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.
    • X Offline
      xmy
      last edited by

      我用的是VEYE_MIPI_IMX462, 主板是树莓派4B, 内核版本是Linux_5.10, 32位。我的需求是在树莓派4B上从源代码编译raspberrypi_v4l2。可当我进入到源代码的rpi-5.x_all路径下进行指令make时, 报错如下,请帮忙看下是哪里的问题呢?t1.jpg t2.jpg

      veye_xummV 1 Reply Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @xmy
        last edited by

        @xmy 你好,你这个版本的remove函数声明跟代码中的不一样。
        请参考下面改一下代码:

        static int mvcam_remove(struct i2c_client *client)
        {
        	struct v4l2_subdev *sd = i2c_get_clientdata(client);
        	struct mvcam *mvcam = to_mvcam(sd);
        
        	v4l2_async_unregister_subdev(sd);
        	media_entity_cleanup(&sd->entity);
        	mvcam_free_controls(mvcam);
        
        	mutex_destroy(&mvcam->mutex);
            return 0;
        }
        
        

        Questions will be answered as soon as possible, please be patient.
        如果你使用中文,请直接用中文提问。
        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

        X 1 Reply Last reply Reply Quote 0
        • X Offline
          xmy @veye_xumm
          last edited by

          @veye_xumm 好的,按您指导的方式修改,经make后,生成如下文件,算编译成功了吧?c83a3cb6-85c2-4ebe-b137-1a4f6fa21d86-image.png 我又编译了dts,结果如下图2aeea9bf-ce52-407b-9ad8-99fbd63e267a-image.png d1df7035-36b1-4897-82e8-0056c5748ee4-image.png 按编译文档到此为止没有后文,所以我的问题是后续还需要什么操作吗?编译操作完后是否可以用v4l2-ctl -L这样的指令来测试是否编译成功?期待您的回复~多谢

          veye_xummV 1 Reply Last reply Reply Quote 0
          • veye_xummV Offline
            veye_xumm @xmy
            last edited by

            @xmy
            编译完之后,按照文档的part3部分,安装驱动就可以了。
            https://wiki.veye.cc/index.php/Build_drivers_from_source_for_rpi/zh

            Questions will be answered as soon as possible, please be patient.
            如果你使用中文,请直接用中文提问。
            May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post