This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How could I make sure the driver work success?

Note: This was originally posted on 3rd November 2011 at http://forums.arm.com

Dear all,

I'm trying to build linux Mali200 driver in arm system.
I build mali.ko and insert it success in linux.
The attachment is log when I insert module.
It always told me "Mali device driver r2p2-03rel0 loaded".

Would you please tell me how could I make sure the driver work success?
Because I try to run the SimpleProject.
It always get the error message "Error: No EGL Display available at src/egl_runtime.c:64"

thanks.

James
Parents
  • Note: This was originally posted on 3rd November 2011 at http://forums.arm.com

    Hi Pete,

    Thanks for your information.

    #cat /proc/devices
    Character devices:
    ...
    29 fb
    ...
    250 mali
    251 ump


    My framebuffer device is /dev/fb.
    So I send the command "export FRAMEBUFFER=/dev/fb" than

    insmod ump.ko ump_major=251; insmod mali.ko mali_major=250 mali_debug_level=6

    And my userspace libraries is in /lib/gles20.

    # ls /lib/gles20/
    libEGL.so         libEGL.so.1.4     libGLESv2.so.2    libMali.so
    libEGL.so.1       libGLESv2.so      libGLESv2.so.2.0  libstdc++.so.6


    But I think it can find userspace libraries. If not it will show above
    # ./main.exe
    ./main.exe: error while loading shared libraries: libEGL.so: cannot open shared object file: No such file or directory


    Thanks.

    James
Reply
  • Note: This was originally posted on 3rd November 2011 at http://forums.arm.com

    Hi Pete,

    Thanks for your information.

    #cat /proc/devices
    Character devices:
    ...
    29 fb
    ...
    250 mali
    251 ump


    My framebuffer device is /dev/fb.
    So I send the command "export FRAMEBUFFER=/dev/fb" than

    insmod ump.ko ump_major=251; insmod mali.ko mali_major=250 mali_debug_level=6

    And my userspace libraries is in /lib/gles20.

    # ls /lib/gles20/
    libEGL.so         libEGL.so.1.4     libGLESv2.so.2    libMali.so
    libEGL.so.1       libGLESv2.so      libGLESv2.so.2.0  libstdc++.so.6


    But I think it can find userspace libraries. If not it will show above
    # ./main.exe
    ./main.exe: error while loading shared libraries: libEGL.so: cannot open shared object file: No such file or directory


    Thanks.

    James
Children