I am trying to configure DSS2 to output to both a LCD touchscreen at 800x480 and output to the S-video port at the maximum resolution. I also want to configure this so that these are not clones of each other but I am having trouble understanding the configuration documentation. Does anyone know how this can be done?
Thanks
-TJ
I actually think my real hold back is being able to define multiple frame buffers. I can change between my outputs and such but I can’t seem to define multiple buffers any advice?
-TJ
More specifically I am trying omapfb.vram=0:4M,1:4M only one frame buffer ends up being defined with a size and address in /sys/class/graphics/fb?. Any Idea why this would be?
-TJ
More specifically I am trying omapfb.vram=0:4M,1:4M only one frame
buffer ends up being defined with a size and address in
/sys/class/graphics/fb?. Any Idea why this would be?
Do you have fb0, fb1 available? Something like,
/sys/class/graphics/fb0/
/sys/class/graphics/fb1/
I guess not.
If it is the case, the problem could be option "CONFIG_FB_OMAP2_NUM_FBS",
Make sure that it is configured to >1.
Also, share your bootlog, driver may have thrown some errors.
Thanks,
Vaibhav
Both of those paths exist within the operating system, but fb1 the size field is 0 and i and most of the other fields inside are empty as well. What bootlog exactly do you mean? The ubuntu or serial boot? Also the CONFIG_FB_OMAP2_NUM_FBS param where is that toggled?
Thanks for responding btw.
TJ
Yes, I was referring to serial boot log.
Also, are you passing vram bootargs (vram="8M")?
Thanks,
Vaibhav
Yea I can send you my uEnv.txt file if you would like
What were you speaking of while you were mentioning CONFIG_FB_OMAP2_NUM_FBS
FB_OMAP2_NUM_FBS controls the number of framebuffers required,
FB_OMAP2_NUM_FBS=1
/dev/fb0 -> gfx plane
/dev/videoX -> Video1 plane
/dev/videoX -> Video2 plane
FB_OMAP2_NUM_FBS=2
/dev/fb0 -> gfx plane
/dev/fb1 -> Video1 plane
/dev/videoX -> Video2 plane
FB_OMAP2_NUM_FBS=3
/dev/fb0 -> gfx plane
/dev/fb1 -> Video1 plane
/dev/fb2 -> Video2 plane
Thanks,
Vaibhav
How do you set that configuration tho?
It is compile time configuration option, either through menuconfig (in FB driver) OR change directly .config.
Thanks,
Vaibhav
Do you have any documentation describing this? Because I honestly haven’t seen a reference to anything that I have seen
You can refer to PSP user guide for this (created during PSP release based on 2.6.37 kernel)
http://processors.wiki.ti.com/index.php/AM35x-OMAP35x-PSP_04.02.00.07_UserGuide#Video_Display_Driver
Thanks,
Vaibhav
So with my beagleboard I have tried doing vram=20M omapfb.vram=0:20M to define the size of frame buffers, and I have tried vram=20M omapfb.vram=0:14M,0:6M for multiple buffers with no success. The documentation states that this should create two frame buffers? Any idea where this should be. I shouldn’t have to build a special kernel to do this should I? I should be able to use the kernel described here http://elinux.org/BeagleBoardUbuntu#Method_1:_Download_a_Complete_Pre-Configured_Image? Thanks for your help
-TJ
You miss-understood this, in order to create multiple fbs you must pass "vram=12M omapfb.vram=0:4M,1:4M,2:4M", assuming that you have FB_OMAP2_NUM_FBS=3.
By default everything will be put on LCD output (as this is default output). In order to get TV (S-Video) output you have to put /dev/fb1 (video1 plane) to TV out. Something like,
# echo 0 > /sys/devices/platform/omapdss/overlay/enabled
# echo "tv" > /sys/devices/platform/omapdss/overlay1/manager
# echo 1 > /sys/devices/platform/omapdss/overlay/enabled
# echo 1 > /sys/devices/platform/omapdss/display1/enabled
NOTE: These steps what I remember on top of my head, I have not tried these steps while writing this email.
But this should give you a logic and idea about what I am trying to convey here.
Thanks,
Vaibhav
Hiremath, Vaibhav wrote:
You miss-understood this, in order to create multiple fbs you must pass �vram=12M omapfb.vram=0:4M,1:4M,2:4M�, assuming
that you have FB_OMAP2_NUM_FBS=3.
By default everything will be put on LCD output (as this is default output). In order to get TV (S-Video) output you
have to put /dev/fb1 (video1 plane) to TV out. Something like,
# echo 0 > /sys/devices/platform/omapdss/overlay/enabled
# echo �tv� > /sys/devices/platform/omapdss/overlay1/manager
# echo 1 > /sys/devices/platform/omapdss/overlay/enabled
# echo 1 > /sys/devices/platform/omapdss/display1/enabled
NOTE: These steps what I remember on top of my head, I have not tried these steps while writing this email.
But this should give you a logic and idea about what I am trying to convey here.
maybe to make it more clear:
you need to recompile the Linux kernel with FB_OMAP2_NUM_FBS=3 and then
use this kernel with the above command line setting.