If anybody already has it downloaded and is willing to upload it to a faster mirror, I would greatly appreciate it. Preferrably after running make source so I don’t have to wait 2 years while it downloads a toolchain from the same server .
And you can refer to buildroot dl files to download dl files, md5sum of buildroot-dl.7z is 8eadad3ec1c93584c246b7ac529d363e. Extract buildroot-dl.7z to directory buildroot/dl,so you can save a lot of downloading time.
As far as I can tell amlogic’s 4.9 kernel does not contain the necessary modules for hardware accelerated video encoding & decoding. I’m actually rolling back to kernel 3.14 because of it. I would love to get confirmation of this from Khadas directly.
EDIT: Maybe amlogic did a lot of refactoring and renamed the video processing modules?
The buildroot-2017-06-19 contain the necessary modules for hardware accelerated video encoding & decoding.
terry@Server:/home/nick/project/khadas/buildroot/buildroot_openlinux/hardware/aml-4.9/arm/gpu$ ls -la
total 48
drwxr-xr-x 11 nick nick 4096 Jun 19 22:03 .
drwxr-xr-x 3 nick nick 4096 Jun 19 22:03 ..
drwxr-xr-x 3 nick nick 4096 Jun 19 22:03 bindings
drwxr-xr-x 3 nick nick 4096 Jun 19 22:03 egl
-rw-r--r-- 1 nick nick 3118 Jun 19 22:03 gpu.mk
drwxr-xr-x 5 nick nick 4096 Jun 19 22:03 lib
drwxr-xr-x 9 nick nick 4096 Jun 19 22:03 mali
drwxr-xr-x 7 nick nick 4096 Jun 19 22:03 midgard
drwxr-xr-x 4 nick nick 4096 Jun 19 22:03 t83x
drwxr-xr-x 7 nick nick 4096 Jun 19 22:03 ump
drwxr-xr-x 2 nick nick 4096 Jun 19 22:03 umplock
drwxr-xr-x 5 nick nick 4096 Jun 19 22:03 utgard
I have read the amlogic doc to this buildroot: Amlogic PDF to Kernel4.9_Buildroot
There were checks of GSTPlayer and KMPlayer saying the Kernel is compatible with various resolutions and media formats.
I have found some 64bit libs for mali450
buildroot/package/meson-mali/lib/arm64/r7p0/m450/
Also some Amlogic drivers
buildroot_openlinux/kernel/aml-4.9/drivers/amlogic/media/video_processor/
Kernel config buildroot/configs/mesongxl_p212_32_kernel49_release_defconfig
Have also some hints for GPU support:
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_LOCAL_VERSION_VALUE=“amlogic-4.9-dev"
BR2_LINUX_KERNEL_CUSTOM_LOCAL=y
BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH=”$(TOPDIR)/…/kernel/aml-4.9"
BR2_LINUX_KERNEL_DEFCONFIG="meson64"
BR2_TARGET_BOARD_PLATFORM="meson8"
BR2_LINUX_KERNEL_IMAGE_LOADADDR="0x1008000"
BR2_LINUX_KERNEL_PATCH="amlogic-4.9"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_USE_INTREE_DTS=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="gxl_p212_2g"
BR2_LINUX_KERNEL_AMLOGIC_DTD=y
BR2_LINUX_KERNEL_ANDROID_FORMAT=y
BR2_LINUX_KERNEL_IMAGE=y
BR2_PACKAGE_GPU=y
BR2_PACKAGE_GPU_LOCAL=y
BR2_PACKAGE_GPU_STANDALONE=y
BR2_PACKAGE_GPU_VERSION=“r7p0"
BR2_PACKAGE_GPU_LOCAL_PATH=”$(TOPDIR)/…/hardware/aml-3.14/arm/gpu"
BR2_PACKAGE_MESON_MALI_MODEL="m450"
BR2_PACKAGE_MESON_MALI_VERSION="r7p0"
BR2_PACKAGE_WIFI_FW=y