Here are the steps to get a legacy H5 kernel running with Mali r5p0:
* Linux kernel from: https://github.com/OrangePiLibra/OrangePi_H5SDK
* Here is my legacy kernel generation script: https://pastebin.com/w1b4exzW
* Mali kernel module: DX910-SW-99002-r5p0-01rel0 from here: https://developer.arm.com/products/software/mali-drivers/utgard-kernel
* Mali kernel patch: https://pastebin.com/VnJgZWZJ (name: DX910-SW-99002-r5p0-01rel0.patch)
* Blob: mali450r5p001rel0linux1fbdevarm64v8a
* Good benchmark/test utility: glmark2-es2-fb. The blob is a aarch64 one, so we must use a aarch64 linux environment to compile and run glmark2-es2-fb.
Weyou, It may be obvious, but are you using a barrel type power supply? Looks like you are using an OTG (USB type) power supply, since you Are talking about Samsung and Raspberry Pi chargers. I have an orange Pi pc 2 and I use the manufacturer recommended AC adapter 3A, barrel type.