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

-
@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; } -
@veye_xumm 好的,按您指导的方式修改,经make后,生成如下文件,算编译成功了吧?
我又编译了dts,结果如下图
按编译文档到此为止没有后文,所以我的问题是后续还需要什么操作吗?编译操作完后是否可以用v4l2-ctl -L这样的指令来测试是否编译成功?期待您的回复~多谢 -
@xmy
编译完之后,按照文档的part3部分,安装驱动就可以了。
https://wiki.veye.cc/index.php/Build_drivers_from_source_for_rpi/zh
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