card script: bootscript when USE_KMS and NOT SERIAL_MODE

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent d5069cd557
commit e6880d42bc

@ -717,15 +717,15 @@ function tweak_boot_scripts {
sed -i -e 's:TMP_OMAPDSS:'omapdss.def_disp=\${defaultdisplay}':g' ${TEMPDIR}/bootscripts/${ALL}
fi
if [ "${IS_OMAP}" ] ; then
if [ "${USE_KMS}" ] ; then
if [ "${USE_KMS}" ] && [ ! "${SERIAL_MODE}" ] ; then
if [ "${KMS_OVERRIDE}" ] ; then
sed -i -e 's/VIDEO_DISPLAY/'${KMS_VIDEOA}:${KMS_VIDEO_RESOLUTION}'/g' ${TEMPDIR}/bootscripts/*.cmd
sed -i -e 's/VIDEO_DISPLAY/'${KMS_VIDEOA}:${KMS_VIDEO_RESOLUTION}'/g' ${TEMPDIR}/bootscripts/${ALL}
else
sed -i -e 's:VIDEO_DISPLAY::g' ${TEMPDIR}/bootscripts/*.cmd
sed -i -e 's:VIDEO_DISPLAY ::g' ${TEMPDIR}/bootscripts/${ALL}
fi
fi
if [ "${IS_OMAP}" ] ; then
FILE="netinstall.cmd"
if [ "$SERIAL_MODE" ];then
#Set the Serial Console: console=CONSOLE

Loading…
Cancel
Save