X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2FREADME.video;h=ced35bd2db55dcb3781dd333e909395334e51b59;hb=03446987c5008fd1e3732b01fd63a29c7a6d9246;hp=4f7a4b5db54b4ade757d09f252ca272cfe4ffb24;hpb=15f8876b1dd95dd6bcee686ada36369871bbcdc9;p=oweals%2Fu-boot.git diff --git a/doc/README.video b/doc/README.video index 4f7a4b5db5..ced35bd2db 100644 --- a/doc/README.video +++ b/doc/README.video @@ -1,8 +1,7 @@ +SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000 * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it - * - * SPDX-License-Identifier: GPL-2.0+ */ "video-mode" environment variable @@ -32,13 +31,13 @@ The driver has been tested with the following configurations: Example: video-mode=fslfb:1280x1024-32@60,monitor=dvi -U-boot sunxi video controller driver +U-Boot sunxi video controller driver ==================================== -U-boot supports hdmi and lcd output on Allwinner sunxi SoCs, lcd output +U-Boot supports hdmi and lcd output on Allwinner sunxi SoCs, lcd output requires the CONFIG_VIDEO_LCD_MODE Kconfig value to be set. -The sunxi u-boot driver supports the following video-mode options: +The sunxi U-Boot driver supports the following video-mode options: - monitor=[none|dvi|hdmi|lcd|vga|composite-*] - Select the video output to use none: Disable video output. @@ -68,6 +67,31 @@ The sunxi u-boot driver supports the following video-mode options: overrides the xres, yres and refresh from the video-mode env. variable. Defaults to edid=1. +- overscan_x/overscan_y= - Set x/y overscan value + This configures a black border on the left and right resp. top and bottom + to deal with overscanning displays. Defaults to overscan_x=32 and + overscan_y=20 for composite monitors, 0 for other monitors. + For example to always use the hdmi connector, even if no cable is inserted, using edid info when available and otherwise initalizing it at 1024x768@60Hz, use: "setenv video-mode sunxi:1024x768-24@60,monitor=dvi,hpd=0,edid=1". + + +TrueType fonts +-------------- + +U-Boot supports the use of antialiased TrueType fonts on some platforms. This +has been tested in x86, ARMv7 and sandbox. + +To enable this, select CONFIG_CONSOLE_TRUETYPE. You can choose between several +fonts, with CONSOLE_TRUETYPE_NIMBUS being the default. + +TrueType support requires floating point at present. On ARMv7 platforms you +need to disable use of the private libgcc. You can do this by disabling +CONFIG_USE_PRIVATE_LIBGCC. See chromebook_jerry for an example. Note that this +increases U-Boot's size by about 70KB at present. + +On ARM you should also make sure your toolchain supports hardfp. This is +normally given in the name of your toolchain, e.g. arm-linux-gnueabihf (hf +means hardware floating point). You can also run gcc with -v to see if it has +this option.