Hi,
We are writing an application to capture desktop images (via /dev/graphics/fb0) on i.MX6 board, then send it out to another computer. We would like to permanently set the framebuffer resolution to 1024x768 or 1024x600. Note: there is no monitor in this setup so the display compatibility is not an issue. Also, if possible, we would like to use 16bpp instead of the 32bpp default value. Anyone has an idea where we should modify the code to do this? Thanks.
Solved! Go to Solution.
Please take a look to the following Application Note :
http://cache.freescale.com/files/dsp/doc/app_note/AN4182.pdf
Basically you need to modify your bootargs and leave this fix, and use only one mode in the fb struct mode.
Have a great day,
Jaime
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Please take a look to the following Application Note :
http://cache.freescale.com/files/dsp/doc/app_note/AN4182.pdf
Basically you need to modify your bootargs and leave this fix, and use only one mode in the fb struct mode.
Have a great day,
Jaime
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jaime,
We have the same issue. We have a iMX6 sabre SD board. We downloaded the source code of jb4.2.2_1.1.0. We followed the guide and flashed the image to the board. We tried to set the resolution to be 1920x1080 and 1280x720 and they work fine. However, when we tried 1024x768, it results in the image like the following, do you have some suggestion on how to solve this?
The boot args we are using are:
setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M androidboot.hardware=freescale
setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/init video=mxcfb0:dev=hdmi,1280x720M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M androidboot.hardware=freescale
setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/init video=mxcfb0:dev=hdmi,1024x768M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M androidboot.hardware=freescale