In order to activate the camera module it is necessary to build the kernel with the MT9P031 sensor driver. You can find this driver at the following path into the configuration window:

+

In order to activate the camera module follow the next steps:

−

-> Kernel configuration

+

1. Activate the MT9P031 sensor driver. You can find this driver at the following path into the configuration window:

−

-> Device Drivers

+

−

-> Multimedia support (MEDIA_SUPPORT [=y])

+

−

-> Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y])

+

−

And select the option ''mt9p031 support'' as is shown in the figure 3. Once you have selected the driver for your camera module exit the configuration window and save the changes made. Now you can rebuild your SDK by running the ''make'' command and install it into the board running the ''make install'' command.

And select the option ''mt9p031 support'' as is shown in the figure 2.

−

In order to test the module has been built correctly you can run the following GStreamer pipeline which will record 500 buffers of video and store them into a video file called ''video_camera_capture.mp4''. Once the video has been recorded it can be played using any multimedia player such as VLC or mplayer.

3. Rebuild your SDK by running the ''make'' command and install it into the board running the ''make install'' command.

−

There is a video composite input board which allows to capture video from either a composite input or a S-Video input. The module is shown in the figure 3.

+

4. In order to test the module has been built correctly you can run the following GStreamer pipeline which will record 1000 buffers of video and store them into a video file called ''video_camera_capture.mp4''. Once the video has been recorded it can be played using any multimedia player such as VLC or mplayer.

1. In order to activate this module you need to activate the ''Texas Instruments TVP514x video decoder'' driver in the following path into the configuration window of the SDK (See figure 4):

−

'''Note: in order to use the LI-VI365 module it is necessary to desactivate the MT9P031 camera sensor driver.'''

+

-&gt; Kernel configuration

+

-&gt; Device Drivers

+

-&gt; Multimedia support (MEDIA_SUPPORT [=y])

+

-&gt; Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y])

+

-&gt; Autoselect pertinent encoders/decoders and other helper

+

-&gt; Encoders/decoders and other helper chips

−

Once you have selected the driver for the module, you can save all the changes and rebuild your SDK by running the ''make'' command and finally install it into your board running the ''make install'' command.

In order to verify that the new module was installed correctly you can run the following GStreamer command which will capture a video from the composite input of the module and record it to a video file called ''composite_capture_module.mp4'', then you can reproduce the video file with any multimedia application such as VLC or mplayer.

'''Note: in order to use the LI-VI365 module it is necessary to desactivate the MT9P031 camera sensor driver.'''

+

+

4. Once you have selected the driver for the module, you can save all the changes and rebuild your SDK by running the ''make'' command.

+

+

5. Install the SDK into your board by running the ''make install'' command.

+

+

6. Start your board with the module connected.

+

+

7. In order to verify that the new module was installed correctly you can run the following GStreamer command which will capture a video from the composite input of the module and record it to a video file called ''composite_capture_module.mp4'', then you can reproduce the video file with any multimedia application such as VLC or mplayer.

<br> 7. Save the changes and rebuild the SDK running the ''make'' command.

+

+

8. Install the SDK into the board by running the ''make install'' command.

+

+

9. Start your board with the module connected. In order to verify it is working properly you can run the following GStreamer pipeline which will capture the composite video from the module and record it to a video file called ''component_capture_module.jpeg''. You can reproduce this file using any media player such as VLC or mplayer.

2) Set the video output to work as PRGB, then choose the max resolution size that is planed to be used for this output (480P, 720P, 1080I).

+

+

Architecture configurations -&gt; Video Output (PRGB)

+

Architecture configurations -&gt; Maximum Video Output Buffer Size

+

+

[[Image:Dvi config 2.png|thumb|center|500px|Dvi config 2.png]]

+

+

3) Set the standard configuration at kernel extra arguments.

+

+

Kernel configuration -&gt; Extra kernel arguments

+

+

[[Image:Dvi config 3.png|thumb|center|500px|Dvi config 3.png]]

+

+

At this point it is important to notice that, for setting the standard, it is required to identify the module to which the information is going to, This is made by the instruction "dm365_generic_prgb_encoder.mode="

−

== Video HD component input board - LI-HDI365 ==

+

A couple examples of standards to be configured would be:

−

It is available a video component input board for the LeopardBoard DM365 which is shown in the following figure.

+

dm365_generic_prgb_encoder.mode=1280x720MR-16@60

−

= Display Modules =

+

dm365_generic_prgb_encoder.mode=720x480MR-16@30

Revision as of 13:33, 10 January 2013

This page shows the steps necessary to setup the different hardware modules available for the LeopardBoard DM365. The instructions provided are based in the SDK 2011Q2 for LeopardBoard DM365.

2. Once you have selected the driver for your camera module exit the configuration window and save the changes made.

3. Rebuild your SDK by running the make command and install it into the board running the make install command.

4. In order to test the module has been built correctly you can run the following GStreamer pipeline which will record 1000 buffers of video and store them into a video file called video_camera_capture.mp4. Once the video has been recorded it can be played using any multimedia player such as VLC or mplayer.

Note: in order to use the LI-VI365 module it is necessary to desactivate the MT9P031 camera sensor driver.

4. Once you have selected the driver for the module, you can save all the changes and rebuild your SDK by running the make command.

5. Install the SDK into your board by running the make install command.

6. Start your board with the module connected.

7. In order to verify that the new module was installed correctly you can run the following GStreamer command which will capture a video from the composite input of the module and record it to a video file called composite_capture_module.mp4, then you can reproduce the video file with any multimedia application such as VLC or mplayer.

8. Install the SDK into the board by running the make install command.

9. Start your board with the module connected. In order to verify it is working properly you can run the following GStreamer pipeline which will capture the composite video from the module and record it to a video file called component_capture_module.jpeg. You can reproduce this file using any media player such as VLC or mplayer.

At this point it is important to notice that, for setting the standard, it is required to identify the module to which the information is going to, This is made by the instruction "dm365_generic_prgb_encoder.mode="