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 reply.

    When I insert mali.ko.

    insmod mali.ko mali_major=250 mali_debug_level=6

    So, I have a /dev/mali character device.

    # ls -l /dev/mali
    crw-rw----    1 root     root      250,   0 Jan  1 00:11 /dev/mali


    # cat /proc/devices | grep "mali"
    250 mali


    # cat /proc/interrupts | grep "mali"
    27:          1  e-ic  mali_core_irq_handlers
    28:          1  e-ic  mali_core_irq_handlers
    29:          1  e-ic  mali_mmu_irq_handlers



    thanks.

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

    Hi Pete,

    Thanks for your reply.

    When I insert mali.ko.

    insmod mali.ko mali_major=250 mali_debug_level=6

    So, I have a /dev/mali character device.

    # ls -l /dev/mali
    crw-rw----    1 root     root      250,   0 Jan  1 00:11 /dev/mali


    # cat /proc/devices | grep "mali"
    250 mali


    # cat /proc/interrupts | grep "mali"
    27:          1  e-ic  mali_core_irq_handlers
    28:          1  e-ic  mali_core_irq_handlers
    29:          1  e-ic  mali_mmu_irq_handlers



    thanks.

    James
Children
No data