s5pv210 HDMI不出图像!!!
在 s5pv210+WinCE上调试HDMI,自己根据samsung TVoutDrive文档写了一个Demo,没数据出来呀(硬件是OK的,在 Android平台是ok的)。我的bsp是从RTM release(0.27)移植过来的。这一版本的bsp应该是已经支持hdmi了呀。
就是不出图像。奇了怪了。如下是打印 Log,是啥原因呢?[TVOUT] ++STDA_HDMI_read_edid_info()
[EDID: EDIDInit]
[Open_HDMI_I2C] I2C OPEN : I2C1: SUCCESS
[Init_HDMI_I2C] ACTUAL I2C CLCOK SPEAD : 64 Khz
[Open_HDMI_I2C] I2C OPEN : I2C1: SUCCESS
[Init_HDMI_I2C] ACTUAL I2C CLCOK SPEAD : 64 Khz
[Open_HDCP_I2C] I2C OPEN : I2C1: SUCCESS
[Init_HDCP_I2C] ACTUAL I2C CLCOK SPEAD : 64 Khz
[EDID: ReadEDIDBlock] segnum : 0, addr: 160, offset: 0, size: 128, buffer = 0xD316FD30
[EDID: ReadEDIDBlock] segnum : 0, addr: 160, offset: 128, size: 128, buffer = 0xD316FD30
[EDID]tag = 64
[EDID]blockLen = 13
[EDID]EDIDVIC = 1
[EDID]VIC = 3
[EDID]EDIDVIC = 2
[EDID]VIC = 3
[EDID]EDIDVIC = 3
[EDID]VIC = 3
[EDID: IsContainVIC]Sink Device supports requested video mode
[EDID]tag = 64
[EDID]blockLen = 13
[EDID]EDIDVIC = 1
[EDID]VIC = 2
[EDID]EDIDVIC = 2
[EDID]VIC = 2
[EDID: IsContainVIC]Sink Device supports requested video mode
[EDID]tag = 64
[EDID]blockLen = 13
[EDID]EDIDVIC = 1
[EDID]VIC = 18
[EDID]EDIDVIC = 2
[EDID]VIC = 18
[EDID]EDIDVIC = 3
[EDID]VIC = 18
[EDID]EDIDVIC = 4
[EDID]VIC = 18
[EDID]EDIDVIC = 5
[EDID]VIC = 18
[EDID]EDIDVIC = 7
[EDID]VIC = 18
[EDID]EDIDVIC = 16
[EDID]VIC = 18
[EDID]EDIDVIC = 18
[EDID]VIC = 18
[EDID: IsContainVIC]Sink Device supports requested video mode
[EDID]tag = 64
[EDID]blockLen = 13
[EDID]EDIDVIC = 1
[EDID]VIC = 17
[EDID]EDIDVIC = 2
[EDID]VIC = 17
[EDID]EDIDVIC = 3
[EDID]VIC = 17
[EDID]EDIDVIC = 4
[EDID]VIC = 17
[EDID]EDIDVIC = 5
[EDID]VIC = 17
[EDID]EDIDVIC = 7
[EDID]VIC = 17
[EDID]EDIDVIC = 16
[EDID]VIC = 17
[EDID]EDIDVIC = 18
[EDID]VIC = 17
[EDID]EDIDVIC = 19
[EDID]VIC = 17
[EDID]EDIDVIC = 20
[EDID]VIC = 17
[EDID]EDIDVIC = 22
[EDID]VIC = 17
[EDID]EDIDVIC = 31
[EDID]VIC = 17
[EDID]EDIDVIC = 32
[EDID]VIC = 17
[EDID]tag = 32
[EDID]blockLen = 3
[EDID]tag = 128
[EDID]blockLen = 3
[EDID]tag = 96
[EDID]blockLen = 7
[EDID]tag = 64
[EDID]blockLen = 13
[EDID]EDIDVIC = 1
[EDID]VIC = 4
[EDID]EDIDVIC = 2
[EDID]VIC = 4
[EDID]EDIDVIC = 3
[EDID]VIC = 4
[EDID]EDIDVIC = 4
[EDID]VIC = 4
[EDID: IsContainVIC]Sink Device supports requested video mode
[EDID]tag = 64
[EDID]blockLen = 13
[EDID]EDIDVIC = 1
[EDID]VIC = 16
[EDID]EDIDVIC = 2
[EDID]VIC = 16
[EDID]EDIDVIC = 3
[EDID]VIC = 16
[EDID]EDIDVIC = 4
[EDID]VIC = 16
[EDID]EDIDVIC = 5
[EDID]VIC = 16
[EDID]EDIDVIC = 7
[EDID]VIC = 16
[EDID]EDIDVIC = 16
[EDID]VIC = 16
[EDID: IsContainVIC]Sink Device supports requested video mode
[EDID]tag = 64
[EDID]blockLen = 13
[EDID]EDIDVIC = 1
[EDID]VIC = 34
[EDID]EDIDVIC = 2
[EDID]VIC = 34
[EDID]EDIDVIC = 3
[EDID]VIC = 34
[EDID]EDIDVIC = 4
[EDID]VIC = 34
[EDID]EDIDVIC = 5
[EDID]VIC = 34
[EDID]EDIDVIC = 7
[EDID]VIC = 34
[EDID]EDIDVIC = 16
[EDID]VIC = 34
[EDID]EDIDVIC = 18
[EDID]VIC = 34
[EDID]EDIDVIC = 19
[EDID]VIC = 34
[EDID]EDIDVIC = 20
[EDID]VIC = 34
[EDID]EDIDVIC = 22
[EDID]VIC = 34
[EDID]EDIDVIC = 31
[EDID]VIC = 34
[EDID]EDIDVIC = 32
[EDID]VIC = 34
[EDID]tag = 32
[EDID]blockLen = 3
[EDID]tag = 128
[EDID]blockLen = 3
[EDID]tag = 96
[EDID]blockLen = 7
[EDID]tag = 64
[EDID]blockLen = 13
[EDID]EDIDVIC = 1
[EDID]VIC = 5
[EDID]EDIDVIC = 2
[EDID]VIC = 5
[EDID]EDIDVIC = 3
[EDID]VIC = 5
[EDID]EDIDVIC = 4
[EDID]VIC = 5
[EDID]EDIDVIC = 5
[EDID]VIC = 5
[EDID: IsContainVIC]Sink Device supports requested video mode
[EDID]tag = 64
[EDID]blockLen = 13
[EDID]tag = 32
[EDID]blockLen = 3
[EDID]EDIDAudioFormatCode = 8
[EDID]EDIDChannelNumber= 1
[EDID]EDIDSampleFreq= 127
[EDID]EDIDWordLeng= 7
[EDID]EDID deepColor = 38
[EDID]EDID deepColor = 38
[EDID]EDID deepColor = 38
[EDID]EDID deepColor = 38
[EDID]EDID deepColor = 38
[EDID]EDID deepColor = 38
[EDID: EDIDDeInit]
kernel IOCTL_POWER_SET setting state 1
kernel IOCTL_POWER_SET setting state 0
[TVRES] ++STDA_Resource_API_Proc()
[TVOUT] ++STDA_TVoutIF_API_Proc(0xc9)
[STDA_TVoutIF_init_param] Setup Callback !!!
[TVOUT] ++STDA_TVoutIF_API_Proc(0xca)
++PHY_SetPowerOn
--PHY_SetPowerOn
[TVOUT] ++STDA_TVoutIF_init_hd_reg(0,0)
++ HDMISetVideoMode
[HDMI: HDMISetVideoMode] video resolution = 2
++ SetHDMIPHY
++ PHYConfig [PHYFreq=6][cd=2]
[size=32]
[index=0]
0x01
0x05 0x00 0xd8 0x10 0x9c 0xf8 0x40 0x6b
0x10 0x01 0x52 0xff 0x31 0x5b 0xba 0x84
0x00 0x10 0x38 0x00 0x08 0x10 0xe0 0x22
0x40 0xa4 0x26 0x01 0x00 0x00 0x80 [PHY]:
0x05 0x00 0xd8 0x10 0x9c 0xf8 0x40 0x6b
0x10 0x01 0x52 0xff 0x31 0x5b 0xba 0x84
0x00 0x10 0x38 0x00 0x08 0x10 0xe0 0x22
0x40 0xa4 0x26 0x01 0x00 0x00 0x40
[HDMI: HDMICoreReset] pHDMISSReg->HDMI_CORE_RSTOUT=0x1
[HDMI: HDMICheckPhyReady] 1
[HDMI: HDMICheckPhyReady] Successed to hdmi phy on [pHDMICoreReg->HDMI_PHY_STATUS=0x1]
-- SetHDMIPHY
-- HDMISetVideoMode
++ HDMIAudioEnable
-- HDMIAudioEnable
++ HDMIStart
[libhdmi: HDMIStart] HDMI CON0 = 0x05!!!
-- HDMIStart
[TVOUT] --STDA_TVoutIF_init_hd_reg()
[TVOUT] ++STDA_HDMI_HpdSetMode(hdmiPinStatus=1, updateStatus=1)
[HDMI: HPDEventHandler]!!!
[HPDEventHandler] clear pending for HPD PLUG, Interrupt Enable = 0x44, Interrupt Status = 0x00
[HPDHandle] HPD Plug!!!
[HDMI: HPDStart] HDMI Subsystem register 0x44!!!
[TVOUT] --STDA_HDMI_HpdSetMode()
[TVOUT] --STDA_TVoutIF_API_Proc(0x000000ca)
[TVRES] ++STDA_Resource_API_Proc()
DispPhyAddr = 0x37000000
[GRP] ++STDA_Grp_API_Proc(0x191)
[GRP] ++STDA_Grp_API_Proc(0x192)
[VMIXER]++VMixer_initialize_layer(0,1,0,0,2,4,0,0,0,0x0,0x37000000,1024,1024,600,0,0,50,24)
[解决办法]
好像楼主在我的博客留言了。
呵呵。有个应用程序的啊。还可以播放视频呢。
android可以的,驱动或者应用问题了。
RTM release(0.27) 这个是什么年月的。
我用的是2010 09 的才行哦。2010 04 月份比较老的尽量不用先。
[解决办法]
没看出来时什么问题
[解决办法]
我的S5PV210也OK了,wince6.0系统,能出图像,要修改驱动。但是还有问题:休眠唤醒后就没有图像了。不知怎么改。
[解决办法]
RTM release(0.27)是2010年5月份的
我用的是这个包,没有改驱动。。按照文档做了个HDMI测试程序。就OK了。
[解决办法]
WINCE6三星的驱动肯定BUG一堆,别用它