I have configured a 240x320 LCD with timing correcpond to 240 pixel line and 512 lines (instead of 320). Any other configuration did not work with my LCD.
Now I can finally get a stable image , but each time the image starts at different line (and the rest of the screen is blank).
dd if=/dev/zero of=/dev/fb0
It resolved this issue.
Does anyone anyone knows why the above command resolve the problem ? I would assume that framebuffer content is the same even before doing this command, so i don't understand the effect.
I also do not understand what the reason for the different line offset in the first place.