Platform: IBOX 4412
linux:linux-3.8.13 (from Nanopc from Odroid)
Driver:drivers/media/platform/s5p-tv
Compiler: ARM-LINUX-GNUEABIHF-GCC 4.7.3
First, code migration (the reference board has been done)
Smdk4x12_devices[] Join
Join in Smdk4x12_machine_init
Second, menuconfig configuration
Device Drivers-->multimedia Support---> v4l PLATFOMR devices---> HDMI-related configuration open
Third, kernel log output
[2.225412] s5p-hdmiphy 8-0038:probe successful[2.225427] s5p-hdmi exynos4-hdmi:probe successful[2.225524] Sa Msung 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 conn Ector ' from module ' S5P-HDMI ' [2.225876] s5p-mixer s5p-mixer:module s5p-sdo is missing[2.226067] s5p-mixer s5p-mix er: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/vide o1[2.582567] fb6:registered frame buffer emulation for/dev/video1[2.588809] S5p-mixer s5p-mixer:registered Laye R video0 as/dev/video2[2.595313] fb7:registered frame buffer emulation for/dev/video2[2.601294] S5p-mixer s5p-m Ixer:probe successful[ 2.606300] usbcore:registered new Interface driver Uvcvideo
From the log we saw this HDMI great place
Not only did it create the standard V4L2 video device, he also created the FRAMEBUF device
That is, not only can we control it like a camera, but it can also be controlled like the LCD buffer.
Altogether create 6 nodes, 3 video and 3 FB nodes, respectively, corresponding to three devices, Graph0, GRAPH1, VP.
Four, HDMI test (1080P)
Video mode test
FB mode Test (USB camera will get the data to fill the HDMI Frambuffer, equivalent to camera on HDMI preview)
Five, the problem, the default screen and background color is always green, configuration register does not work
exynos4412 HDMI test