starfive-tech / linux

Other
152 stars 113 forks source link

support libcamera #21

Open pdp7 opened 3 years ago

pdp7 commented 3 years ago

It is ideal if the JH7100 video and camera input (CSI + ISP) are able to be supported by libcamera https://libcamera.org/ @kbingham can assist with but coordination with StarFive engineers is needed in order to do do

tekkamanninja commented 3 years ago

we will try to build this rpm package to work with the latest JH7100 video and camera driver(V4L2).

kbingham commented 3 years ago

Is support for this platform still ongoing?

MichaelZhuxx commented 3 years ago

Is support for this platform still ongoing?

Yes, we will release V4L2 this week and the next stage is to do libcamera

kbingham commented 3 years ago

Does the V4L2 driver expose a CSI2 receiver as a V4L2 device, and V4L2 subdevices for the sensor? And the ISP as a separate node?

MichaelZhuxx commented 3 years ago

Does the V4L2 driver expose a CSI2 receiver as a V4L2 device, and V4L2 subdevices for the sensor? And the ISP as a separate node?

Yes, we expose sensor, CSI, DVP, ISP as v4l2 subdevice respectively.

kbingham commented 3 years ago

Great, let me know if there's anything I can do to help then! Sounds like it might be time to dust off the Beagle-V-CE (collectors edition)

MichaelZhuxx commented 3 years ago

@kbingham thanks, definitely need your help to review code at least😄

kbingham commented 3 years ago

Sure, please ping me, send me the patches or notify me when they're available.

kbingham commented 3 years ago

What's the status on the V4L2 drivers for this ?

MichaelZhuxx commented 3 years ago

@kbingham Here is pre-release multimedia subsystem for JH7100, including ALSA, V4L2, Gstreamer, VPU decoding. please refer to freelight-u-sdk and readme to fetch, build and test it.

next step we will merge multimedia function to linux 5.14.y and keep it up to date

esmil commented 3 years ago

@kbingham There is some new multimedia code in the beaglev-5.13.y_multimedia branch. I think testing would be greatly appreciated.