All of lore.kernel.org
 help / color / mirror / Atom feed
* Video overlay on sabresd
@ 2015-05-19 16:16 Nikolay Dimitrov
  2015-05-19 16:22 ` Prabhu S
  0 siblings, 1 reply; 11+ messages in thread
From: Nikolay Dimitrov @ 2015-05-19 16:16 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

Hi guys,

I'm trying to get the video overlay working on imx6q sabresd's HDMI.
Here's the kernel command line:

console=ttymxc0,115200 root=/dev/mmcblk2p2 rootwait rw 
video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB2
4,bpp=32 fbmem=28M

This is the kernel version:

# uname -a
Linux imx6qsabresd 3.14.28-1.0.0_ga+g91cf351 #1 SMP PREEMPT Tue May 19 
17:32:51 EEST 2015 armv7l
GNU/Linux

Here are the framebuffer devices nodes:

# ls -lh /dev/fb*
crw-rw----    1 root     video      29,   0 Jan  1  1970 /dev/fb0
crw-rw----    1 root     video      29,   1 Jan  1  1970 /dev/fb1
crw-rw----    1 root     video      29,   2 Jan  1  1970 /dev/fb2
crw-rw----    1 root     video      29,   3 Jan  1  1970 /dev/fb3

I can write arbitrary data on /dev/fb0 and see it on screen, like this:

# cat /bin/busybox.nosuid > /dev/fb0

But I can't write to /dev/fb1:

# cat /bin/busybox.nosuid > /dev/fb1
cat: write error: No space left on device

I'm assuming that fb0 is the background layer, and fb1 is the
foreground IPU layer.

So the question is - how to make the foreground (fb1) layer working at
all? Should I configure mxcfb1 in the bootargs, or it needs some IOCTL
in /dev/fb1 to enable the device?

Thanks in advance. Regards,
Nikolay


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-05-25 14:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-19 16:16 Video overlay on sabresd Nikolay Dimitrov
2015-05-19 16:22 ` Prabhu S
2015-05-20 17:41   ` Nikolay Dimitrov
2015-05-20 23:43     ` Nikolay Dimitrov
2015-05-21  2:01       ` Nikolay Dimitrov
2015-05-22  1:40         ` Nikolay Dimitrov
2015-05-25  7:47           ` Marco Trillo
2015-05-25  9:27             ` Nikolay Dimitrov
2015-05-25 13:22               ` Marco Trillo
2015-05-25 13:52                 ` Nikolay Dimitrov
2015-05-25 14:24           ` Nikolay Dimitrov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.