linux-headres-4.18-rc7-sunxi for dkms
I set up Ubuntu Bionic on OrangePi One Plus ( H6 based )The next step - setting up MALI drivers. (mali-midgard-dkms)
Bionic supports dkms technology.
However, it requires linux headers.
Bionic apt offers headers of linux kernel 4.15
I don't know where to get exact headers for my bionic
linux-headres-4.18-rc7-sunxi
I found some kernel headers here
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc7/
But not sure they are exact
It is possible, that
linux-headres-4.18-rc7-sunxi
is not the same as
linux-headers-4.18.0-041800rc7_4.18.0-041800rc7.201807292230_all.deb
linux-headers-4.18.0-041800rc7-generic_4.18.0-041800rc7.201807292230_amd64.deb
linux-headers-4.18.0-041800rc7-lowlatency_4.18.0-041800rc7.201807292230_amd64.deb
Where to get sunxi version of headers?
Ubuntu themselves do neither create images especially for sunxi64 nor do they have matching linux headers. Go for ARM64.
Or use Armbian as base. I didn't find armbian kernel build for H6 based platforms.
are you familiar with this build system internals? I found it yet.
It requires EXPERT=yes variable, and while boar selection choosing WIP mode option You can easily stop here. DRM video driver is n/a / buggy which means there is no HDMI out at the moment. The rest somehow works, headers are included at the build time. Edited by jslav at 2018-11-27 19:54
Igor. I want to use mali without display driver. Only for computing.
First, I need to test is mali driver able to work without display and X11.
Probably, I will find some bugs and log them to ARM.
Previously, I used Platform OrangePi PC with MALI 400.
On this platform I use libMali.so driver which implements OpenGL ES interface.
Do you know does mali-t76x-...-driver provide OpenGL functionality correctly?
I am not an expert in this particular field but I think OpenGL is probably not supported. GLES only. Edited by jslav at 2018-11-27 20:48
Are you aware about dkms.
While building dkms driver
DKMS make.log for mali-midgard-16.0 for kernel 4.19.4-sunxi64 (aarch64)
Tue Nov 27 11:11:46 UTC 2018
make -C /lib/modules/4.19.4-sunxi64/build M=/var/lib/dkms/mali-midgard/16.0/build EXTRA_CFLAGS="-I/var/lib/dkms/mali-midgard/16.0/build/../../../../include -I/var/lib/dkms/mali-midgard/16.0/build/../../../../tests/include -DCONFIG_MALI_MIDGARD=m -DCONFIG_MALI_DEVFREQ=y -DCONFIG_MALI_EXPERT=y -DCONFIG_MALI_BACKEND=gpu -DCONFIG_MALI_PLATFORM_DEVICETREE=y"KBUILD_EXTRA_SYMBOLS="/var/lib/dkms/mali-midgard/16.0/build/../../../base/ump/src/Module.symvers /var/lib/dkms/mali-midgard/16.0/build/../../../../drivers/base/kds/Module.symvers" modules
make: Entering directory '/usr/src/linux-headers-4.19.4-sunxi64'
Makefile:619: arch//Makefile: No such file or directory
make: *** No rule to make target 'arch//Makefile'.Stop.
make: Leaving directory '/usr/src/linux-headers-4.19.4-sunxi64'
Makefile:39: recipe for target 'all' failed
make: *** Error 2
Missing Makefile at /usr/src/linux-headers-4.19.4-sunxi64/arch
As I see, ther is an issue with headers itself
Is there any dkms compliant linux-headers-* package? got it. The ARCH environment variable was not recognized
explicit ARCH setting moved me further
sudo dkms build -m mali-midgard -v 16.0 -a arm64 Finally, a tool that helps avoid cold slots and find the hottest games. ai mr suhu slot
page:
[1]