-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
fix camera drivers for imx219 and ov5647 #313
fix camera drivers for imx219 and ov5647 #313
Conversation
Cherry-pick a patch of imx219 driver only from original source Joshua-Riek@1b4e0ed
Cherry-pick a patch of ov5647 driver only from original source Joshua-Riek@1b4e0ed
This seems to be an override from other driver code, is the source available? |
@amazingfate not sure, I found it randomly in @Joshua-Riek repo and I mentioned that in commits. Customer tested both camera on RK3568 and they works fine with patched drivers. |
When I tried to find the issue why upstream imx219 and ov5647 drivers don't work on Rockchip, it's because they seems only compatible with Raspberry PI Broadcom CSI. I also could confirm that these upstream drivers don't work with imx6/imx8 boards and need to be patched as well - https://github.com/nxp-imx-support/meta-imx8mp-isp-imx219/blob/LF6.6.3_P24.1/recipes-kernel/kernel-modules/imx219/0001-isp-vvcam-add-imx219.patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge it since the original drivers do not work.
I found extra info about how to adopt camera drivers for Rockchip
And from Rockchip documentation minimal steps to adopt CIS driver |
@amazingfate found another critical issue - all defined camera drivers (in overlays/dtb) must be defined as build-in in kernel config. If camera driver defined as module it will not work correctly. idk, seems Rockchip initialize MIPI-CSI2 / CIF / ISP much early that modules and that affects boot sequence. |
What about adding driver module to initramfs? |
OV5647 and IMX219 already defined as build-in in kernel config |
No description provided.