Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom camera usage #235

Open
niyazFattahov opened this issue Feb 5, 2025 · 0 comments
Open

custom camera usage #235

niyazFattahov opened this issue Feb 5, 2025 · 0 comments

Comments

@niyazFattahov
Copy link

niyazFattahov commented Feb 5, 2025

I was trying to use RPI ov5647 camera.
This customized dts 'rv1106-luckfox-pico-pro-max-ipc.dtsi' (where I added ov5647):

#include "rv1106-amp.dtsi"

/ {
	chosen {
		bootargs = "earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 root=/dev/mmcblk1p7 rootwait snd_soc_core.prealloc_buffer_size_kbytes=16 coherent_pool=0";
	};

	acodec_sound: acodec-sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "rv-acodec";
		simple-audio-card,format = "i2s";
		simple-audio-card,mclk-fs = <256>;
		simple-audio-card,cpu {
			sound-dai = <&i2s0_8ch>;
		};
		simple-audio-card,codec {
			sound-dai = <&acodec>;
		};
	};

	vcc_1v8: vcc-1v8 {
		compatible = "regulator-fixed";
		regulator-name = "vcc_1v8";
		regulator-always-on;
		regulator-boot-on;
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
	};

	vcc_3v3: vcc-3v3 {
		compatible = "regulator-fixed";
		regulator-name = "vcc_3v3";
		regulator-always-on;
		regulator-boot-on;
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
	};

	vdd_arm: vdd-arm {
		compatible = "regulator-fixed";
		regulator-name = "vdd_arm";
		regulator-min-microvolt = <800000>;
		regulator-max-microvolt = <1000000>;
		regulator-init-microvolt = <900000>;
		regulator-always-on;
		regulator-boot-on;
	};
	leds: leds {
		compatible = "gpio-leds";
		work_led: work{
			gpios = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "activity";
			default-state = "on";
		};	
	};

	// DHT11
	dht11_sensor {
        compatible = "dht11";
        pinctrl-names = "default";
        pinctrl-0 = <&gpio1_pc7>;

        dht11@1 {
            gpios = <&gpio1 RK_PC7 GPIO_ACTIVE_HIGH>;
            label = "dht11";
            linux,default-trigger = "humidity";
        };
    };

};

/***************************** AUDIO ********************************/
&i2s0_8ch {
	#sound-dai-cells = <0>;
	status = "okay";
};

&acodec {
	#sound-dai-cells = <0>;
	pa-ctl-gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>;
	status = "okay";
};
/***************************** CPU ********************************/
&cpu0 {
	cpu-supply = <&vdd_arm>;
};

/***************************** ADC ********************************/
&saradc {
	status = "okay";
	vref-supply = <&vcc_1v8>;
};

&tsadc {
	status = "okay";
};

/***************************** CSI ********************************/
&csi2_dphy_hw {
	status = "okay";
};

&csi2_dphy0 {
	status = "okay";

	ports {
		#address-cells = <1>;
		#size-cells = <0>;

		port@0 {
			reg = <0>;
			#address-cells = <1>;
			#size-cells = <0>;

			csi_dphy_input0: endpoint@0 {
				reg = <0>;
				remote-endpoint = <&sc3336_out>;
				data-lanes = <1 2>;
			};

			csi_dphy_input1: endpoint@1 {
				reg = <1>;
				remote-endpoint = <&sc4336_out>;
				data-lanes = <1 2>;
			};

			csi_dphy_input2: endpoint@2 {
				reg = <2>;
				remote-endpoint = <&sc530ai_out>;
				data-lanes = <1 2>;
			};

			csi_dphy_input3: endpoint@3 {
				reg = <2>;
				remote-endpoint = <&ov5647_out>;
				data-lanes = <1 2>;
			};

		};

		port@1 {
			reg = <1>;
			#address-cells = <1>;
			#size-cells = <0>;

			csi_dphy_output: endpoint@0 {
				reg = <0>;
				remote-endpoint = <&mipi_csi2_input>;
			};
		};
	};
};


&i2c4 {
	status = "okay";
	clock-frequency = <400000>;
	pinctrl-names = "default";
	pinctrl-0 = <&i2c4m2_xfer>;

    ext_cam_clk: external-camera-clock {
        compatible = "fixed-clock";
        clock-frequency = <25000000>;
        clock-output-names = "CLK_CAMERA_25MHZ";
        #clock-cells = <0>;
    };

    ov5647: ov5647@36 {
        compatible = "ovti,ov5647";
        status = "okay";
        reg = <0x36>;
        // clocks = <&cru MCLK_REF_MIPI0>;
        clocks = <&ext_cam_clk>;

        // clock-names = "xvclk";
        // clock-frequency = <25000000>;
        pwdn-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
        pinctrl-names = "default";
        pinctrl-0 = <&mipi_refclk_out0>;
        rockchip,camera-module-index = <0>;
        rockchip,camera-module-facing = "back";
        rockchip,camera-module-name = "OV5647";
        rockchip,camera-module-lens-name = "Standard";
        
        port {
            ov5647_out: endpoint {
                remote-endpoint = <&csi_dphy_input3>;
                data-lanes = <1 2>;
                clock-noncontinuous;
            };
        };
    };

	sc3336: sc3336@30 {
		compatible = "smartsens,sc3336";
		status = "okay";
		reg = <0x30>;
		clocks = <&cru MCLK_REF_MIPI0>;
		clock-names = "xvclk";
		pwdn-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&mipi_refclk_out0>;
		rockchip,camera-module-index = <0>;
		rockchip,camera-module-facing = "back";
		rockchip,camera-module-name = "CMK-OT2119-PC1";
		rockchip,camera-module-lens-name = "30IRC-F16";
		port {
			sc3336_out: endpoint {
				remote-endpoint = <&csi_dphy_input0>;
				data-lanes = <1 2>;
			};
		};
	};

	sc4336: sc4336@30 {
		compatible = "smartsens,sc4336";
		status = "okay";
		reg = <0x30>;
		clocks = <&cru MCLK_REF_MIPI0>;
		clock-names = "xvclk";
		pwdn-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&mipi_refclk_out0>;
		rockchip,camera-module-index = <0>;
		rockchip,camera-module-facing = "back";
		rockchip,camera-module-name = "OT01";
		rockchip,camera-module-lens-name = "40IRC_F16";
		port {
			sc4336_out: endpoint {
				remote-endpoint = <&csi_dphy_input1>;
				data-lanes = <1 2>;
			};
		};
	};

	sc530ai: sc530ai@30 {
		compatible = "smartsens,sc530ai";
		status = "okay";
		reg = <0x30>;
		clocks = <&cru MCLK_REF_MIPI0>;
		clock-names = "xvclk";
		pwdn-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&mipi_refclk_out0>;
		rockchip,camera-module-index = <0>;
		rockchip,camera-module-facing = "back";
		rockchip,camera-module-name = "CMK-OT2115-PC1";
		rockchip,camera-module-lens-name = "30IRC-F16";
		port {
			sc530ai_out: endpoint {
				remote-endpoint = <&csi_dphy_input2>;
				data-lanes = <1 2>;
			};
		};
	};
};

&mipi0_csi2 {
	status = "okay";

	ports {
		#address-cells = <1>;
		#size-cells = <0>;

		port@0 {
			reg = <0>;
			#address-cells = <1>;
			#size-cells = <0>;

			mipi_csi2_input: endpoint@1 {
				reg = <1>;
				remote-endpoint = <&csi_dphy_output>;
			};
		};

		port@1 {
			reg = <1>;
			#address-cells = <1>;
			#size-cells = <0>;

			mipi_csi2_output: endpoint@0 {
				reg = <0>;
				remote-endpoint = <&cif_mipi_in>;
			};
		};
	};
};

&rkcif {
	status = "okay";
};

&rkcif_mipi_lvds {
	status = "okay";

	pinctrl-names = "default";
	pinctrl-0 = <&mipi_pins>;
	port {
		/* MIPI CSI-2 endpoint */
		cif_mipi_in: endpoint {
			remote-endpoint = <&mipi_csi2_output>;
		};
	};
};

&rkcif_mipi_lvds_sditf {
	status = "okay";

	port {
		/* MIPI CSI-2 endpoint */
		mipi_lvds_sditf: endpoint {
			remote-endpoint = <&isp_in>;
		};
	};
};

&rkisp {
	status = "okay";
};

&rkisp_vir0 {
	status = "okay";

	port@0 {
		isp_in: endpoint {
			remote-endpoint = <&mipi_lvds_sditf>;
		};
	};
};


/*****************************PINCTRL********************************/
// SPI
&spi0 {
	pinctrl-0 = <&spi0m0_clk &spi0m0_miso &spi0m0_mosi &spi0m0_cs0>;
	#address-cells = <1>;
	#size-cells = <0>;
	spidev@0 {
    compatible = "rockchip,spidev";
		spi-max-frequency = <50000000>;
		reg = <0>;
	};

  fbtft@0{
    compatible = "sitronix,st7789v";
    reg = <0>;
    spi-max-frequency = <20000000>;
    fps = <30>;
    buswidth = <8>;
    debug = <0x7>;
    led-gpios = <&gpio2 RK_PB0 GPIO_ACTIVE_HIGH>;//BL
    dc-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>;      //DC
    reset-gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_LOW>;    //RES
  };
};
// I2C
&i2c0 {
	pinctrl-0 = <&i2c0m2_xfer>;
};

&i2c1 {
	pinctrl-0 = <&i2c1m1_xfer>;
};

&i2c3 {
	pinctrl-0 = <&i2c3m1_xfer &i2c3m0_xfer>;
	status = "okay";
};

// &i2c4 {
//  pinctrl-0 = <&i2c4m0_xfer>;
// };

// UART
&uart0 {
	pinctrl-0 = <&uart0m0_xfer &uart0m1_xfer>;
};
&uart1 {
	pinctrl-0 = <&uart1m1_xfer>;
};
&uart3 {
	pinctrl-0 = <&uart3m1_xfer>;
};
&uart4 {
	pinctrl-0 = <&uart4m1_xfer>;
};
&uart5 {
	pinctrl-0 = <&uart5m0_xfer>;
};

// PWM
&pwm0 {
	pinctrl-0 = <&pwm0m1_pins>;
};
&pwm2 {
	pinctrl-0 = <&pwm2m2_pins>;
};
&pwm3 {
	pinctrl-0 = <&pwm3m2_pins>;
};
&pwm4 {
	pinctrl-0 = <&pwm4m2_pins>;
};
&pwm5 {
	pinctrl-0 = <&pwm5m2_pins>;
};
&pwm6 {
	pinctrl-0 = <&pwm6m1_pins &pwm6m2_pins>;
};
&pwm8 {
	pinctrl-0 = <&pwm8m1_pins>;
};
&pwm9 {
	pinctrl-0 = <&pwm9m1_pins>;
};
&pwm10 {
	pinctrl-0 = <&pwm10m1_pins &pwm10m2_pins>;
};
&pwm11 {
	pinctrl-0 = <&pwm11m1_pins>;
};

&pinctrl {
	spi0 {
		spi0m0_clk: spi0m0-clk {
			rockchip,pins = <1 RK_PC1 4 &pcfg_pull_none>;
		};
		spi0m0_mosi: spi0m0-mosi {
			rockchip,pins = <1 RK_PC2 6 &pcfg_pull_none>;
		};
		spi0m0_miso: spi0m0-miso {
			rockchip,pins = <1 RK_PC3 6 &pcfg_pull_none>;
		};
		spi0m0_cs0: spi0m0-cs0 {
			rockchip,pins = <1 RK_PC0 4 &pcfg_pull_none>;
		};
	};

    gpio1-pc7 {
        gpio1_pc7:gpio1-pc7 {
            rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
    };
	};
};

in 'kernel_defconfig' I've added:
CONFIG_VIDEO_OV5647=m and modified 'insmod_ko.sh' by adding ov5647.

When booting I get errors:

[root@luckfox root]# dmesg
[    0.632067]     user_debug=31
[    0.632069]     storagemedia=mtd
[    0.632073]     earlycon=uart8250,mmio32,0xff4c0000
[    0.638173] process '/bin/busybox' started with executable stack
[    0.688122] UBIFS (ubi0:0): completing deferred recovery
[    0.739175] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 61
[    0.744683] UBIFS (ubi0:0): deferred recovery completed
[    0.936952] udevd[91]: starting version 3.2.7
[    0.950801] udevd[91]: specified group 'input' unknown
[    0.952123] udevd[91]: specified group 'kvm' unknown
[    0.971350] udevd[92]: starting eudev-3.2.7
[    1.313179] udevd[103]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd0ro': No such file or directory
[    1.320082] udevd[104]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd1ro': No such file or directory
[    1.330895] udevd[105]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd2ro': No such file or directory
[    1.343242] udevd[106]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd3ro': No such file or directory
[    1.355881] udevd[107]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd4ro': No such file or directory
[    1.364109] udevd[108]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd5ro': No such file or directory
[    1.374183] udevd[109]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd6ro': No such file or directory
[    1.595507] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    1.781153] ubi4: attaching mtd4
[    1.833193] ubi4: scanning is finished
[    1.839942] ubi4: attached mtd4 (name "oem", size 30 MiB)
[    1.839965] ubi4: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.839974] ubi4: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.839982] ubi4: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.839990] ubi4: good PEBs: 240, bad PEBs: 0, corrupted PEBs: 0
[    1.839998] ubi4: user volume: 1, internal volumes: 1, max. volumes count: 128
[    1.840008] ubi4: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 421376260
[    1.840018] ubi4: available PEBs: 0, total reserved PEBs: 240, PEBs reserved for bad PEB handling: 40
[    1.841081] ubi4: background thread "ubi_bgt4d" started, PID 134
[    1.863167] UBIFS (ubi4:0): Mounting in unauthenticated mode
[    1.863360] UBIFS (ubi4:0): background thread "ubifs_bgt4_0" started, PID 139
[    1.877911] UBIFS (ubi4:0): recovery needed
[    1.951290] UBIFS (ubi4:0): recovery completed
[    1.951401] UBIFS (ubi4:0): UBIFS: mounted UBI device 4, volume 0, name "oem"
[    1.951460] UBIFS (ubi4:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    1.951473] UBIFS (ubi4:0): FS size: 23617536 bytes (22 MiB, 186 LEBs), journal size 4190208 bytes (3 MiB, 33 LEBs)
[    1.951482] UBIFS (ubi4:0): reserved for root: 0 bytes (0 KiB)
[    1.951494] UBIFS (ubi4:0): media format: w4/r0 (latest is w5/r0), UUID BCAC4B7C-B4BF-4AAC-A709-B400F364D802, small LPT model
[    1.986051] ubi5: attaching mtd5
[    2.003654] ubi5: scanning is finished
[    2.010257] ubi5: attached mtd5 (name "userdata", size 10 MiB)
[    2.010278] ubi5: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.010288] ubi5: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.010299] ubi5: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.010306] ubi5: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
[    2.010314] ubi5: user volume: 1, internal volumes: 1, max. volumes count: 128
[    2.010324] ubi5: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 778654353
[    2.010333] ubi5: available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 40
[    2.013101] ubi5: background thread "ubi_bgt5d" started, PID 148
[    2.029229] UBIFS (ubi5:0): Mounting in unauthenticated mode
[    2.029425] UBIFS (ubi5:0): background thread "ubifs_bgt5_0" started, PID 153
[    2.044054] UBIFS (ubi5:0): recovery needed
[    2.083063] UBIFS (ubi5:0): recovery completed
[    2.083163] UBIFS (ubi5:0): UBIFS: mounted UBI device 5, volume 0, name "userdata"
[    2.083178] UBIFS (ubi5:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    2.083189] UBIFS (ubi5:0): FS size: 3301376 bytes (3 MiB, 26 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
[    2.083198] UBIFS (ubi5:0): reserved for root: 0 bytes (0 KiB)
[    2.083212] UBIFS (ubi5:0): media format: w4/r0 (latest is w5/r0), UUID 0769B7C0-394D-4BEF-B325-0290EB5B0CF4, small LPT model
[    2.193632] rk_dvbm ffa70000.rkdvbm: probe start
[    2.193668] rk_dvbm ffa70000.rkdvbm: dvbm ctx 31d4f3fd
[    2.194042] rk_dvbm ffa70000.rkdvbm: probe success
[    2.254635] rkcifhw ffa10000.rkcif: no iommu attached, using non-iommu buffers
[    2.254666] rkcifhw ffa10000.rkcif: No reserved memory region assign to CIF
[    2.255038] rkcif rkcif-mipi-lvds: rkcif driver version: v00.02.00
[    2.255140] rkcif rkcif-mipi-lvds: attach to cif hw node
[    2.255155] rkcif rkcif-mipi-lvds: failed to get dphy hw node
[    2.255166] rkcif rkcif-mipi-lvds: rkcif wait line 0
[    2.255175] rkcif rkcif-mipi-lvds: rkcif fastboot reserve bufs num 3
[    2.255188] : terminal subdev does not exist
[    2.255198] : terminal subdev does not exist
[    2.255206] : terminal subdev does not exist
[    2.255214] : terminal subdev does not exist
[    2.255224] : get_remote_sensor: video pad[0] is null
[    2.255233] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    2.255245] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[    2.255253] : get_remote_sensor: video pad[0] is null
[    2.255260] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    2.255268] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[    2.255275] : get_remote_sensor: video pad[0] is null
[    2.255283] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    2.255292] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[    2.255299] : get_remote_sensor: video pad[0] is null
[    2.255306] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    2.255314] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[    2.268071] rkcif rkcif-mipi-lvds: No memory-region-thunderboot specified
[    2.269182] rockchip-mipi-csi2-hw ffa20000.mipi-csi2-hw: enter mipi csi2 hw probe!
[    2.269353] rockchip-mipi-csi2-hw ffa20000.mipi-csi2-hw: probe success, v4l2_dev:mipi-csi2-hw!
[    2.269485] rockchip-mipi-csi2-hw ffa30000.mipi-csi2-hw: enter mipi csi2 hw probe!
[    2.269595] rockchip-mipi-csi2-hw ffa30000.mipi-csi2-hw: probe success, v4l2_dev:mipi-csi2-hw!
[    2.270006] rockchip-mipi-csi2 mipi0-csi2: attach to csi2 hw node
[    2.270069] rkcif rkcif-mipi-lvds: Entity type for entity rockchip-mipi-csi2 was not initialized!
[    2.270087] rockchip-mipi-csi2: Async registered subdev
[    2.270100] rockchip-mipi-csi2: probe success, v4l2_dev:rkcif-mipi-lvds!
[    2.322016] rkisp_hw ffa00000.rkisp: is_thunderboot: 0
[    2.322042] rkisp_hw ffa00000.rkisp: Missing rockchip,grf property
[    2.322084] rkisp_hw ffa00000.rkisp: max input:0x0@0fps
[    2.322253] rkisp_hw ffa00000.rkisp: get sram size:253952
[    2.322268] rkisp_hw ffa00000.rkisp: no iommu attached, using non-iommu buffers
[    2.322278] rkisp_hw ffa00000.rkisp: No reserved memory region. default cma area!
[    2.322616] rkisp rkisp-vir0: rkisp driver version: v02.05.00
[    2.322732] rkisp rkisp-vir0: No memory-region-thunderboot specified
[    2.324089] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
[    2.349757] rockchip-csi2-dphy-hw ff3e8000.csi2-dphy-hw: csi2 dphy hw probe successfully!
[    2.365268] rockchip-csi2-dphy csi2-dphy0: dphy0 matches ov5647 4-0036:bus type 5
[    2.365292] rockchip-csi2-dphy csi2-dphy0: csi2 dphy0 probe successfully!
[    2.610450] rkcif rkcif-mipi-lvds: clear unready subdev num: 3
[    2.613623] rkcif-mipi-lvds: sensor fmt invalid, set to default size
[    2.613652] 8<--- cut here ---
[    2.625760] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    2.633863] pgd = a688e208
[    2.636567] [00000000] *pgd=00000000
[    2.640143] Internal error: Oops - BUG: 5 [#1] THUMB2
[    2.645193] Modules linked in: phy_rockchip_csi2_dphy phy_rockchip_csi2_dphy_hw video_rkisp video_rkcif ov5647 rk_dvbm
[    2.655905] CPU: 0 PID: 165 Comm: sh Not tainted 5.10.160 #7
[    2.661560] Hardware name: Rockchip (Device Tree)
[    2.666373] PC is at rkcif_output_fmt_check+0xc/0x2a4 [video_rkcif]
[    2.672680] LR is at rkcif_set_fmt+0x99/0x3d4 [video_rkcif]
[    2.678251] pc : [<af80da2c>]    lr : [<af813d69>]    psr: 40000033
[    2.684509] sp : b14ddbf0  ip : 00000000  fp : b02d7253
[    2.689729] r10: b1610010  r9 : 00000000  r8 : b14ddc4c
[    2.694952] r7 : af82311c  r6 : b14ddda8  r5 : b1610010  r4 : 00000000
[    2.701474] r3 : 00000000  r2 : 00000280  r1 : af82311c  r0 : b16103f8
[    2.707998] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment user
[    2.715302] Control: 50c53c7d  Table: 014d0059  DAC: 00000055
[    2.721043] Process sh (pid: 165, stack limit = 0x845ad0d8)
[    2.726614] Stack: (0xb14ddbf0 to 0xb14de000)
[    2.730969] dbe0:                                     b1617480 b16103f8 b14ddda8 af82311c
[    2.739143] dc00: b14ddc4c b1617480 b16103f8 af813d69 00000000 b02c85cd 00000000 00000000
[    2.747317] dc20: b1610234 00000000 b0bf9dc0 b03baf29 b14ddc30 b14ddc30 b0bf9dc0 b10c2410
[    2.755491] dc40: 00000000 00000000 00000001 00000000 00000000 00000280 000001e0 b02c5431
[    2.763666] dc60: b1664f10 b1141014 ffffe000 b03bbcad b0d02024 00000001 b14ddc74 00000000
[    2.771839] dc80: b0d02010 00000001 00000001 000000b0 00000007 b02c54cd 00000001 b14ddcdf
[    2.780013] dca0: b161036c b02c54ff 00000000 b0029e17 b145d480 00000a8c b0bf9dc0 b03bb3ed
[    2.788187] dcc0: 00000000 017d7840 00000a8c b01c54cb b1168e10 af8060fb b1168e10 8c0a036c
[    2.796360] dce0: 00000000 e4060383 b16103f8 00000001 b1610010 b16103f8 00000001 b041b500
[    2.804533] dd00: 00000000 b041b500 b02d7253 af816627 00000001 00000000 00000002 00000000
[    2.812706] dd20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.820878] dd40: 00000000 00000000 00000000 00000000 00000001 00000000 00000000 00000000
[    2.829051] dd60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.837224] dd80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.845396] dda0: 00000000 00000000 00000000 00000000 30314752 00000000 00000000 00000000
[    2.853559] ddc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.861731] dde0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.869904] de00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.878066] de20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.886239] de40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.894413] de60: 00000000 00000000 b1618410 00000000 b16102c4 b1610200 00000004 b1610234
[    2.902588] de80: b041b500 af80b957 b1141c34 b1610024 b1141288 012d775f b1141268 b1610200
[    2.910761] dea0: 00000003 00000002 b14fc6b8 b16b45b0 b14dc000 00000004 00000020 b02d7ab7
[    2.918936] dec0: ffff8bd4 af82bd10 b1610010 af80ba21 af80b9fd b1636018 af82c1c8 b002205b
[    2.927109] dee0: 00000002 00000002 b16b45a0 b14fc6b8 b14ddf40 b00b15c3 00000000 00000000
[    2.935283] df00: 00000000 b10efcc0 00000002 b14ddf80 00522cb8 b00780b1 00000002 00000254
[    2.943456] df20: 00522cb8 00000002 00000005 00000000 00000000 b14ddf28 00000000 00000000
[    2.951630] df40: b10efcc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.959803] df60: 00000000 00000000 b10efcc0 b14ddf88 b14ddf80 00522cb8 00000002 b0078181
[    2.967977] df80: 00000000 00000000 b10efcc0 00000000 00000000 00000001 00522cb8 00000004
[    2.976150] dfa0: b0008424 b0008201 00000000 00000001 00000001 00522cb8 00000002 00000000
[    2.984324] dfc0: 00000000 00000001 00522cb8 00000004 005215b4 a6febec4 ae834780 00000020
[    2.992498] dfe0: 00520c38 ae834748 0044e238 a6f5b670 60000010 00000001 00000000 00000000
[    3.000775] [<af80da2c>] (rkcif_output_fmt_check [video_rkcif]) from [<af813d69>] (rkcif_set_fmt+0x99/0x3d4 [video_rkcif])
[    3.011888] [<af813d69>] (rkcif_set_fmt [video_rkcif]) from [<af816627>] (rkcif_set_default_fmt+0xc7/0x104 [video_rkcif])
[    3.022917] [<af816627>] (rkcif_set_default_fmt [video_rkcif]) from [<af80b957>] (subdev_notifier_complete+0xf7/0x19c [video_rkcif])
[    3.034865] [<af80b957>] (subdev_notifier_complete [video_rkcif]) from [<b02d7ab7>] (v4l2_async_notifier_clr_unready_dev+0x41/0x4e)
[    3.046726] [<b02d7ab7>] (v4l2_async_notifier_clr_unready_dev) from [<af80ba21>] (rkcif_clr_unready_dev_param_set+0x25/0x34 [video_rkcif])
[    3.059200] [<af80ba21>] (rkcif_clr_unready_dev_param_set [video_rkcif]) from [<b002205b>] (param_attr_store+0x3b/0x58)
[    3.069983] [<b002205b>] (param_attr_store) from [<b00b15c3>] (kernfs_fop_write_iter+0xad/0xe8)
[    3.078680] [<b00b15c3>] (kernfs_fop_write_iter) from [<b00780b1>] (vfs_write+0xb1/0xf0)
[    3.086772] [<b00780b1>] (vfs_write) from [<b0078181>] (ksys_write+0x33/0x5a)
[    3.093904] [<b0078181>] (ksys_write) from [<b0008201>] (ret_fast_syscall+0x1/0x58)
[    3.101558] Exception stack(0xb14ddfa8 to 0xb14ddff0)
[    3.106613] dfa0:                   00000000 00000001 00000001 00522cb8 00000002 00000000
[    3.114787] dfc0: 00000000 00000001 00522cb8 00000004 005215b4 a6febec4 ae834780 00000020
[    3.122958] dfe0: 00520c38 ae834748 0044e238 a6f5b670
[    3.128013] Code: f8d0 3588 7804 6845 (681a) f243 
[    3.132851] ---[ end trace 6e763bd7641e803e ]---
[    3.375325] rk_gmac-dwmac ffa80000.ethernet eth0: PHY [stmmac-0:02] driver [RK630 PHY] (irq=POLL)
[    3.384509] dwmac4: Master AXI performs any burst length
[    3.389833] rk_gmac-dwmac ffa80000.ethernet eth0: No Safety Features support found
[    3.397428] rk_gmac-dwmac ffa80000.ethernet eth0: PTP not supported by HW
[    3.404508] rk_gmac-dwmac ffa80000.ethernet eth0: configuring for phy/rmii link mode
[    3.733799] file system registered
[    3.752083] using random self ethernet address
[    3.756540] using random host ethernet address
[    3.772269] Mass Storage Function, version: 2009/09/11
[    3.777427] LUN: removable file: (no medium)
[    3.843947] read descriptors
[    3.846855] read strings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant