Bootargs for enabling display omap
来源:互联网 发布:htc m8数据连接已断开 编辑:程序博客网 时间:2024/06/06 02:16
This articles talks about bootargs required to be added for enabling DSS. Starting with 2.6.34 (or L24.7) although DSS is enabled in defconfig, one needs to add some boot arguments to enable display and see penguin logos at the bootup time (skip to 27 min:14sec)
Overlay here means a software overlay. In hardware it is called as pipeline.
-- Number of overlays for OMAP3: 3
overlay0: GFX,
overlay1: VID1,
overlay2: VID2
-- Number of overlays for OMAP4: 4
overlay0: GFX,
overlay1: VID1,
overlay2: VID2
overlay3: VID3
[edit] Set overlay properties
- Set overlay0 ON:
echo "1" > /sys/devices/platform/omapdss/overlay0/enabled
- Set overlay0 OFF:
echo "0" > /sys/devices/platform/omapdss/overlay0/enabled
An overlay should be enabled if you want to see something on it.
[edit] Reading overlay properties
- Read overlay1 input size
cat /sys/devices/platform/omapdss/overlay0/input_size
- Reading overlay0's name
cat /sys/devices/platform/omapdss/overlay0/name
- Reading output_size of overlay0
cat /sys/devices/platform/omapdss/overlay0/output_size
- Reading position of overlay0
cat /sys/devices/platform/omapdss/overlay0/position
- Reading screen_width of overlay0
cat /sys/devices/platform/omapdss/overlay0/screen_width
- Reading global_alpha of overlay0, Range: 0-255, 0=transparent 255=opaque
cat /sys/devices/platform/omapdss/overlay0/global_alpha
[edit] Set overlay's manager
- Set overlay0's manager as lcd
echo "0" > /sys/devices/platform/omapdss/overlay0/enabled echo "lcd" > /sys/devices/platform/omapdss/overlay0/manager echo "1" > /sys/devices/platform/omapdss/overlay0/enabled
Zorder of an overlay [Specific to OMAP4 Not Applicable to OMAP3]
An object with a Z-order of 1 would be visually "underneath" an object with a Z-order of 2 or greater.
The default zorders are:
Overlay 0 -> 0
Overlay 1 -> 1
Overlay 2 -> 2
Overlay 3 -> 3
To change the zorder the following command can be used:
# Make GFX topmost: echo "3" > /sys/devices/platform/omapdss/overlay0/zorder
- Bootargs for enabling display omap
- Enabling KGDB for Android
- ti packages for omap
- Enabling agressive scanning for Wifi
- Enabling Flash plugin for fedora
- oMAP
- omap
- bootargs
- bootargs
- A Recipe for OpenID-Enabling Your Site
- A Recipe for OpenID-Enabling Your Site
- Enabling SSL for AXIS2 service and client
- Enabling Flexible Governance for All Data Sources
- Enabling SSL for Keystone 阅读各种文献
- build glibc for omap 35xx
- Enabling Metrics for the AWS SDK for Java
- Fixing the Back Button and Enabling Bookmarking for AJAX Apps
- Enabling Secure Sockets Layer for SharePoint Portal Server 2003
- [C++语法] 关键字typedef用法(转)
- 秋雨寄相思
- hdu_3549
- git常用命令速查表
- POJ 数论题集
- Bootargs for enabling display omap
- hdu_3491
- web控件
- hdu 2602Bone Collector(0/1背包)
- hdu_3046
- 土坷垃的情怀
- The package lists or status file could not be parsed or opened.
- hdu_1281
- 一个合格的程序员应该读过哪些书