Hello,
N00b here.
I purchased an "opensource" firefly RK3399 board[1] and I wanted to
attach a pair of cameras to the MIPI-CSI2 interfaces. I have not yet made
a purchase of 2 cameras, but I have inquired into getting some customized
camera modules from alibaba.
My problem is that I recently learned that camera modules need to be
supported in an unknown to me fashion in order to get them to work.
Furthermore, the MIPI-CSI2 interface also needs to be supported in
addition to the ISP (which if memory serves stands for Image Sensor
Processor ( not Internet Service Provider :) )). I imagined when I bought
the board, as a result of the advertising[2], that the camera interfaces
were up and running. Since then it seems that some firmware[3] is
necessary to use the ISP and that the driver is incomplete. The firmware
is located somewhere in here[4]. Others[5] report success with a little
hacking of what appears to be the kernel. Sadly, another person says that
dual cameras are not working at all due to a hardware limitation and
after that in fixed, a software limitation of some sort[6][7], although
this is on android, which limits what you can do to diagnose the problem.

My questions are:
What is the current status of MIPI-CSI2 support in Linux[8]?
Assuming that that the firmware is not yet fully working what do I do to
reverse engineer it?
What would I need to do to add support in terms of a basic driver for the
ISP and the MIPI-CSI2 interface on the board?
What would I need to do to add support for a new image sensor,
preferably to mainline linux?

It seems to that any other "opensource" board that I get would have
similar problems so let me repeat, I already own a board, so I want to use
it in spite of it's draw backs. I know this will be hard. I would like
the 1-2-3 instruction and any other relevent documentation. RTFM type
stuff. I can read, hack, become sick of it, and repeat.

Thanks!

PS: I cannot seem to find a way to get onto the linux kernel ML without
it being blocked by the mail server admin due to the volume, although I
did empty my mailbox frequently. So if necessary, please do forward this
mail to them. Thanks!


[1] http://en.t-firefly.com/product/rk3399.html
[2] For example here: http://en.t-firefly.com/doc/case/info/id/210.html
[3] http://bbs.t-firefly.com/forum.php?mod=viewthread&;
    tid=1934&extra=&highlight=camera&page=2
[4] https://gitlab.com/TeeFirefly/FireNow-Nougat/tree/firefly-rk3399
[5] http://bbs.t-firefly.com/forum.php?mod=viewthread&;
    tid=2099&extra=&highlight=CSI&page=2
[6] https://electronics.stackexchange.com/questions/393431/
    dual-mipi-cameras-on-firefly-rk3399
[7] http://en.t-firefly.com/doc/product/info/287.html
[8] I did just read a thread on this ML about the MIPI-CSI2 interface on
    an Allwinner board called "dt-bindings: media: Add Allwinner  V3s
    Camera Sensor Interface (CSI)"
    I don't know if this relates to the RK3399's MIPI-CSI2 interfaces.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to