Android 4.2.2: unable to set 1920x1080 HDMI resolution

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android 4.2.2: unable to set 1920x1080 HDMI resolution

Jump to solution
3,984 Views
fabiof
Contributor IV

Hi all

I'm working on the last Freescale Android version 4.2.2. My goal is to show Android on a HDMI monitor using 1920x1080 resolution but not able to obtain such result yet. I'm currently booting from SD u-boot using the following kernel command line:

console=ttymxc1,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale

The kernel load and start android but the monitor tell me that the signal is not correct and nothing show up. I checked and logged the mxc hdmi driver (mxc_hdmi.c) and activated the debug messages. Follow the log from dmesg:

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_edid_rebuild_modelist

<7>mxc_hdmi mxc_hdmi: Added mode 0:

<7>mxc_hdmi mxc_hdmi: xres = 1920, yres = 1080, freq = 60, vmode = 0, flag = 17

<7>mxc_hdmi mxc_hdmi: Added mode 2:

<7>mxc_hdmi mxc_hdmi: xres = 640, yres = 480, freq = 60, vmode = 0, flag = 4

<7>mxc_hdmi mxc_hdmi: Added mode 22:

<7>mxc_hdmi mxc_hdmi: xres = 1920, yres = 1080, freq = 60, vmode = 32, flag = 2

<7>mxc_hdmi mxc_hdmi: Added mode 23:

<7>mxc_hdmi mxc_hdmi: xres = 1920, yres = 1080, freq = 50, vmode = 32, flag = 2

<7>mxc_hdmi mxc_hdmi: Added mode 24:

<7>mxc_hdmi mxc_hdmi: xres = 1280, yres = 720, freq = 60, vmode = 32, flag = 2

<7>mxc_hdmi mxc_hdmi: Added mode 25:

<7>mxc_hdmi mxc_hdmi: xres = 1280, yres = 720, freq = 50, vmode = 32, flag = 2

<7>mxc_hdmi mxc_hdmi: Added mode 26:

<7>mxc_hdmi mxc_hdmi: xres = 720, yres = 480, freq = 60, vmode = 32, flag = 2

<7>mxc_hdmi mxc_hdmi: Added mode 27:

<7>mxc_hdmi mxc_hdmi: xres = 720, yres = 576, freq = 50, vmode = 32, flag = 2

<7>mxc_hdmi mxc_hdmi: Added mode 28:

<7>mxc_hdmi mxc_hdmi: xres = 720, yres = 480, freq = 60, vmode = 16, flag = 2

<7>mxc_hdmi mxc_hdmi: Added mode 29:

<7>mxc_hdmi mxc_hdmi: xres = 720, yres = 576, freq = 50, vmode = 16, flag = 2

<7>mxc_hdmi mxc_hdmi: Added mode 30:

<7>mxc_hdmi mxc_hdmi: xres = 640, yres = 480, freq = 60, vmode = 16, flag = 2

<7>mxc_hdmi mxc_hdmi: Added mode 32:

<7>mxc_hdmi mxc_hdmi: xres = 1280, yres = 720, freq = 60, vmode = 32, flag = 1

<7>mxc_hdmi mxc_hdmi: Added mode 34:

<7>mxc_hdmi mxc_hdmi: xres = 720, yres = 576, freq = 50, vmode = 32, flag = 1

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_set_mode

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_set_mode: setting to default=1920x1080M@60 bpp=32

<6>fbcvt: 1920x1080@60: CVT Name - 2.073M9

<7>fb_videomode = 59 1920 1080 5780 328 128 3 32 200 5 2 0 32

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_set_mode: New video mode

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_set_mode_to_vga_dvi

<7>hdmi_disable_overflow_interrupts

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_notify_fb

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_phy_disable

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_phy_init

<7>mxc_hdmi mxc_hdmi: hdmi_phy_configure

<7>mxc_hdmi mxc_hdmi: hdmi_phy_configure

<7>mxc_hdmi mxc_hdmi: event=FB_EVENT_MODE_CHANGE

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_setup

<7>fb_videomode = 60 1920 1080 6734 148 88 36 4 44 5 3 32 32

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_setup - video mode changed

<7>hdmi_disable_overflow_interrupts

<7>mxc_hdmi mxc_hdmi: Non-CEA mode used in HDMI

<7>mxc_hdmi mxc_hdmi: hdmi_av_composer

<7>mxc_hdmi mxc_hdmi: final pixclk = 148500000

<7>mxc_hdmi mxc_hdmi: hdmi_av_composer exit

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_phy_init

<7>mxc_hdmi mxc_hdmi: hdmi_phy_configure

<7>mxc_hdmi mxc_hdmi: hdmi_phy_configure

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_enable_video_path

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_setup DVI mode

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_setup exit

<7>

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_notify_fb exit

<7>fb_videomode = 60 1920 1080 6734 148 88 36 4 44 5 3 0 17

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_notify_fb

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_phy_disable

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_phy_disable - exit

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_phy_init

<7>mxc_hdmi mxc_hdmi: hdmi_phy_configure

<7>mxc_hdmi mxc_hdmi: hdmi_phy_configure

<7>mxc_hdmi mxc_hdmi: event=FB_EVENT_MODE_CHANGE

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_setup

<7>fb_videomode = 60 1920 1080 6734 148 88 36 4 44 5 3 0 32

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_setup - video mode changed

<7>edid mode

<7>fb_videomode = 60 1920 1080 6734 148 88 36 4 44 5 3 0 17

<7>hdmi_disable_overflow_interrupts

<7>mxc_hdmi mxc_hdmi: CEA mode used vic=16

<7>mxc_hdmi mxc_hdmi: hdmi_av_composer

<7>mxc_hdmi mxc_hdmi: final pixclk = 148500000

<7>mxc_hdmi mxc_hdmi: hdmi_av_composer exit

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_phy_init

<7>mxc_hdmi mxc_hdmi: hdmi_phy_configure

<7>mxc_hdmi mxc_hdmi: hdmi_phy_configure

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_enable_video_path

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_setup CEA mode

<7>mxc_hdmi mxc_hdmi: hdmi_enable_audio_clk

<7>mxc_hdmi mxc_hdmi: set up AVI frame

<7>hdmi_enable_overflow_interrupts

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_setup exit

<7>

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_notify_fb exit

<7>mxc_hdmi mxc_hdmi: mxc_hdmi_cable_connected exit


Also other lower resolution doesn't work. It are days I'm working on this problem but no progress made.:-(


Someone can help me?


Thank you

Labels (2)
Tags (1)
1 Solution
863 Views
fabiof
Contributor IV

Hi

Thank you for your reply. Fortunately just yesterday I was able to set resolution correctly. For all the people could exteriment a similar issue in my case it was something wrong into the kernel configuration file. I restarted from "original" definition file provided into Android package and make the required changes for my hardware and now HDMI video is working. I don't know which settings in particular was wrong however, but I'm not very interested in it right now. :smileyhappy:

View solution in original post

3 Replies
863 Views
fabiof
Contributor IV

No help for this problem? I'm still in trouble... :smileycry:

0 Kudos
863 Views
daiane_angolini
NXP Employee
NXP Employee

You did forget to mention your board/chip.

0 Kudos
864 Views
fabiof
Contributor IV

Hi

Thank you for your reply. Fortunately just yesterday I was able to set resolution correctly. For all the people could exteriment a similar issue in my case it was something wrong into the kernel configuration file. I restarted from "original" definition file provided into Android package and make the required changes for my hardware and now HDMI video is working. I don't know which settings in particular was wrong however, but I'm not very interested in it right now. :smileyhappy: