Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rk-6.1-rkr1: capturing video from IMX415 at MIPI/CSI not possible after ISP block, on rk3588s platform #298

Open
enok71 opened this issue Apr 12, 2024 · 6 comments
Assignees

Comments

@enok71
Copy link

enok71 commented Apr 12, 2024

On my rock 5a I can capture video from my IMX415 camera connected to the 4 lane CSI port if I capture data from /dev/video11 which is the raw video stream. But trying to get data from /dev/video[01] (mainpath/selfpath, after ISP) doesn't work. The reason seems to be related to the fact that device node /dev/v4l-subdev4 (rkcif-mipi-lvds2) is not created at boot. There seems to be no connection from rkcif to rkisp. All this worked in 5.10 but doesn't work in 6.1. I suspect it is an issue for all rk3588s platforms.

See also discussion and details here

Revision tested: 27f6561551948be6350c9bbd549c84acb2e559af

Kernel config file, fdt binary tree and complete dmesg output attached.

config.gz
fdt.gz
dmesg.txt
media-ctl-d0-p.txt
media-ctl-d1-p.txt

@enok71 enok71 changed the title rk-6.1-rkr1: captured video from IMX415 at MIPI/CSI not connected to ISP block, on rk3588s platform rk-6.1-rkr1: capturing video from IMX415 at MIPI/CSI not possible after ISP block, on rk3588s platform Apr 12, 2024
@RadxaYuntian
Copy link
Member

RadxaYuntian commented Apr 15, 2024

We have not officially released any Rockchip 6.1 SDK based image, so at this moment we won't take any support questions about it. We ourselves are still trying to figure this one out.

@Ken-Vamrs please double check if this is an issue on our system.

@enok71
Copy link
Author

enok71 commented Apr 15, 2024

I appreciate your efforts. There is a message at boot about dependency cycle. Maybe that is a clue. Let me know if I can help.

[  +0.024271] platform csi2-dphy0: Fixed dependency cycle(s) with /mipi2-csi2
[  +0.000166] platform mipi2-csi2: Fixed dependency cycle(s) with /rkcif-mipi-lvds2
[  +0.000135] platform rkcif-mipi-lvds2-sditf: Fixed dependency cycle(s) with /rkisp0-vir0

@ivancheung2019
Copy link

@enok71 problem is fixed? I also got a problem on official image. the mipi video can show on cheese but is greenish and gain control is not running..

@RadxaYuntian
Copy link
Member

@ivancheung2019 this issue is about the upcoming 6.1 kernel. There is no official 6.1 image at the moment.

@ivancheung2019
Copy link

@ivancheung2019 this issue is about the upcoming 6.1 kernel. There is no official 6.1 image at the moment.

but I also facing such problem in B18 Debian KDE and ubuntu KDE pre-built image.. and test cheese.

@RadxaYuntian
Copy link
Member

It is still the wrong place to discuss this issue. You can create a forum post and tag @radxa in our forum to get technical support there.

Please also make sure you are using the Debian image (Ubuntu is unsupported) and performed system upgrade before you test the camera.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants