AM62A7: enable csi-2 sensor

Part Number: AM62A7

Tool/software:

Dear TI community
i'm referring to latest am62a linux SDK documentation here
dev.ti.com/.../dev-use-camera.html

can someone please help with with step 6

should it be dtb-$(CONFIG_ARCH_K3) += <device_tree_overlay_name>.dtso as mentioned in documentation, 
or dtb-$(CONFIG_ARCH_K3) += <device_tree_overlay_name>.dtbo
  • Another question
    followed same guide, built the kernel, loaded on sd card using 

    sudo DESTDIR=/media/$USER/rootfs2 make linux_install

    ov5647.ko isn't auto loaded, 
    tried 
    root@am62axx-evm:/usr/lib/modules/6.12.35-g72f48d59b8f0-dirty/kernel/drivers/media/i2c# insmod ov5647.ko
    and got these errors

    [ 166.121794] ov5647: Unknown symbol v4l2_async_unregister_subdev (err -2)
    [ 166.128746] ov5647: Unknown symbol __v4l2_async_register_subdev (err -2)
    [ 166.135553] ov5647: Unknown symbol v4l2_fwnode_endpoint_parse (err -2)
    insmod: ERROR: could not insert module ov5647.ko: Unknown symbol in module

  • after adding overlay in uEnv.txt
    sensor kernel module is being loaded on boot up, but getting these error messages
    [ 7.416799] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [ 7.431059] ov5647 4-0036: write sensor_oe_enable_regs error
    [ 7.432289] rproc-virtio rproc-virtio.8.auto: registered virtio1 (type 7)
    [ 7.437580] ov5647 4-0036: probe with driver ov5647 failed with error -121
    [ 7.443694] remoteproc remoteproc2: remote processor 78000000.r5f is now attached

  • documentation is quite scattered,. need to view forums for many issues, anyhow, this issue is resolved, had to make few changes in dtso and after that, driver loaded just fine,
    I'm facing few other issues, will create new thread.