Using DVI Output on DM365Leopard

From RidgeRun Developer Connection

(Difference between revisions)
Jump to:navigation, search
(Configuration)
Line 1: Line 1:
-
One of the capabilities on what video displaying refers to, in dm365 leopard board, is to display by using a DVI format.
+
An accessory for the LeopardBoard 365 allows you to generate video in DVI format. Attach the LI-DVI1 module to J7, the Parallel RGB (PRGB) port, to add a DVI port to your LeopardBoard.
-
 
+
-
First of all, it is necessary to attach the LI-DVI1 module to the Parallel RGB (PRGB) port, which is numbered J7, so it is possible to have the right hardware configuration.
+
[[File:dm365_leopard_dvi_module_2.JPG|300px|thumb|center| Figure 1. LI-DVI1 DVI output module for dm365 leopard.]]
[[File:dm365_leopard_dvi_module_2.JPG|300px|thumb|center| Figure 1. LI-DVI1 DVI output module for dm365 leopard.]]
Line 8: Line 6:
== Configuration ==
== Configuration ==
-
DVI configuration is achieved after three basic steps, both at RidgeRung's SDK configuration menu.
+
DVI configuration is achieved after three basic steps, done using the RidgeRun's SDK configuration tool, which can be run using:
-
1) Make sure that the dm365_generic_prgb_encoder is selected to be built. This can be checked at:
+
<pre>
 +
cd $DEVDIR
 +
make config
 +
</pre>
 +
 
 +
1) Make sure that the dm365_generic_prgb_encoder is selected. This can be enabled at:
  Kernel configuration -> Device Drivers -> Multimedia support -> Video capture adapters -> Generic PRGB Encoder support  
  Kernel configuration -> Device Drivers -> Multimedia support -> Video capture adapters -> Generic PRGB Encoder support  
Line 16: Line 19:
[[File:dvi_config_1.png|500px|thumb|center| Figure 2. Generic PRGB Encoder enabling.]]
[[File:dvi_config_1.png|500px|thumb|center| Figure 2. Generic PRGB Encoder enabling.]]
-
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).
+
2) Set the video output to PRGB, then choose the max DVI resolution size that is required (480P, 720P, 1080I).
  Architecture configurations -> Video Output (PRGB)
  Architecture configurations -> Video Output (PRGB)
Line 23: Line 26:
[[File:dvi_config_2.png|500px|thumb|center| Figure 3. Generic PRGB output and Maximum Video Output Buffer.]]
[[File:dvi_config_2.png|500px|thumb|center| Figure 3. Generic PRGB output and Maximum Video Output Buffer.]]
-
3) Set the standard configuration at kernel extra arguments.
+
3) Add an extra parameter to the kernel command line, which in the kernel configuration is called an extram kernel argument:
  Kernel configuration -> Extra kernel arguments   
  Kernel configuration -> Extra kernel arguments   
Line 29: Line 32:
[[File:dvi_config_3.png|500px|thumb|center| Figure 4. Generic PRGB encoder data setup.]]
[[File:dvi_config_3.png|500px|thumb|center| Figure 4. Generic PRGB encoder data setup.]]
-
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="
+
Add the PRGB parameter that will be used by the kernel to set the mode.
-
A couple examples of standards to be configured would be:
+
A couple examples of include:
  dm365_generic_prgb_encoder.mode=1280x720MR-16@60
  dm365_generic_prgb_encoder.mode=1280x720MR-16@60
 +
 +
or
  dm365_generic_prgb_encoder.mode=720x480MR-16@30
  dm365_generic_prgb_encoder.mode=720x480MR-16@30

Revision as of 04:17, 13 July 2011

An accessory for the LeopardBoard 365 allows you to generate video in DVI format. Attach the LI-DVI1 module to J7, the Parallel RGB (PRGB) port, to add a DVI port to your LeopardBoard.

Figure 1. LI-DVI1 DVI output module for dm365 leopard.


Configuration

DVI configuration is achieved after three basic steps, done using the RidgeRun's SDK configuration tool, which can be run using:

cd $DEVDIR
make config

1) Make sure that the dm365_generic_prgb_encoder is selected. This can be enabled at:

Kernel configuration -> Device Drivers -> Multimedia support -> Video capture adapters -> Generic PRGB Encoder support 
Figure 2. Generic PRGB Encoder enabling.

2) Set the video output to PRGB, then choose the max DVI resolution size that is required (480P, 720P, 1080I).

Architecture configurations -> Video Output (PRGB)
Architecture configurations -> Maximum Video Output Buffer Size    
Figure 3. Generic PRGB output and Maximum Video Output Buffer.

3) Add an extra parameter to the kernel command line, which in the kernel configuration is called an extram kernel argument:

Kernel configuration -> Extra kernel arguments   
Figure 4. Generic PRGB encoder data setup.

Add the PRGB parameter that will be used by the kernel to set the mode.

A couple examples of include:

dm365_generic_prgb_encoder.mode=1280x720MR-16@60

or

dm365_generic_prgb_encoder.mode=720x480MR-16@30
Navigation
Toolbox