Firefly Open Source Community

Title: Dual Camera RK3568 with linux-5.1 sdk [Print This Page]

Author: hyunsuk.joe    Time: 11/6/2023 15:50
Title: Dual Camera RK3568 with linux-5.1 sdk
I Compiled Linux 5.10 fireware

using rk3568-firefly-roc-pc-cam-2ms2m.dtsi.
(i use CAM-2MS2MF Binocular camera module )

but i can't see camera caputred data,

there are only error debug messages.

please help me.

Author: luwy    Time: 11/8/2023 10:21
there is no rk3568-firefly-roc-pc-cam-2ms2m.dtsi, please use rk3568-firefly-roc-pc-se-cam-2ms2m.dtsi.
Author: hyunsuk.joe    Time: 11/15/2023 15:27
Thank you for your help.
using rk3568-firefly-roc-pc-se-cam-2ms2m.dtsi then dual cam working.

and now i want use gc5035 cam

like sensor2->csi_dphy2->mipi_csi2->vicap->isp_vir1

i change i2c4 in dts
        gc5035: gc5035@3f {
                status = "okay";
                compatible = "galaxycore,gc5035";
                reg = <0x3f>;
                clocks = <&pmucru CLK_WIFI>;
                clock-names = "xvclk";
                power-domains = <&power RK3568_PD_VI>;
                pinctrl-names = "default";
                pinctrl-0 = <&refclk_pins>;
                reset-gpios = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>;
                pwdn-gpios = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>;
                firefly,clkout-enabled-index = <1>;
                rockchip,camera-module-index = <1>;
                rockchip,camera-module-facing = "front";
                rockchip,camera-module-name = "DW-RV5035-V1.0";
                rockchip,camera-module-lens-name = "JZ-7070AS-A3";
                port {
                        gc5035_out: endpoint {
                                remote-endpoint = <&mipi_in_gc2053_ir>;
                                data-lanes = <1 2>;
                        };
                };
        };

and my board detect camera.

but when running 'camera_rkisp_test.sh'

after
'[  482.694081] rkisp_hw fdff0000.rkisp: set isp clk = 297000000Hz'

nothing captuer.

do you know what is wrong?







Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1