|
|
@ -284,39 +284,23 @@ 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__
|
|
|
|
|
|
|
|
##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=${drm_device_identifier}: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=${drm_device_identifier}:1024x768@60e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__EOF__
|
|
|
|
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
|
|
|
|
else
|
|
|
|
##Video: [ls /sys/class/drm/]
|
|
|
|
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
|
|
|
|
##Docs: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt
|
|
|
|
##Video: [ls /sys/class/drm/]
|
|
|
|
##Uncomment to override:
|
|
|
|
##Docs: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt
|
|
|
|
#kms_force_mode=video=${drm_device_identifier}:1024x768@60e
|
|
|
|
##Uncomment to override:
|
|
|
|
|
|
|
|
#kms_force_mode=video=HDMI-A-1:1024x768@60e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__EOF__
|
|
|
|
__EOF__
|
|
|
|
|
|
|
|
|
|
|
|
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
|
|
|
|
cat >> ${TEMPDIR}/bootscripts/netinstall.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
|
|
|
|
##Uncomment to override:
|
|
|
|
##Uncomment to override:
|
|
|
|
#kms_force_mode=video=HDMI-A-1:1024x768@60e
|
|
|
|
#kms_force_mode=video=${drm_device_identifier}:1024x768@60e
|
|
|
|
|
|
|
|
|
|
|
|
__EOF__
|
|
|
|
__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
|
|
|
|