Difference between revisions of "Display Output Setting"
(add test command without EG-52) |
(remove some display parameters) |
||
Line 2: | Line 2: | ||
<div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ /etc/init.d/matrix-gui-2.0 stop</div><div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ /etc/init.d/weston stop</div><div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ gst-launch-1.0 playbin uri=file:///usr/share/ti/video/TearOfSteel-Short-1920x800.mov audio-sink="alsasink" video-sink="kmssink scale=true"</div> | <div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ /etc/init.d/matrix-gui-2.0 stop</div><div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ /etc/init.d/weston stop</div><div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ gst-launch-1.0 playbin uri=file:///usr/share/ti/video/TearOfSteel-Short-1920x800.mov audio-sink="alsasink" video-sink="kmssink scale=true"</div> | ||
If you don't have EG-52 on the board, please test with the following instructions: | If you don't have EG-52 on the board, please test with the following instructions: | ||
− | <div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ /etc/init.d/matrix-gui-2.0 stop</div><div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ /etc/init.d/weston stop</div><div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ gst-launch-1.0 filesrc location=/usr/share/ti/video/TearOfSteel-Short-1920x800.mov ! decodebin | + | <div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ /etc/init.d/matrix-gui-2.0 stop</div><div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ /etc/init.d/weston stop</div><div style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204);">$ gst-launch-1.0 filesrc location=/usr/share/ti/video/TearOfSteel-Short-1920x800.mov ! decodebin ! videoconvert ! kmssink</div> |
The default supported LVDS is Dual-Channel and 1920 × 1080 resolutions. If you want to support Single-Channel 7 inch screen, the modification is as follows: | The default supported LVDS is Dual-Channel and 1920 × 1080 resolutions. If you want to support Single-Channel 7 inch screen, the modification is as follows: | ||
Revision as of 04:56, 10 December 2018
Execute the following instructions, then you will see the video demo on the default display screen.
If you don't have EG-52 on the board, please test with the following instructions:
The default supported LVDS is Dual-Channel and 1920 × 1080 resolutions. If you want to support Single-Channel 7 inch screen, the modification is as follows:
1) Open the mux_rom7510a2.h header file found in {UBOOT}/board/ti/advantech/. Modify the pinmux of GPMC_CS0 from PIN_OUTPUT_PULLDOWN to PIN_OUTPUT_PULLUP
Original:
Modified:
2) Open the am57xx-rom7510a2.dts device tree file found in {LINUX}/arch/ arm/boot/dts/. Change the original panel-timing to panel-timing of 7 inch screen.
The following configuration is only used as a sample( The actual timings of the screen you used should be based on its datasheet):
panel-timing {
clock-frequency = <148500000
Original:
clock-frequency = <148500000>;
hactive = <1920>;
vactive = <1080>;
hfront-porch = <24>;
hback-porch = <54>;
hsync-len = <12>;
vback-porch = <3>;
vfront-porch = <40>;
vsync-len = <7>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
Modified:
clock-frequency = <29500000>;
hactive = <800>;
vactive = <480>;
hfront-porch = <24>;
hback-porch = <96>;
hsync-len = <72>;
vback-porch = <3>;
vfront-porch = <10>;
vsync-len = <7>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
Note:The voltage required for different screen backlighting is different, so you have to choose the appropriate backlight voltage. You can refer the detail jump information to select backlight voltage from ROMDB7502_User_Manual.