OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb452f
)
init.sh: use video option if UVESA_MODE is not set
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Tue, 16 Oct 2018 11:09:58 +0000
(19:09 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Tue, 16 Oct 2018 11:09:58 +0000
(19:09 +0800)
With this patch, it's also possible to set the resolution of uvesafb
via the standard video=<xres>x<yres> kernel cmdline.
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
f617ade
..
7b205f9
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-128,6
+128,8
@@
function set_drm_mode()
function init_uvesafb()
{
+ UVESA_MODE=${UVESA_MODE:-${video%@*}}
+
case "$PRODUCT" in
ET2002*)
UVESA_MODE=${UVESA_MODE:-1600x900}