Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

Is Dual MIPI-CSI Camera working on Ubuntu?

145

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
145
Posted at 11/8/2017 13:30:10        Only Author  11#
@Firefly Team

Could someone from the Firefly team provide some inputs on this?

Is there any plan for Firefly team to get dual mipi-csi camera working on the RK3399 Opensource board (with Ubuntu)?

I understand that Rockchip is working on it. It would be great if Firefly team works along with Rockchip team to get it working.

Thank you and looking forward.

Thanks,
San
Reply

Use props Report

32

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
32
Posted at 3/27/2018 05:29:27        Only Author  12#
Last edited by chipmay In 3/27/2018 05:31 Editor

Hello,
I am having the same problem. I wanted to use my OV13850 Camera  on firefly rk3399 mipi interface in Ubuntu. But I could not find the support for it. The documentation and SDK driver is available only for Android.

Is the mipi and isp driver support for Ubuntu released yet? Or is there any plan to release it soon?

Thanks!
Reply

Use props Report

32

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
32
Posted at 3/27/2018 05:31:24        Only Author  13#
Hello,
I am having the same problem. I wanted to use my OV13850 Camera  on firefly rk3399 mipi interface in Ubuntu. But I could not find the support for it. The documentation and SDK driver is available only for Android.

Is the mipi and isp driver support for Ubuntu released yet? Or is there any plan to release it soon?

Thanks!
Reply

Use props Report

32

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
32
Posted at 3/27/2018 05:32:29        Only Author  14#
Hi,
I wanted to use my OV13850 Camera on firefly rk3399 mipi interface in Ubuntu. But I could not find the support for it. The documentation and SDK driver is available only for Android.

Is the mipi and isp driver support for Ubuntu released yet? Or is there any plan to release it soon?

Thanks!
Reply

Use props Report

33

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
33
Posted at 4/27/2018 18:20:54        Only Author  15#
Half year passed, time flies quickly.
Reply

Use props Report

39

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
39
Posted at 6/26/2018 06:18:26        Only Author  16#
And another 2 months, and still nothing.

Not everyone is gearing towards using Android as the primary O/S for these devices.  And this should be a simple driver to integrate.

A simple HOWTO to get the proper ARM drivers should really not be that difficult.

People actually want to use these devices, but if there is no support, and worse yet, a vary incomplete image.  This makes it extremely hard to want to purchase products.
Reply

Use props Report

4

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
4
Posted at 9/19/2018 05:28:26        Only Author  17#
I got CSI module (http://en.t-firefly.com/doc/product/info/267.html)  working on firefly-rk3399 using this kernel: https://github.com/FireflyTeam/kernel.git (branch firefly, rev 986a277676d350d020866ab9295a40003afb0fd3) and adding following snippet to rk3399-firefly-linux.dts:
  1. &cif_isp0 {
  2.     rockchip,camera-modules-attached = <&camera0>;
  3.     status = "okay";
  4. };

  5. &isp0_mmu {
  6.     status = "okay";
  7. };

  8. &i2c1 {
  9.     status = "okay";

  10.     camera0: camera-module@10 {
  11.         status = "okay";
  12.         compatible = "omnivision,ov13850-v4l2-i2c-subdev";
  13.         reg = < 0x10 >;
  14.         device_type = "v4l2-i2c-subdev";

  15.         clocks = <&cru SCLK_CIF_OUT>;
  16.         clock-names = "clk_cif_out";

  17.         pinctrl-names = "rockchip,camera_default", "rockchip,camera_sleep";
  18.         pinctrl-0 = <&cam0_default_pins>;
  19.         pinctrl-1 = <&cam0_sleep_pins>;

  20.         rockchip,pd-gpio = <&gpio2 12 GPIO_ACTIVE_LOW>;
  21.         rockchip,pwr-gpio = <&gpio1 23 GPIO_ACTIVE_HIGH>;
  22.         rockchip,pwr-snd-gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>;
  23.         rockchip,rst-gpio = <&gpio0 8 GPIO_ACTIVE_LOW>;

  24.         rockchip,camera-module-mclk-name = "clk_cif_out";
  25.         rockchip,camera-module-facing = "back";
  26.         rockchip,camera-module-name = "cmk-cb0695-fv1";
  27.         rockchip,camera-module-len-name = "lg9569a2";
  28.         rockchip,camera-module-fov-h = "66.0";
  29.         rockchip,camera-module-fov-v = "50.1";
  30.         rockchip,camera-module-orientation = <0>;
  31.         rockchip,camera-module-iq-flip = <0>;
  32.         rockchip,camera-module-iq-mirror = <0>;
  33.         rockchip,camera-module-flip = <1>;
  34.         rockchip,camera-module-mirror = <0>;

  35.         rockchip,camera-module-defrect0 = <2112 1568 0 0 2112 1568>;
  36.         rockchip,camera-module-defrect1 = <4224 3136 0 0 4224 3136>;
  37.         rockchip,camera-module-defrect3 = <3264 2448 0 0 3264 2448>;
  38.         rockchip,camera-module-flash-support = <0>;
  39.         rockchip,camera-module-mipi-dphy-index = <0>;
  40.     };
  41. };
Copy the code


Captured video stream has a green tint (probably due to sensor not properly calibrated) but at least it works in general.
Reply

Use props Report

14

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
14
Posted at 10/13/2018 21:04:59        Only Author  18#
I got CSI module working on firefly-rk3399

it's a good news!
Reply

Use props Report

1395

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1395
Posted at 12/27/2018 17:27:20        Only Author  19#
Reply

Use props Report

Return to List
12
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list