Error: Failed to create display device instance - sh: can't create /sys/devices/platform/omapdss/overlay0/global_alpha: nonexistent directory

Hi,

I am getting this error message on devkit8000(beagleboard clone) for
the DVSDK I built from the sources obtained from the TI site.

Error: Failed to create display device instance
sh: can't create /sys/devices/platform/omapdss/overlay0/global_alpha:
nonexistent directory
Error: Failed to execute: echo 0 > /sys/devices/platform/omapdss/
overlay0/global_alpha

Read from somewhere that these are the OMAP DSS2 driver related kernel
objects that et mounted on the sysfs filesystem. But I am not able to
figure out what I am doing wrong in my kernel configuration that these
are getting not built in the uImage or not getting mounted when run.

These are my kernel configs for DSS2 -
+CONFIG_OMAP2_DSS=y
+# CONFIG_OMAP2_DSS_DEBUG_SUPPORT is not set
+# CONFIG_OMAP2_DSS_RFBI is not set
+CONFIG_OMAP2_DSS_VENC=y
+# CONFIG_OMAP2_DSS_SDI is not set
+# CONFIG_OMAP2_DSS_DSI is not set
+# CONFIG_OMAP2_DSS_FAKE_VSYNC is not set
+#CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=4

and for FB is -
+# Graphics support

Saleem,

The very first thing is, your kernel version is 2.6.29-rc3 which is quite old and doesn't have sysfs entries like,

/sys/devices/platform/omapdss/overlayX/

The old driver interface used to have

/sys/devices/platform/omapfb/overlays

So I would suggest either migrate to latest (>2.6.32 kernel version) OR fis your script to use proper sysfs interface.

Thanks,
Vaibhav Hiremath

Thanks Vaibhav.. I will try this out..Thanks

Hi Vaibhav,

Thanks for your suggestions.

I was able to get through this error by selecting an older dvsdk
version which uses the old sysfs entries. I am now facing a different
problem. The log comes as follows and stays there and the lcd blacks
out on the devkit8000 -

omapfb omapfb: enable overlay failed

I read some website saying that the omap_vout.vid1_static_vrfb_alloc=y
needs to be given in the bootargs. But this also didnt solve the
issue. I tried enabling the debugs in omapfb and also passing
omapfb.debug=y in bootargs but there are no prints coming on the
console. May be the prints are going to the lcd which is already
blacked out.

Any idea what could be the issue here?

Thanks
Saleem