mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-05 05:04:45 +02:00
rpi-config: Allow setting hdmi_cvt
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
c7f4c739a3
commit
fc5d68f135
|
@ -99,7 +99,7 @@ selected according to the connected monitor's EDID information and the composite
|
|||
mode is defaulted to NTSC using a 4:3 aspect ratio. Check the config.txt for a
|
||||
detailed description of options and modes. The following variables are supported in
|
||||
local.conf: `HDMI_FORCE_HOTPLUG`, `HDMI_DRIVE`, `HDMI_GROUP`, `HDMI_MODE`,
|
||||
`CONFIG_HDMI_BOOST`, `SDTV_MODE`, `SDTV_ASPECT` and `DISPLAY_ROTATE`.
|
||||
`HDMI_CVT`, `CONFIG_HDMI_BOOST`, `SDTV_MODE`, `SDTV_ASPECT` and `DISPLAY_ROTATE`.
|
||||
|
||||
Example to force HDMI output to 720p in CEA mode:
|
||||
|
||||
|
|
|
@ -105,6 +105,9 @@ do_deploy() {
|
|||
if [ -n "${HDMI_MODE}" ]; then
|
||||
sed -i '/#hdmi_mode=/ c\hdmi_mode=${HDMI_MODE}' $CONFIG
|
||||
fi
|
||||
if [ -n "${HDMI_CVT}" ]; then
|
||||
echo 'hdmi_cvt=${HDMI_CVT}' >> $CONFIG
|
||||
fi
|
||||
if [ -n "${CONFIG_HDMI_BOOST}" ]; then
|
||||
sed -i '/#config_hdmi_boost=/ c\config_hdmi_boost=${CONFIG_HDMI_BOOST}' $CONFIG
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user