exynos4412 HDMI测试

平台: IBOX 4412

Linux:Linux-3.8.13(from NanoPC from Odroid)

Driver:drivers/media/platform/s5p-tv

编译器:arm-linux-gnueabihf-gcc 4.7.3


一、代码移植(参考板都已经做完)

smdk4x12_devices[]加入


smdk4x12_machine_init中加入

exynos4412 HDMI测试_第1张图片



二、Menuconfig 配置

Device Drivers -->Multimedia support ---> V4L platfomr devices ---> HDMI相关配置打开



三、kernel log输出

[    2.225412] s5p-hdmiphy 8-0038: probe successful
[    2.225427] s5p-hdmi exynos4-hdmi: probe successful
[    2.225524] Samsung TV Mixer driver, (c) 2010-2011 Samsung Electronics Co., Ltd.
[    2.225524]
[    2.225771] s5p-mixer s5p-mixer: probe start
[    2.225860] s5p-mixer s5p-mixer: resources acquired
[    2.225870] s5p-mixer s5p-mixer: added output 'S5P HDMI connector' from module 's5p-hdmi'
[    2.225876] s5p-mixer s5p-mixer: module s5p-sdo is missing
[    2.226067] s5p-mixer s5p-mixer: registered layer graph0 as /dev/video0
[    2.318749] hub 2-0:1.0: state 7 ports 3 chg 0000 evt 0000
[    2.569619] fb5: registered frame buffer emulation for /dev/video0
[    2.575989] s5p-mixer s5p-mixer: registered layer graph1 as /dev/video1
[    2.582567] fb6: registered frame buffer emulation for /dev/video1
[    2.588809] s5p-mixer s5p-mixer: registered layer video0 as /dev/video2
[    2.595313] fb7: registered frame buffer emulation for /dev/video2
[    2.601294] s5p-mixer s5p-mixer: probe successful
[    2.606300] usbcore: registered new interface driver uvcvideo

从log中我们看到了这个HDMI伟大的地方

它不仅创建了标准的V4L2 video 设备,他也创建了Framebuf设备

就是说,我们不仅可以像控制camera那样控制它,而且还能像控制lcd buffer那样控制它。

一共创建6个节点,3个video和3个fb节点,分别对应三个视频设备,graph0、graph1、vp。


四、 HDMI测试(1080P)

video方式测试


fb方式测试(usb摄像头 将获取的数据 填充到HDMI的frambuffer,相当于camera在hdmi上预览)

exynos4412 HDMI测试_第2张图片


五、问题,目前默认画面和背景色总是绿色,配置寄存器不起作用


你可能感兴趣的:(exynos4412 HDMI测试)