Hello,
I have successfully added a new camera driver in Yocto linux following the porting guide (IMX8MPCSPUG.pdf). I am not attempting to get the camera working in Android (target OS) and came across some issue.
In Yocto, I was able to get the source to the isp-imx module and make modifications to get the isi driver, ISP config file, etc changes. However I am not seeing those sources on Android, infact the ISP / ISI modules are prebuilt within the android_build/vendor/nxp/fsl-proprietary/isp/lib64/ directory.
Is the driver located here: https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.15.0.bin that Yocto uses the same that should be used for Android?
If not where do I get the source for the Android variant?
I checked CodeAurora and could not find any repository for these source file.
Thank you,
Chris
已解决! 转到解答。
Yes , if your isi camera driver is working under Linux,you need follow 8.1 Camera configuration https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf in android.
ISP Hal code :android_build/vendor/nxp-opensource/imx/libcamera3/ISPCamera.cpp
Actually the HAL code is still call the kernel driver.So if your kernel driver is no problem, the android should be very easy.
Are you saying that I do not need to worry about the <sensor>.yml and <sensor>.drv files when running Android?
Thank you,
Chris
Yes , if your isi camera driver is working under Linux,you need follow 8.1 Camera configuration https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf in android.