I use a i.MX6Q SabreSD to test the framebuffer.
I want to make a config that:
HDMI output @ 1280*720P - bpp=32bit
and a dummy output @ 480*800 - bpp=16bit(I only want to use the frame buffer content, to copy to outsie devices as projector ).
But whatever I config via command line or board***.c, the frame buffer color depth for the dummy device(ldb or lcd) always be 32bit(RGBA?)
How can I config it?
Best regards.
would you show what command line you used? and what changes in the board***.c?
also, it is better to tell what BSP and board are you using.
thanks.
Thanks Jimmy.
We use a SabreSD board, and try to set bpp=16 for HDMI/LCD display.
But seems that FB0/FB2 only use RGBA format for the UI display data.
What we want is try to copy RGB565 framebuffer data as treaming out, but seems Android 4.2.2 only use RGBA(32bit) for it's display device framebuffers.
Please help me check it.
Hi were you able to figure this out? I am also using android 4.2.2 build and 16-bit lcd and not getting anything on my lcd. I've tested my lcd using yocto linux so I know my init sequence for initializing the lcd is ok. My android boot params are:
enable_wait_mode=off console=ttymxc0,115200 vmalloc=400M consoleblank=0 rootdelay=3 video=mxcfb0:dev=lcd,DTECH,if=RGB666 video=mxcfb1:off video=mxcfb2:off fbmem=28M fbcon=28M androidboot.bootdev=sdhci-esdhc-imx.0 androidboot.hardware=freescale androidboot.console=ttymxc0
where DTECH is the name of my lcd and i've added this to mxc_lcdif as well.
Thanks