相机设备树修改
-
请问这里面的gpio引脚设备信息,哪里可以找到,板子是roc-3588s-pc的

-
@lin 你好,gc8034这个我们不清楚。 我们自己的相机模组有配置好的dts,你可以作为参考。
-
@veye_xumm 镜像加载的设备树,可以更换名字吗?
-
@lin 一般来说,这东西取决于/boot/extlinux/extlinux.conf的配置。
-
@veye_xumm


但是内核打印信息

使用的设备树文件是roc-rk3588s-pc-mipi101-M101014-BE45-A1-v12.dtb,这是为什么? -
@lin 我感觉v12.dtb和没有这个后缀的dtb是一个。你可以看看。
这东西是firefly在基于rk的系统上封装的,你也可以问问firefly的工程师。 -
@veye_xumm


相机的reset是低电平有效,为什么给的例子中设备树写的是高电平有效? -
@veye_xumm
这个gpio_set_value_cansleep()函数将reset_gpio赋值为1,是让reset有效?pwdn_gpio该如何赋值呀?


-
@lin 实际上我们的mv系列相机只有一个ENABLE引脚,高电平使能相机,低电平相机将断电。

firefly的软件有两个引脚,实际我们的转接板也只用了一个。 -
@veye_xumm 好的,已解决
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