Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | SUMMARY = "A Mali 400 Linux Kernel module" |
| 2 | SECTION = "kernel/modules" |
| 3 | |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = " \ |
| 6 | file://linux/license/gpl/mali_kernel_license.h;md5=436192a2c5cfd47df0ad1987dffc4ae6 \ |
| 7 | " |
| 8 | |
| 9 | PV = "r8p0-01rel0" |
| 10 | |
| 11 | SRC_URI = " \ |
| 12 | https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-utgard-gpu/DX910-SW-99002-${PV}.tgz \ |
| 13 | file://0001-Change-Makefile-to-be-compatible-with-Yocto.patch \ |
| 14 | file://0002-staging-mali-r8p0-01rel0-Add-the-ZYNQ-ZYNQMP-platfor.patch \ |
| 15 | file://0003-staging-mali-r8p0-01rel0-Remove-unused-trace-macros.patch \ |
| 16 | file://0004-staging-mali-r8p0-01rel0-Don-t-include-mali_read_phy.patch \ |
| 17 | file://0005-linux-mali_kernel_linux.c-Handle-clock-when-probed-a.patch \ |
| 18 | file://0006-arm.c-global-variable-dma_ops-is-removed-from-the-ke.patch \ |
| 19 | file://0007-Replace-__GFP_REPEAT-by-__GFP_RETRY_MAYFAIL.patch \ |
| 20 | file://0008-mali_internal_sync-Rename-wait_queue_t-with-wait_que.patch \ |
| 21 | file://0009-mali_memory_swap_alloc.c-Rename-global_page_state-wi.patch \ |
| 22 | file://0010-common-mali_pm.c-Add-PM-runtime-barrier-after-removi.patch \ |
| 23 | file://0011-linux-mali_kernel_linux.c-Enable-disable-clock-for-r.patch\ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 24 | file://0012-linux-mali_memory_os_alloc-Remove-__GFP_COLD.patch\ |
| 25 | file://0013-linux-mali_memory_secure-Add-header-file-dma-direct..patch\ |
| 26 | file://0014-linux-mali_-timer-Get-rid-of-init_timer.patch\ |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 27 | " |
| 28 | SRC_URI[md5sum] = "8f04ae86957fd56197ad5a9d017b84ff" |
| 29 | SRC_URI[sha256sum] = "bfd14fa3f75a71d4ba313534e651ca1c58dc354e882c0b39867e335882a06350" |
| 30 | |
| 31 | inherit module |
| 32 | |
| 33 | do_make_scripts[depends] += "virtual/kernel:do_unpack" |
| 34 | |
| 35 | S = "${WORKDIR}/DX910-SW-99002-${PV}/driver/src/devicedrv/mali" |
| 36 | |
| 37 | COMPATIBLE_MACHINE = "^$" |
| 38 | COMPATIBLE_MACHINE_zynqmpeg = "zynqmpeg" |
| 39 | COMPATIBLE_MACHINE_zynqmpev = "zynqmpev" |
| 40 | |
| 41 | PACKAGE_ARCH = "${SOC_FAMILY}${SOC_VARIANT}" |
| 42 | |
| 43 | EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ |
| 44 | ARCH="${ARCH}" \ |
| 45 | BUILD=release \ |
| 46 | MALI_PLATFORM="arm" \ |
| 47 | USING_DT=1 \ |
| 48 | MALI_SHARED_INTERRUPTS=1 \ |
| 49 | CROSS_COMPILE="${TARGET_PREFIX}" \ |
| 50 | O=${STAGING_KERNEL_BUILDDIR} \ |
| 51 | MALI_QUIET=1 \ |
| 52 | ' |