Hi Everyone. I am new to TorizonCore image build. I am currently using the dahlia v1.1A carrier board with the verdin imx8mp and I am trying to connect it to IMX327 camera modules.
I would like to integrate the vcmipi driver from here: GitHub - pmliquify/vc_mipi_imx8mp: Vision Components MIPI CSI-2 driver for Toradex Verdin i.MX8M Plus into a torizon-based image.
What should I do to enable this integration? and do I need the source code from vcmipi or can I just use their repo?
Hi @user123456789 ,
Welcome to our Community! Feel free to explore other topics or ask any other questions you might have.
What should I do to enable this integration?
You can try to apply the driver as an external module (TorizonCore Builder can do that) or build TorizonCore manually with the driver in the kernel source (see Build U-Boot and Linux Kernel from Source Code | Toradex Developer Center and Build TorizonCore from Source With Yocto Project/OpenEmbedded | Toradex Developer Center).
and do I need the source code from vcmipi or can I just use their repo?
I couldn’t find the driver for the IMX327 camera in our kernel repository, so you need to use the source code in the repo you linked.
The repository that you referenced seems to have scripts that do the necessary steps above: they put the drivers in the kernel source, compile it and even prepare a custom image for you to install using Easy Installer. However the generated image seems to be a BSP image rather than TorizonCore.
Just keep in mind that we don’t maintain this repo and therefore can’t guarantee that it will work for you.
Hope that makes things clearer for you.
Thanks Lucas Akira for your clear and detailed response. This greatly helped me
Glad I was able to help!