svideo commands doesn't work in C4 with latest kernel 2.6.29

When I run svideo command in C4 with uImage-2.6.29-r47-beagleboard.bin
of angstrom, I got

cat: can't open '/sys/devices/platform/omapfb/displays': No such file
or directory
/usr/bin/svideo: line 4: cannot create /sys/devices/platform/omapfb/
framebuffers: nonexistent directory
/usr/bin/svideo: line 5: cannot create /sys/devices/platform/omapfb/
framebuffers: nonexistent directory
/usr/bin/svideo: line 6: cannot create /sys/devices/platform/omapfb/
overlays: nonexistent directory
/usr/bin/svideo: line 7: cannot create /sys/devices/platform/omapfb/
overlays: nonexistent directory
/usr/bin/svideo: line 8: cannot create /sys/devices/platform/omapfb/
displays: nonexistent directory

But it works in uImage-2.6.28-r17-beagleboard.bin and other uImage.bin
http://www.angstrom-distribution.org/demo/beagleboard/

You can install the matching documentation using opkg:

opkg update ; opkg install omap-dss-doc
cp /boot/uImage /media/mmcblk0p1/uImage && reboot
vi /boot/DSS

regards,

Koen

Hi Koen,

When I run opkg install omap-dss-doc, I got error
An error ocurred, return value: -1098175596.

BB is not connected to internet, it is not possible to download.
How can I include it in the kernel so that I don’t need to do manually?

Kind Regards

Kaijun Tang

Dear Kaijun,

When I run opkg install omap-dss-doc, I got error
An error ocurred, return value: -1098175596.

BB is not connected to internet, it is not possible to download.

you can download the packages manually, copy it to your device and
install it.

How can I include it in the kernel so that I don't need to do
manually?

I do not understand this question.

Thanks,

Paul

[1] http://www.angstrom-distribution.org/repo/?pkgname=omap-dss-doc

Dear Kaijun,

> When I run opkg install omap-dss-doc, I got error
> An error ocurred, return value: -1098175596.

> BB is not connected to internet, it is not possible to download.

you can download the packages manually, copy it to your device and
install it.

> How can I include it in the kernel so that I don't need to do
> manually?

I do not understand this question.

What I mean is I don't want to install manually each time. As done in
previous version, it is installed automatically.

Hi Koen,

I followed your instructions. I installed omap-dss-doc_2.6.29-
r46.1_beagle
board.ipk, but the problem is still there.
edit what for DSS text file?

Hello,
I have similar problem as you. Were you able to sovle it?
root@beagleboard:~/dvsdk_demos# ./decode -v davincieffect_ntsc_1.m4v
Decode demo started.
sh: can't create /sys/devices/platform/omapfb/overlays: nonexistent
directory
Error: Failed to execute: echo gfx e:0 > /sys/devices/platform/omapfb/
overlays
Error: Failed to Disable Graphics Plane
Error: Failed to create UI

Thanks

I'm not sure how to get those virtual files when using the OE filesystem but the one provided by TI for the OMAP35xx family will definitely have those.

Basically what that is trying to do is turn off the graphics layer. I don't think this is necessary to get you up and running as long as you don't have anything written into the graphics layer. If you do, you can clean it up by doing "dd if=/dev/zero of=/dev/fb0". This will write all 0s into the graphics framebuffer. I would suggest editing the decode script and commenting the line out.

Bhargav wrote:

Hello Chris,
I commented that code for disabling graphics layer. But now i am
getting below error:
Error: Failed to create display device instance

Program received signal SIGSEGV, Segmentation fault.
0x00010e28 in Display_getHandle (hDisplay=0x0) at linux/Display.c:245
245 linux/Display.c: No such file or directory.
  in linux/Display.c
(gdb) bt
#0 0x00010e28 in Display_getHandle (hDisplay=0x0) at linux/Display.c:
245
#1 0x0000a5d0 in setOsdTransparency (hDisplay=0x0, transparency=0) at
main.c:78
#2 0x0000adb0 in main (argc=1, argv=0xbeddcda4) at main.c:336

Thanks,
Bhargav