This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

getting PowerVR to work on my BeagleBoard-xM

Hello,

I am a new user who is trying to get PowerVR working on my BeagleBoard-xM.

I populated my microSD card with the proper files from Narcissus; I used the Narcissus choices found on the page http://qt-project.org/wiki/TIBeagleBoard. All PowerVR files seem to be in the correct place in the rootfs.

Given only this populated microSD card, what are the other things I need to do to get PowerVR to function so that its test program will run successfully?  Is there administration steps needed at the command line in Angstrom?

When I run the pvr2d_test program on the BB-xM, I get the error "PowerVR device not found".

Thanks for any ideas.  I am a fairly experienced programmer, but somewhat new to cross-compiling, BeagleBoard-xM, and setting up this sort of gpu support feature on an embedded Linux system.

(BTW - I did see some of Prabindh Sundaaerson's pages and slides.  I read I might need to set omapfb.video_mode=1024x600MR-16@60, but I'm not sure about whether that's still really needed.  I also read that to use Qt (once PowerVr is functioning) I need to export QT_QPA_EGLFS_DEPTH=16)

  • I have a feeling it would should not be too hard to get the PowerVR device working on my BeagleBoard-xM.  I do have the correct files from Narcissus.

    I noticed the following files are on my microSD card:

    /lib/modules/2.6.32/kernel/drivers/gpu/pvr/pvrsrvkm.ko
    /lib/modules/2.6.32/kernel/drivers/gpu/pvr/bufferclass_ti.ko
    /lib/modules/2.6.32/kernel/drivers/gpu/pvr/omaplfb.ko
    /etc/powervr.ini
    /etc/init.d/pvr-init
    /etc/rc6.d/K40pvr-init
    /etc/rc2.d/S30pvr-init
    /etc/rc5.d/S30pvr-init
    /etc/rc1.d/K40pvr-init
    /etc/rc0.d/K40pvr-init
    /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.6
    /usr/lib/libpvr2d.so
    /usr/lib/ES2.0/libpvrPVR2D_BLITWSEGL.so.1.6.16.3977
    /usr/lib/ES2.0/libpvr2d.so.1.6.16.3977
    /usr/lib/ES2.0/libpvrPVR2D_FLIPWSEGL.so.1.6.16.3977
    /usr/lib/ES2.0/libpvrPVR2D_LINUXFBWSEGL.so.1.6.16.3977
    /usr/lib/ES2.0/libpvrPVR2D_FRONTWSEGL.so.1.6.16.3977
    /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.6
    /usr/lib/libpvrPVR2D_FRONTWSEGL.so
    /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.6.16.3977
    /usr/lib/libpvrPVR2D_BLITWSEGL.so.1
    /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so
    /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.6
    /usr/lib/libpvr2d.so.1.6.16.3977
    /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.6
    /usr/lib/libpvrPVR2D_FLIPWSEGL.so
    /usr/lib/ES5.0/libpvrPVR2D_BLITWSEGL.so.1.6.16.3977
    /usr/lib/ES5.0/libpvr2d.so.1.6.16.3977
    /usr/lib/ES5.0/libpvrPVR2D_FLIPWSEGL.so.1.6.16.3977
    /usr/lib/ES5.0/libpvrPVR2D_LINUXFBWSEGL.so.1.6.16.3977
    /usr/lib/ES5.0/libpvrPVR2D_FRONTWSEGL.so.1.6.16.3977
    /usr/lib/ES3.0/libpvrPVR2D_BLITWSEGL.so.1.6.16.3977
    /usr/lib/ES3.0/libpvr2d.so.1.6.16.3977
    /usr/lib/ES3.0/libpvrPVR2D_FLIPWSEGL.so.1.6.16.3977
    /usr/lib/ES3.0/libpvrPVR2D_LINUXFBWSEGL.so.1.6.16.3977
    /usr/lib/ES3.0/libpvrPVR2D_FRONTWSEGL.so.1.6.16.3977
    /usr/lib/libpvrPVR2D_BLITWSEGL.so
    /usr/lib/ES6.0/libpvrPVR2D_BLITWSEGL.so.1.6.16.3977
    /usr/lib/ES6.0/libpvr2d.so.1.6.16.3977
    /usr/lib/ES6.0/libpvrPVR2D_FLIPWSEGL.so.1.6.16.3977
    /usr/lib/ES6.0/libpvrPVR2D_LINUXFBWSEGL.so.1.6.16.3977
    /usr/lib/ES6.0/libpvrPVR2D_FRONTWSEGL.so.1.6.16.3977
    /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.6.16.3977
    /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.6.16.3977
    /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1
    /usr/lib/libpvr2d.so.1.6
    /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.6.16.3977
    /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1
    /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1
    /usr/lib/libpvr2d.so.1
    /usr/bin/pvrsrvinit
    /usr/bin/ES2.0/pvrsrvinit
    /usr/bin/ES2.0/pvr2d_test
    /usr/bin/ES5.0/pvrsrvinit
    /usr/bin/ES5.0/pvr2d_test
    /usr/bin/ES3.0/pvrsrvinit
    /usr/bin/ES3.0/pvr2d_test
    /usr/bin/ES6.0/pvrsrvinit
    /usr/bin/ES6.0/pvr2d_test
    /boot/u-boot-scripts/uboot-touchbook-vrfb.cmd
    /boot/u-boot-scripts/uboot-touchbook-vrfb.cmd.scr

    Thanks in advance for any ideas or links/hints.

  • I found the solution to the problem here:

    https://groups.google.com/forum/?fromgroups=#!topic/beagleboard/EU_Boj12R78

    Basically, the /usr/bin/cputype file needed to be enhanced to support newer hardware revs of the BeagleBoard-xM.