This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP3 LCD rotation limits

I was wondering if anyone could shed some light on the OMAP3 setup needed to get a 480x640 (portrait orientation) LCD to correctly display the DVI display's 640x480 (landscape orientation).  I'm running Angstrom 2.6.32 on a beagleboard xM.  The LCD panel connects to the beagleboard via a custom interface board.  I've been able to make some headway with the rotational aspect, but it seems to require that I redefine the DVI size from 640x480 to 480x480.

I'm passing in the following OMAP-related variables from u-boot as my kernel boot-up args:

defaultdisplay=lcd

dvimode="480x480MR-16@60 omapfb.vram=0:8M,1:8M,2:8M omapfb.rotate=1"

omapfb.debug=y

omapdss.debug=y

vram=24M

To get the LCD to show anything  I have to do one more step:

echo 1 > /sys/devices/platform/omapdss/display2/enabled

When I monitor the DVI port (via HDMI to computer monitor) and LCD panel, I get the expected 90 degree rotation on each display device.

So my question is, for any 90 (or 270) degree rotation to succeed, does OMAP require a square NxN symmetry?

Thanks for any insights into this.

Sam

  • I met the same question. I want to rotate 90 degree for 1360x768 @ OMAP3730, but only 0 and 180 degree can be done. 90 and 270 degree return "detected fb_set_par error, error code : - 22".

    Rotate 90 degree for 480x480 is OK. Is it a limit? Only square screen can be rotate 90 or 270 degree?