Dear all,
I'm trying to get 3D acceleration on OMAP3530, DSS2 is enabled in kernel version 2.6.33.7 with some modify to adapt with my card materials.
I have installed Graphics_SDK_4_03_00_02: bufferclass_ti.ko, omaplfb.ko and pvrsrvkm.ko modules are compiled.
pvrsrvkm.ko module can be insmod but omaplfb.ko can't be insmod, I have checked Graphics_SDK_4_03_00_02 soouce code, problems come from omaplfb_displayclass.c 'function:
if (fb_idx < 0 || fb_idx >= num_registered_fb)
{
eError = OMAP_ERROR_INVALID_DEVICE;
goto errRelSem;
}
Can you tell me how I can fix this ?
Thank you for your reponse,
Regards,
Francis LE
Log when running omap demo script:
#/etc/init.d/omap-demo
...
Module pvrsrvkm failed to load. Retrying.
Running /sbin/depmod
[ 187.575012] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
FATAL: Error inserting omaplfb (/lib/modules/2.6.33.7-00057-g89f751d/kernel/drivers/char/omaplfb.ko)
: No such device
Module omaplfb failed to load. Retrying.
[ 187.595977] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
FATAL: Error inserting omaplfb (/lib/modules/2.6.33.7-00057-g89f751d/kernel/drivers/char/omaplfb.ko)
: No such device
Continuing to load PowerVR services
Module bc_example failed to load. Retrying.
Continuing to load PowerVR services
Loaded PowerVR consumer services.
# cat /lib/modules/2.6.33.7-00057-g89f751d/kernel/drivers/char/
omaplfb.ko pvrsrvkm.ko
# cat /proc/cmdline
earlyprintk console=ttyS1,115200n8 vram=12M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait omapfb.mode=dvi:800x400MR-16@60
Log when booting system:
...
[ 11.979583] omapfb omapfb: no displays
[ 11.983367] omapfb omapfb: failed to setup omapfb
[ 11.988159] omapfb: probe of omapfb failed with error -22
..
[ 1075.729461] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
FATAL: Error inserting omaplfb (/lib/modules/2.6.33.7-00057-g89f751d/kernel/drivers/char/omaplfb.ko)
: No such device
Module omaplfb failed to load. Retrying.
Running /sbin/depmod
[ 1075.775604] omaplfb: OMAPLFB_Init: OMAPLFBInit failed
FATAL: Error inserting omaplfb (/lib/modules/2.6.33.7-00057-g89f751d/kernel/drivers/char/omaplfb.ko)
: No such device
Continuing to load PowerVR services
Module bc_example failed to load. Retrying.
Continuing to load PowerVR services
Loaded PowerVR consumer services.
..
Kernel config:
#
# Graphics support
#
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set
#
# Frame buffer hardware drivers
#
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_OMAP_BOOTLOADER_INIT is not set
CONFIG_OMAP2_VRAM=y
CONFIG_OMAP2_VRFB=y
CONFIG_OMAP2_DSS=y
CONFIG_OMAP2_VRAM_SIZE=12
CONFIG_OMAP2_DSS_DEBUG_SUPPORT=y
# CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS 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=0
CONFIG_FB_OMAP2=y
CONFIG_FB_OMAP2_DEBUG_SUPPORT=y
# CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE is not set
CONFIG_FB_OMAP2_NUM_FBS=3
#