• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

Revision2e13ef675a218dff9e50a1ebe7f26f11fd2eea3d (tree)
Zeit2018-10-16 20:09:58
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init.sh: use video option if UVESA_MODE is not set

With this patch, it's also possible to set the resolution of uvesafb
via the standard video=<xres>x<yres> kernel cmdline.

Ändern Zusammenfassung

Diff

--- a/init.sh
+++ b/init.sh
@@ -128,6 +128,8 @@ function set_drm_mode()
128128
129129 function init_uvesafb()
130130 {
131+ UVESA_MODE=${UVESA_MODE:-${video%@*}}
132+
131133 case "$PRODUCT" in
132134 ET2002*)
133135 UVESA_MODE=${UVESA_MODE:-1600x900}