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

The correct version of libMali.so needs to be used in each case.

Mali supports 3 windowing systems on Linux: Android, Linux fbdev and Linux X11.

The correct version of libMali.so needs to be used in each case.

For example, if you try to use libMali.so that was built for fbdev on X11, you will get eglInitialize() or similar errors.

I found that libMali.so for the other devices are both types.

How discover which type of  libMali.so We got for Orange Pi H3?

Parents
  • The chip or board vendor normally customizes the driver for their memory map, power management, etc, so it's generally best to get drivers directly via that route.

    If you have multiple binaries for the board trying running the Linux "strings" utility on the binary - this will dump any ASCII character sequences (such as symbol linkage tables) to the console. If it's an X11 driver you should get some X function names showing up in the symbol listings. Running objdump from a GCC toolchain can probably give you the same information in a slightly less hacky way than strings, but strings is easier .

    HTH,
    Pete

Reply
  • The chip or board vendor normally customizes the driver for their memory map, power management, etc, so it's generally best to get drivers directly via that route.

    If you have multiple binaries for the board trying running the Linux "strings" utility on the binary - this will dump any ASCII character sequences (such as symbol linkage tables) to the console. If it's an X11 driver you should get some X function names showing up in the symbol listings. Running objdump from a GCC toolchain can probably give you the same information in a slightly less hacky way than strings, but strings is easier .

    HTH,
    Pete

Children
No data