android debug issue: display

1.先用modetest –c确定omapdrm是否正常load了这个只是检查kernel部分display是否正常初始化
2.如果1是有的那么看android 有没有找到display在adb里面dumpsys SurfaceFlinger如果显示类似如下信息,说明有了,不然的几没有
h/w composer state:
h/w composer present and enabled
Hardware Composer state (version 1020000):
mDebugForceFakeVSync=0
Display[0] : 720x1280, xdpi=338.665985, ydpi=342.230988, refresh=17241379
numHwLayers=3, flags=00000000
type | handle | hints | flags | tr | blend | format | source crop | frame name
------------+----------+----------+----------+----+-------+----------+---------------------------+--------------------------------
HWC | 65ee32a0 | 00000000 | 00000000 | 04 | 00100 | 7fa00e00 | [ 0, 0, 1280, 720] | [ 0, 0, 720, 1280] SurfaceView
HWC | 65633910 | 00000000 | 00000000 | 00 | 00105 | 00000005 | [ 0, 0, 720, 1280] | [ 0, 0, 720, 1280] com.android.gallery3d/com.android.gallery3d.app.MovieActivity
FB TARGET | 5e95a580 | 00000000 | 00000000 | 00 | 00105 | 00000005 | [ 0, 0, 720, 1280] | [ 0, 0, 720, 1280] HWC_FRAMEBUFFER_TARGET
-------------Display Stat --------------

3.如果android部分没有检测到display用下面的command让HDMI作为primary display。看看是不是HDMI哈。
HDMI
HDMI only setup
By default dual display is supported in this release, but to bring up a HDMI only setup,
• Non lcd dtb for the EVM should be used (Ex: For J6 EVM, use dra7-evm.dtb)
• you need to set two additional properties
• ro.hwc.primary.conn
• ro.hwc.external.conn
Use below commands to set the property and reboot the EVM.
adb root
adb remount
adb shell 'echo "ro.hwc.primary.conn=HDMI" >> /system/build.prop'
adb shell 'echo "ro.hwc.external.conn=dummy" >> /system/build.prop'

转载于:https://www.cnblogs.com/widic/p/9894513.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值