bootlin / mali-blobs Goto Github PK
View Code? Open in Web Editor NEWMali OpenGL ES userspace libraries for Allwinner SoCs
Mali OpenGL ES userspace libraries for Allwinner SoCs
arm64 blobs have outdated gbm, Undefined reference to 'gbm_bo_get_offset'
any chance to get gbm updated?
I've tried to load mali.ko on mainline 4.17.3 for H5 using the same mali DT binding as H3, can you spot what is wrong or can you share your H5 node:
[ 7.715811] mali: loading out-of-tree module taints kernel.
[ 7.736417] Allwinner sunXi mali glue initialized
[ 7.888305] Mali: ERR: /arm/ubuntu/h5/mainline/sunxi-mali/r8p1/src/devicedrv/mali/common/mali_pp.c
[ 7.888314] mali_pp_reset_wait() 269
[ 7.888317] Mali PP: Failed to reset core Mali_PP0, rawstat: 0x00000000
[ 7.888330] Mali: ERR: /arm/ubuntu/h5/mainline/sunxi-mali/r8p1/src/devicedrv/mali/common/mali_kernel_core.c
[ 7.888332] mali_parse_product_info() 178
[ 7.888399] Mali: ERR: /arm/ubuntu/h5/mainline/sunxi-mali/r8p1/src/devicedrv/mali/linux/mali_kernel_linux.c
[ 7.888401] mali_probe() 606
[ 7.888403] mali_probe(): Failed to initialize Mali device driver.
[ 7.888413] Mali: ERR: /arm/ubuntu/h5/mainline/sunxi-mali/r8p1/src/devicedrv/mali/linux/mali_devfreq.c
[ 7.888415] mali_devfreq_term() 309
[ 7.888447] mali-utgard: probe of mali-utgard.0 failed with error -14
[ 7.888502] Mali:
[ 7.888504] Mali device driver loaded
DT used:
soc {
mali: gpu@1c40000 {
compatible = "allwinner,sun8i-h3-mali", "arm,mali-400";
reg = <0x01c40000 0x10000>;
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "gp",
"gpmmu",
"pp0",
"ppmmu0",
"pp1",
"ppmmu1",
"pmu";
clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>;
clock-names = "bus", "core";
resets = <&ccu RST_BUS_GPU>;
assigned-clocks = <&ccu CLK_GPU>;
assigned-clock-rates = <384000000>;
};
};
hello
I am trying to install mali drivers (32 bits) from
https://bootlin.com/blog/mali-opengl-support-on-allwinner-platforms-with-mainline-linux/
after following the tutorial, i have this error
root@DietPi:# git clone https://github.com/mripard/sunxi-mali.git# cd sunxi-mali
Cloning into 'sunxi-mali'...
remote: Enumerating objects: 54, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 2313 (delta 45), reused 22 (delta 15), pack-reused 2259
Receiving objects: 100% (2313/2313), 799.34 KiB | 771.00 KiB/s, done.
Resolving deltas: 100% (1701/1701), done.
root@DietPi:
root@DietPi:/sunxi-mali# ls/sunxi-mali# export CROSS_COMPILE=$TOOLCHAIN_PREFIX
build.sh patches r6p2 r9p0 travis-base.yml
LICENSE r6p0 r8p1 README.md travis.py
root@DietPi:
root@DietPi:/sunxi-mali# export KDIR=$KERNEL_BUILD_DIR/sunxi-mali# export INSTALL_MOD_PATH=$TARGET_DIR
root@DietPi:
root@DietPi:~/sunxi-mali# ./build.sh -r r6p2 -b
building...
~/sunxi-mali/r6p2 ~/sunxi-mali
./build.sh: line 15: quilt: command not found
Error applying patch
any helps would be great and appreciate it :)
thanks :)
With the advent of ARM64 it would be nice to have ARM64 blobs of these libs too :)
do you have the r9p0 blob?
or can you tech how/where to get the r9p0 blob?
thanks
Cannot launch weston-simple-egl under Weston. It crashes with :
weston-simple-egl: clients/simple-egl.c:440: create_surface: Assertion
`ret == EGL_TRUE' failed.
any chance get this blobs for musl
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.