Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit f166b93f authored by Robert Nelson's avatar Robert Nelson
Browse files

card: better kms override documentation


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 051e49d1
Branches
Tags
No related merge requests found
......@@ -45,3 +45,4 @@ conf_initrdaddr="0x81600000"
SERIAL="ttyO2"
SERIAL_CONSOLE="${SERIAL},115200n8"
USE_KMS=1
drm_device_identifier="DVI-D-1"
......@@ -45,5 +45,6 @@ conf_initrdaddr="0x81600000"
SERIAL="ttyO2"
SERIAL_CONSOLE="${SERIAL},115200n8"
USE_KMS=1
drm_device_identifier="DVI-D-1"
DISABLE_ETH=1
......@@ -251,10 +251,12 @@ boot_uenv_txt_template () {
__EOF__
fi
if [ "${kms_conn}" ] ; then
if [ "${drm_device_identifier}" ] ; then
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
#Video: Uncomment to override:
#kms_force_mode=video=${kms_conn}:1024x768@60
##Video: [ls /sys/class/drm/]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__
fi
......@@ -1290,7 +1292,7 @@ check_uboot_type () {
unset boot_scr_wrapper
unset usbnet_mem
unset kms_conn
unset drm_device_identifier
case "${UBOOT_TYPE}" in
beagle|beagle_bx|beagle_cx)
......@@ -1318,7 +1320,7 @@ check_uboot_type () {
#just to disable the omapfb stuff..
USE_KMS=1
kms_conn="HDMI-A-1"
drm_device_identifier="HDMI-A-1"
. "${DIR}"/hwpack/beaglebone.conf
process_dtb_conf
......@@ -1335,7 +1337,7 @@ check_uboot_type () {
#just to disable the omapfb stuff..
USE_KMS=1
kms_conn="HDMI-A-1"
drm_device_identifier="HDMI-A-1"
. "${DIR}"/hwpack/beaglebone.conf
process_dtb_conf
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment