I’ve been struggling with this for three solid days and getting nowhere. Would really appreciate any help/assistance that anybody can offer.
I have an Elecrow 5" 800x480 HDMI panel which uses a RealTek RTD2660H chipset (datasheet).
The display works perfectly with my Windows desktop PC, Linux laptop and Raspberry Pi2. But it refuses to work with my HiKey960.
I followed the instructions on the source.android.com/setup/devices page to build the latest Android and kernel and flashed them to the device. I have also set the following options in BoardConfig.mk:
BOARD_KERNEL_CMDLINE += video=HDMI-A-1:800x480@60
On startup I see the Android bootloader icon flash up briefly, but it looks very corrupt with black lines running through it. After that it’s a black screen and nothing is displayed.
If I change the BOARD_KERNEL_CMDLINE options to 400x800@60 then the Android screen appears but again it’s very corrupt. I don’t have an image to hand, but it’s like the whole display is twisting and lines are running into each other.
I noticed adv7511_drv.c has the following entry so I would expect the display to work:
(mode->hdisplay == 800 && mode->vdisplay == 480 && mode->clock == 32000)) {
Perhaps the clock value is wrong, although I couldn’t find the right one in the datasheet?
There are no useful entries in dmesg or logcat. I’ve previously posted the very few messages that are displayed. I couldn’t find any way of enabling any additional logging.
Really appreciate any help with this. Cannot believe I’ve been struggling with this for 3 days on the HiKey960 when the panel works perfectly on three other platforms.
Thanks.