README.video 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. * (C) Copyright 2000
  3. * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. "video-mode" environment variable
  8. =================================
  9. The 'video-mode' environment variable can be used to enable and configure
  10. some video drivers. The format matches the video= command-line option used
  11. for Linux:
  12. video-mode=<driver>:<xres>x<yres>-<depth>@<freq><,option=string>
  13. <driver> The video driver name, ignored by U-Boot
  14. <xres> The X resolution (in pixels) to use.
  15. <yres> The Y resolution (in pixels) to use.
  16. <depth> The color depth (in bits) to use.
  17. <freq> The frequency (in Hz) to use.
  18. <options> A comma-separated list of device-specific options
  19. U-Boot MPC8xx video controller driver
  20. =====================================
  21. The driver has been tested with the following configurations:
  22. - MPC823FADS with AD7176 on a PAL TV (YCbYCr) - arsenio@tin.it
  23. Example: video-mode=fslfb:1280x1024-32@60,monitor=dvi
  24. U-boot sunxi video controller driver
  25. ====================================
  26. U-boot supports hdmi and lcd output on Allwinner sunxi SoCs, lcd output
  27. requires the CONFIG_VIDEO_LCD_MODE Kconfig value to be set.
  28. The sunxi u-boot driver supports the following video-mode options:
  29. - monitor=[none|dvi|hdmi|lcd] - Select the video output to use
  30. none: Disable video output.
  31. dvi/hdmi: Selects output over the hdmi connector with dvi resp. hdmi output
  32. format, if edid is used the format is automatically selected.
  33. lcd: Selects video output to a LCD screen.
  34. vga: Selects bideo output over the VGA connector.
  35. Defaults to monitor=dvi.
  36. - hpd=[0|1] - Enable use of the hdmi HotPlug Detect feature
  37. 0: Disabled. Configure dvi/hdmi output even if no cable is detected
  38. 1: Enabled. Fallback to the lcd / vga / none in that order (if available)
  39. Defaults to hpd=1.
  40. - hpd_delay=<int> - How long to wait for the hdmi HPD signal in milliseconds
  41. When the monitor and the board power up at the same time, it may take some
  42. time for the monitor to assert the HPD signal. This configures how long to
  43. wait for the HPD signal before assuming no cable is connected.
  44. Defaults to hpd_delay=500.
  45. - edid=[0|1] - Enable use of DDC + EDID to get monitor info
  46. 0: Disabled.
  47. 1: Enabled. If valid EDID info was read from the monitor the EDID info will
  48. overrides the xres, yres and refresh from the video-mode env. variable.
  49. Defaults to edid=1.
  50. For example to always use the hdmi connector, even if no cable is inserted,
  51. using edid info when available and otherwise initalizing it at 1024x768@60Hz,
  52. use: "setenv video-mode sunxi:1024x768-24@60,monitor=dvi,hpd=0,edid=1".