Reference Multimedia Image ADV7280 aka ACA camera does not detect

The ov5640b not detected with Apalis-iMX8_Reference-Multimedia-Image-Tezi_5.3.0+build.10.tar and Apalis-iMX6_Reference-Multimedia-Image-upstream-Tezi_5.3.0+build.10.tar demo images!
I recently install this demo image on my board and when I dmesg | grep ov do not show anything.
My camera perfectly work with BSP 2.8 on imx6 but ov5640 driver not included in latest demo image.
is there any way to use the camera in new demo images?

Toradex CSI Camera Module 5MP OV5640 V1.1B
Apalis iMX6Q 2GB IT V1.1C
Apalis iMX8QM 4GB IT V1.1B
Ixora v1.1A
Toradex demo image (Apalis-iMX8_Reference-Multimedia-Image-Tezi_5.3.0+build.10.tar)
Toradex demo image (Apalis-iMX6_Reference-Multimedia-Image-upstream-Tezi_5.3.0+build.10.tar)

There was an overlay file for OV5640 and after I added it the module detected but when I check the ACA V2.0B board with Apalis-iMX6_Reference-Multimedia-Image-upstream-Tezi_5.3.0+build.10.tar demo image Linux does not detect board and there is not any overlay file for this board.
How can I solve it?

Hello @prog1 ,

Yes, enabling the overlay should do the trick.
And as far as the ACA, it work out-of-box with the Downstream kernel. You can also check if the ACA is enabled in the device tree imx6.apalis-ixora.dts.

Are you maybe using a downstream kernel?

BR, Janani

Hi @saijanani.tx

Yes I do, I use the Downstream kernel.

In toradex_5.4-2.3.x-imx branch I check the file exist in this path:


and the adv7280 is included there:

 * I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor on carrier
 * board)
&i2c3 {
	status = "okay";

	adv7280: adv7280@21 {
		compatible = "adv7280";
		reg = <0x21>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_ipu1_csi0 &pinctrl_cam_mclk>;
		clocks = <&clks IMX6QDL_CLK_CKO2>;
		clock-names = "csi_mclk";
		DOVDD-supply = <&reg_3p3v>;
		AVDD-supply = <&reg_3p3v>;
		DVDD-supply = <&reg_3p3v>;
		PVDD-supply = <&reg_3p3v>;
		csi_id = <0>;
		mclk = <24000000>;
		mclk_source = <1>;
		status = "okay";

but does not work. Apparently the adv7280 driver does not start at Linux startup because in BSP 2.8 when run dmesg | grep adv if the adv is detected the output is:

root@apalis-imx6:~# dmesg | grep adv
[    3.484243] systemd[1]: System time before build time, advancing clock.
[    7.957939] adv7280 3-0021: chip found @ 0x42 (21a8000.i2c)
[    7.957959] adv7280 3-0021: no sensor pwdn pin available
[    8.033486] mxc_v4l2_master_attach: ipu0:/csi0 parallel attached adv7280:mxcv4l2_cap0

and if it is not detected the will be:

root@apalis-imx6:~# dmesg | grep adv
[    3.797035] systemd[1]: System time before build time, advancing clock.
[    8.293067] adv7280 3-0021: chip found @ 0x42 (21a8000.i2c)
[    8.293090] adv7280 3-0021: no sensor pwdn pin available
[    8.323258] adv7280 3-0021: adv7280_probe:Analog Device adv7280 not detected -6!

but in BSP 5.x when I run dmesg | grep adv there is no any message about adv.

I also check the Upstream kernel and there is apalis-imx6_adv7280_overlay.dtbo overlay file for ACA but the gstreamer does not work properly there so I copied apalis-imx6_adv7280_overlay.dtbo to Downstream kernel but it freezed here:

Loading DeviceTree: imx6q-apalis-ixora-v1.1.dtb
78561 bytes read in 24 ms (3.1 MiB/s)
75 bytes read in 10 ms (6.8 KiB/s)
Applying Overlay: apalis-imx6_hdmi_overlay.dtbo
1252 bytes read in 24 ms (50.8 KiB/s)
Applying Overlay: apalis-imx6_adv7280_overlay.dtbo
659 bytes read in 33 ms (18.6 KiB/s)
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
6784312 bytes read in 251 ms (25.8 MiB/s)
Bootargs: enable_wait_mode=off vmalloc=400M root=PARTUUID=a85c3c98-02 ro rootwait fec_mac=00:14:2d:4f:a3:6a consoleblank=0 no_console_suspend=1 console=tty1 console=ttymxc0,115200n8 mxc_hdmi.only_cea=1 fbmem=32M
ERROR: Did not find a cmdline Flattened Device Tree

Starting kernel ...

What should I do?



Hello @prog1 ,

We are able to reproduce this issue. So, we will escalate it internally and come back to you when we have more answers.

Thank you for your understanding!

Best Regards,

Hi , i have the same problem (same configuration), is there any news about it ?


Hello @franker83 ,

Thank you for your message and welcome to Toradex Community!

We have identified that the camera though doesn’t work out-of-box,works after enabling the ov560 overlay.

Apalis IMX8QM V1.1
Ixora V1.2A
CSI 5MP OV5640 Rev 1.1
TDX Wayland with XWayland 5.4.0+build.11 (dunfell) Apalis-iMX8_Reference-Multimedia-Image

add apalis-imx8_ov5640_overlay.dtbo to your /boot/overlays.txt

Then, after rebooting and connecting a HDMI monitor to Ixora, /dev/video0 could capture with the following:

gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink