
Introduction about Embedded Linux MIPI CSI-2 Camera Porting on Toradex Verdin i.MX8MP platform with Mallow Carrier Board
This video covers the initial setup of your host environment for a Yocto project. You'll learn how to establish a local binaries directory, install the necessary repository scripts, and initialize a Yocto environment targeting the Scarthgap release branch. We'll conclude by syncing the required metadata layers.
Learn how to configure your local Yocto environment using the .export script. We will explore editing the local.conf file to select the specific Verdin i.MX8MP hardware target and accept necessary licensing agreements. Finally, we'll use Bitbake to compile the Toradex reference multimedia image from source
After a successful Yocto build, this section demonstrates how to locate the compiled target archive. We'll walk through extracting the Verdin-IMX8MP_Reference-Multimedia-Image-Tezi.tar file directly to the root of a formatted USB flash drive.
Discover how to utilize the Toradex Easy Installer (TEZI) for low-level board provisioning. This video details the process of forcing the Verdin i.MX8 Plus module into hardware recovery mode and executing the recovery-linux.sh script to load the installer.
Using the TEZI graphical interface, we will flash our custom multimedia image from the USB drive onto the board's eMMC. We will cover the installation process, including wiping the existing storage and rebooting into the newly installed operating system.
This section provides a complete, top-to-bottom architectural breakdown of the embedded Linux camera stack. We begin at the hardware layer by unpacking the MIPI CSI-2 protocol, detailing how differential signaling and virtual channels stream high-speed pixel packets directly into the host processor. Next, we move into the kernel layer to explore the Video4Linux2 (V4L2) subsystem and the Media Controller API, explaining how Linux models complex camera hardware as a graph of entities, pads, and subdevices to negotiate formats. Finally, we step into user-space to cover GStreamer, demonstrating how to construct multimedia pipelines and leverage the SoC's hardware-accelerated Video Processing Unit (VPU) to encode and stream high-resolution video with near-zero CPU load. By the end of this section, you will understand the complete journey of a video frame from the physical camera lens to a live network stream.
Before diving into complex MIPI CSI-2 hardware, this video establishes a baseline by connecting a standard USB webcam. You will learn how to verify V4L2 device nodes, monitor kernel hardware discovery logs, and execute a fundamental GStreamer UDP pipeline to stream live video to a host PC using VLC.
Before jumping into the hands-on configuration, this video breaks down the hardware capabilities and unique architecture of the OmniVision OV5640 sensor. Learn about its 5-megapixel sensor array, its support for both modern 2-lane MIPI CSI-2 and legacy parallel interfaces, and why its integrated hardware Image Signal Processor (ISP) makes it the ultimate plug-and-play solution for low-overhead, processed YUV or compressed JPEG video streaming in embedded Linux.
This video focuses on connecting an OV5640 camera and enabling it within the Linux kernel. We will modify the overlays.txt boot configuration to load the specific Device Tree Overlay, reboot the system, and verify the camera's registration using i2cdetect and v4l2-ctl.
With the OV5640 initialized, we demonstrate how to capture a single frame using a GStreamer pipeline and retrieve it via SCP. We then set up a UDP network stream to view live video on a host machine. The section concludes by swapping to an OV5647 sensor to highlight the need for a different software configuration.
Transitioning away from self-processed smart sensors, this video introduces the classic OmniVision OV5647 raw Bayer sensor. We explore the architectural shift of working with a "dumb" camera module that strips away on-chip image processing. You will learn how this sensor outputs raw 10-bit Bayer pixel data down the MIPI CSI lanes, and why it demands heavy lifting from the host processor’s internal hardware ISP pipeline for color reconstruction and exposure tuning.
We transition to the OV5647 raw Bayer sensor, which requires an Image Signal Processor (ISP). This video covers cloning NXP's official ISP meta-layer and modifying its layer.conf file to ensure compatibility with our Scarthgap Yocto build environment.
To adapt the ISP configuration for the Toradex Verdin hardware, we generate a clean, custom Yocto meta-layer. We'll set up the directory structure necessary to house our custom device tree overlay modifications and the corresponding Bitbake append file.
This section provides a deep dive into writing the custom device tree overlay for the OV5647. We will edit the append script, map the correct I2C bus and GPIO pins, configure the MIPI CSI receiver endpoints, and ensure the overlay is correctly marked.
During compilation, a patch alignment error (Hunk failure) occurs. This video demonstrates how to debug the build logs, locate the conflict within the CMakeLists.txt patch, manually align the source code formatting, and successfully complete the Yocto build.
After flashing the updated OS, we load the new device tree blob and verify the OV5647 sensor's presence. We will explore the Linux Media Controller architecture using media-ctl and execute the start_isp.sh script to initialize the hardware ISP pipeline and capture frames.
We finalize the OV5647 testing by launching a GStreamer pipeline to stream hardware-processed UDP video over the network. This verifies that the custom hardware ISP integration is functioning correctly in real-time.
Discover the high-performance engineering behind the 8-megapixel Sony IMX219 sensor. This video covers the distinct advantages of Sony's Exmor R Back-Illuminated (BSI) pixel technology, including enhanced low-light sensitivity and reduced signal noise. We will analyze the strict MIPI CSI-2 lane and clock configuration requirements necessary to handle its massive bandwidth throughput, making it the industry standard choice for modern embedded Edge AI and computer vision platforms.
Moving to the Sony IMX219 sensor, we repeat the process of cloning the specific IMX219 ISP layer and updating its compatibility to support the Scarthgap release branch.
To ensure a clean build environment without conflicts, we use Bitbake commands to remove the previously installed OV5647 ISP layer.
We update our custom board layer by duplicating and adapting the overlay for the IMX219, updating the node definitions, and endpoints. We'll add this to our kernel append script and recompile the kernel.
This comprehensive course provides a practical, hands-on approach to integrating and porting MIPI CSI-2 camera sensors on the Toradex Verdin iMX8MP platform running Embedded Linux. Participants will learn the complete camera bring-up process, from hardware interface understanding and device tree configuration to Linux kernel driver development and video streaming validation.
The course covers the MIPI CSI-2 architecture, media controller framework, V4L2 subsystem, sensor driver integration, clock and power management, pin multiplexing, and device tree customization. Learners will gain experience in debugging camera initialization issues, validating image capture pipelines, and optimizing camera performance on the iMX8M Plus SoC.
Through real-world examples and practical demonstrations, participants will develop the skills required to integrate new camera sensors, troubleshoot CSI-2 communication problems, and enable reliable video capture applications for embedded vision, AI, industrial automation, robotics, and edge computing systems.
This course provides step by step procedure of porting and validation of Omnivision OV5640, OV5647 and Sony IMX219 sensors with Toradex Verdin IMX8MP platform + Mallow Carrier Board. Also briefs about the NXP Image Signal Processor, Toradex Torizon OS and more. Course provides basic environment setup and validation of USB Camera with gstreamer. Also you learn about the basics of gstreamer on capture and playback of streams.