5.10
Display Output Setting
Run program display.sh, Then you will see the video demo on the default display
screen.
# /etc/init.d/matrix-gui-2.0 stop
# /etc/init.d/weston stop
# gst-launch-1.0 playbin uri=file:///usr/share/ti/video/TearOfSteel-Short-
1920x800.mov audio-sink="alsasink" video-sink="kmssink scale=true"
The default supported LVDS is Dual-Channel and 1920 × 1080 resolutions. If you
want to support a single-channel 7 inch screen, the modification is as follows:
1)
Open the mux_rom7510a2.h header file found in {UBOOT}/board/ti/advan-
tech/. Modify the pinmux of GPMC_CS0 from PIN_OUTPUT_PULLDOWN to
PIN_OUTPUT_PULLUP
Original:
{GPMC_CS0, (M14 | PIN_OUTPUT_PULLDOWN)},/* gpmc_cs0.gpio2_19 */
Modified:
{GPMC_CS0, (M14 | PIN_OUTPUT_PULLUP)},/* gpmc_cs0.gpio2_19 */
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 a 7 inch screen.
The following configuration is only used as a sample( The actual timings of the
screen you use should be based on its datasheet):
Original:
panel-timing {
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>;
};
ROM-7510 User Manual
36