Article 5AGBM Trying to get ODROID-XU4 Mali driver working on armhf

Trying to get ODROID-XU4 Mali driver working on armhf

by
Linux.tar.gz
from LinuxQuestions.org on (#5AGBM)
Hi,

I'd like to get the ODROID-XU4 Mali driver working, using native compilations.

The ODROID-XU4 uses an Exynos 5422 CPU which embeds a Mali-T628 MP6 Midgard 2nd gen GPU:
https://en.wikipedia.org/wiki/ODROID

I'm using the official ODROID kernel:
https://github.com/hardkernel/linux/

So far, a /dev/mali0 is present with rw root rights only.

The mali_dp kernel module isn't activated by default, and I don't know if it's the right one for this GPU.
I activated it, it has to be loaded manually, but doesn't seem to be useful. Is it ?
Code:# modinfo mali_dp
filename: /lib/modules/4.14.180/kernel/drivers/gpu/drm/arm/mali-dp.ko
license: GPL v2
description: ARM Mali DP DRM driver
author: Liviu Dudau <Liviu.Dudau@arm.com>
alias: of:N*T*Carm,mali-dp650C*
alias: of:N*T*Carm,mali-dp650
alias: of:N*T*Carm,mali-dp550C*
alias: of:N*T*Carm,mali-dp550
alias: of:N*T*Carm,mali-dp500C*
alias: of:N*T*Carm,mali-dp500
depends:
intree: Y
name: mali_dp
vermagic: 4.14.180 SMP preempt mod_unload ARMv7 p2v8It seems that this stuff is required:
- UMP (Unified Memory Provider) User-Space Driver
- UMP Kernel driver
- Mali Midgard GPU Kernel Driver

The UMP User-Space Driver can be found here:
https://developer.arm.com/tools-and-...ump-user-space
I'm using this one:
Code:$ tree -d DX910-SW-99006-r10p0-00rel0
DX910-SW-99006-r10p0-00rel0
driver
src
ump
arch_011_udd
include
** ump
os
linuxIt can be built with
make CROSS_COMPILE=""
It seems that the generated .so have to be manually packaged because the "make install DESTDIR" way doesn't work.

The Mali Midgard GPU Kernel Driver can be found here:
https://developer.arm.com/tools-and-...midgard-kernel
I'm using this one:
Code:TX011-SW-99002-r28p0-01rel0
driver
product
kernel
Documentation
** devicetree
** bindings
** arm
** power
drivers
** base
** ** dma_buf_lock
** ** ** src
** ** dma_buf_test_exporter
** ** smc_protected_mode_switcher
** gpu
** arm
** midgard
** backend
** ** gpu
** docs
** ipa
** platform
** ** devicetree
** ** vexpress
** ** vexpress_1xv7_a57
** ** vexpress_6xvirtex7_10mhz
** platform_dummy
** tests
** ** include
** ** ** kutf
** ** kutf
** ** mali_kutf_irq_test
** thirdparty
include
linuxI don't know what to do with this truncated kernel tree. It has some sconscript inside.
I'm stuck here, any help/explanations are welcome.latest?d=yIl2AUoC8zA latest?i=skyoyHkGLdc:fQ8QGygqKF0:F7zBnMy latest?i=skyoyHkGLdc:fQ8QGygqKF0:V_sGLiP latest?d=qj6IDK7rITs latest?i=skyoyHkGLdc:fQ8QGygqKF0:gIN9vFwskyoyHkGLdc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments