mk_mmc.sh: cleanup: drm_device_identifier

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 11 years ago
parent 674e59bf0b
commit 80f2a4bdb8

@ -50,5 +50,5 @@ SERIAL_CONSOLE="${SERIAL},115200n8"
di_serial_mode=enable di_serial_mode=enable
conf_note="Required: https://github.com/NVIDIA/tegra-uboot-flasher-scripts." conf_note="Required: https://github.com/NVIDIA/tegra-uboot-flasher-scripts"
# #

@ -284,7 +284,8 @@ boot_uenv_txt_template () {
__EOF__ __EOF__
fi fi
if [ "${drm_device_identifier}" ] ; then drm_device_identifier=${drm_device_identifier:-"HDMI-A-1"}
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
##Video: [ls /sys/class/drm/] ##Video: [ls /sys/class/drm/]
##Docs: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt ##Docs: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt
@ -300,23 +301,6 @@ boot_uenv_txt_template () {
#kms_force_mode=video=${drm_device_identifier}:1024x768@60e #kms_force_mode=video=${drm_device_identifier}:1024x768@60e
__EOF__ __EOF__
else
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
##Video: [ls /sys/class/drm/]
##Docs: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt
##Uncomment to override:
#kms_force_mode=video=HDMI-A-1:1024x768@60e
__EOF__
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
##Video: [ls /sys/class/drm/]
##Docs: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt
##Uncomment to override:
#kms_force_mode=video=HDMI-A-1:1024x768@60e
__EOF__
fi
if [ "x${drm_read_edid_broken}" = "xenable" ] ; then if [ "x${drm_read_edid_broken}" = "xenable" ] ; then
sed -i -e 's:#kms_force_mode:kms_force_mode:g' ${TEMPDIR}/bootscripts/normal.cmd sed -i -e 's:#kms_force_mode:kms_force_mode:g' ${TEMPDIR}/bootscripts/normal.cmd

Loading…
Cancel
Save