diff --git a/boards/beagley/ai/expansion/Connecting IMX219 CSI Cameras.rst b/boards/beagley/ai/expansion/Connecting IMX219 CSI Cameras.rst index 393a8b88273378c7dcf89893573adcafb35b258e..7f26ce700d8deef800902cdc465b9a95bee5f0fa 100644 --- a/boards/beagley/ai/expansion/Connecting IMX219 CSI Cameras.rst +++ b/boards/beagley/ai/expansion/Connecting IMX219 CSI Cameras.rst @@ -1,12 +1,23 @@ -.. _beagley-ai-imx219-csi-cameras: +.. _beagley-ai-rtc: -.. note:: This page is a work in progress. Further drive testing and images will be added soon +.. note:: This page is a work in progress. Further camera testing and images will be added soon Using IMX219 CSI Cameras ############################ -To enable an IMX219 CSI camera, modify the following file: /boot/firmware/extlinux/extlinux.conf +To enable an IMX219 CSI camera, modify the following file: `/boot/firmware/extlinux/extlinux.conf` + +We can check the available list of Device Tree Overlays as such: + +.. code:: console + + debian@BeagleBone:~$ ls /boot/firmware/overlays/ | grep "beagley" + k3-am67a-beagley-ai-csi0-imx219.dtbo + k3-am67a-beagley-ai-csi0-ov5640.dtbo + k3-am67a-beagley-ai-csi1-imx219.dtbo + k3-am67a-beagley-ai-dsi-rpi-7inch-panel.dtbo + k3-am67a-beagley-ai-lincolntech-185lcd-panel.dtbo Using CSI Port 0 ************************************** @@ -15,22 +26,45 @@ Then, add the following line to load the IMX219 CSI0 DTBO: .. code:: bash - fdtoverlays /overlays/k3-am625-beagleplay-lt-lcd185.dtbo + fdtoverlays /overlays/k3-am67a-beagley-ai-csi0-imx219.dtbo Your /boot/firmware/extlinux/extlinux.conf file should look something like this: .. code:: bash - label Linux eMMC + label microSD (default) kernel /Image - append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 systemd.unified_cgroup_hierarchy=false quiet + append console=ttyS2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 fdtdir / - fdtoverlays /overlays/k3-am625-beagleplay-lt-lcd185.dtbo + fdt /ti/k3-j722s-beagley-ai.dtb + fdtoverlays /overlays/k3-am67a-beagley-ai-csi0-imx219.dtbo initrd /initrd.img +Now reboot... + +.. code:: console + debian@BeagleBone:~$ ls /dev/ | grep "video" + video0 + video1 + video2 + Using CSI Port 1 ******************* Troubleshooting -******************* \ No newline at end of file +******************* + +.. code:: console + Found /extlinux/extlinux.conf + Retrieving file: /extlinux/extlinux.conf + beagley-ai microSD (extlinux.conf) + 1: microSD Recovery + 2: microSD (RPI 7inch panel) + 3: microSD (lincolntech-185lcd panel) + 4: microSD (csi0 imx219) + 5: microSD (csi1 imx219) + 6: microSD (csi0 ov5640) + 7: microSD (default) + Enter choice: 4 + 4: microSD (csi0 imx219)