Miouyouyou / MyyQi

Working kernel with Mali r17p0 for RK3288 systems (MiQi boards and ASUS Tinkerboard (beta))
29 stars 7 forks source link

Script is not working #5

Closed sghazagh closed 7 years ago

sghazagh commented 7 years ago

Script is not working well. It tries to download the patches each time you run and downloads the .config file in root of the cloned GIT and not into the linux folder.

The scripts says:

fatal: destination path 'linux' already exists and is not an empty directory.
--2017-05-25 12:29:44--  https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-midgard-gpu/TX011-SW-99002-r17p0-01rel0.tgz
Resolving developer.arm.com (developer.arm.com)... 52.178.214.248
Connecting to developer.arm.com (developer.arm.com)|52.178.214.248|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://armkeil.blob.core.windows.net/developer/Files/downloads/mali-drivers/kernel/mali-midgard-gpu/TX011-SW-99002-r17p0-01rel0.tgz [following]
--2017-05-25 12:29:45--  https://armkeil.blob.core.windows.net/developer/Files/downloads/mali-drivers/kernel/mali-midgard-gpu/TX011-SW-99002-r17p0-01rel0.tgz
Resolving armkeil.blob.core.windows.net (armkeil.blob.core.windows.net)... 191.235.193.40
Connecting to armkeil.blob.core.windows.net (armkeil.blob.core.windows.net)|191.235.193.40|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 505522 (494K) [application/octet-stream]
Saving to: 'TX011-SW-99002-r17p0-01rel0.tgz.2’

TX011-SW-99002-r17p0-01rel0.tgz.2                 100%[===============================================================================================================>] 493.67K   149KB/s   in 3.3s   

2017-05-25 12:29:51 (149 KB/s) - 'TX011-SW-99002-r17p0-01rel0.tgz.2’ saved [505522/505522]

TX011-SW-99002-r17p0-01rel0/
TX011-SW-99002-r17p0-01rel0/driver/
TX011-SW-99002-r17p0-01rel0/driver/product/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/Documentation/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/Documentation/devicetree/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/Documentation/devicetree/bindings/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/Documentation/devicetree/bindings/arm/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/Documentation/devicetree/bindings/arm/mali-midgard.txt
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/Documentation/devicetree/bindings/arm/smc-protected-mode-switcher.txt
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/Documentation/devicetree/bindings/power/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/Documentation/devicetree/bindings/power/mali-opp.txt
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/Documentation/dma-buf-test-exporter.txt
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/Documentation/kds.txt
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_lock/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_lock/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_lock/src/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_lock/src/dma_buf_lock.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_lock/src/dma_buf_lock.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_lock/src/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_lock/src/Makefile
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_lock/src/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_test_exporter/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_test_exporter/dma-buf-test-exporter.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_test_exporter/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_test_exporter/Kconfig
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_test_exporter/Makefile
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/dma_buf_test_exporter/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/kds/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/kds/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/kds/Kconfig
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/kds/kds.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/kds/Makefile
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/kds/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/smc_protected_mode_switcher/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/smc_protected_mode_switcher/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/smc_protected_mode_switcher/Kconfig
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/smc_protected_mode_switcher/Makefile
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/smc_protected_mode_switcher/protected_mode_switcher_device.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/smc_protected_mode_switcher/protected_mode_switcher_smc.S
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/smc_protected_mode_switcher/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/docs/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/docs/Doxyfile
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/docs/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/example_kernel_api.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/example_user_api.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/Kconfig
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/arch-arm/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/arch-arm64/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/arch-arm64/config.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/arch-arm/config.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/common/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/common/ump_kernel_core.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/common/ump_kernel_core.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/common/ump_kernel_descriptor_mapping.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/common/ump_kernel_descriptor_mapping.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/common/ump_kernel_priv.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/imports/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/imports/ion/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/imports/ion/Makefile
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/imports/ion/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/imports/ion/ump_kernel_import_ion.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/imports/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/linux/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/linux/ump_kernel_linux.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/linux/ump_kernel_linux_mem.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/linux/ump_kernel_linux_mem.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/Makefile
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/Makefile.common
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/src/ump_arch.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/base/ump/ump_ref_drv.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/Kconfig
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_backend_config.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_cache_policy_backend.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_cache_policy_backend.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_debug_job_fault_backend.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_device_hw.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_device_internal.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_gpu.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_gpuprops_backend.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_instr_backend.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_instr_defs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_instr_internal.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_irq_internal.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_irq_linux.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_jm_as.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_jm_defs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_jm_hw.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_jm_internal.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_jm_rb.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_jm_rb.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_js_affinity.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_js_affinity.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_js_backend.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_js_internal.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_mmu_hw_direct.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_mmu_hw_direct.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_always_on.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_always_on.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_backend.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_ca.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_ca.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_ca_devfreq.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_ca_devfreq.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_ca_fixed.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_ca_fixed.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_coarse_demand.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_coarse_demand.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_defs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_demand.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_demand.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_driver.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_internal.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_metrics.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_time.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_time.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/docs/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/docs/Doxyfile
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/docs/policy_operation_diagram.dot
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/docs/policy_overview.dot
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/ipa/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/ipa/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/ipa/mali_kbase_ipa.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/ipa/mali_kbase_ipa.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/ipa/mali_kbase_ipa_debugfs.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/ipa/mali_kbase_ipa_debugfs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/ipa/mali_kbase_ipa_simple.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/Kconfig
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/Makefile
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/Makefile.kbase
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_base_hwconfig_features.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_base_hwconfig_issues.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_base_kernel.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_base_mem_priv.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_base_vendor_specific_func.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_10969_workaround.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_10969_workaround.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_as_fault_debugfs.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_as_fault_debugfs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_cache_policy.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_cache_policy.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_config.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_config.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_context.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_context.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_debug.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_debug.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_debug_job_fault.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_debug_job_fault.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_debug_mem_view.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_debug_mem_view.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_defs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_device.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_disjoint_events.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_dma_fence.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_dma_fence.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_event.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gator.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gator_api.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gator_api.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gator_hwcnt_names.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gator_hwcnt_names_thex.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gator_hwcnt_names_tmix.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gator_hwcnt_names_tsix.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gpuprops.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gpuprops.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gpuprops_types.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gpu_id.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gpu_memory_debugfs.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_gpu_memory_debugfs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_hw.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_hw.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_backend.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_defs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_gpuprops.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_instr.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_jm.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_pm.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_hwaccess_time.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_hwcnt_reader.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_jd.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_jd_debugfs.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_jd_debugfs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_jm.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_jm.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_js.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_js.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_js_ctx_attr.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_js_ctx_attr.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_js_defs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_linux.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_linux.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_linux.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_lowlevel.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_pool.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_pool_debugfs.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_pool_debugfs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_profile_debugfs.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_profile_debugfs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_profile_debugfs_buf_size.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mmu.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mmu_hw.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mmu_mode.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mmu_mode_aarch64.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mmu_mode_lpae.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_platform_fake.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_pm.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_pm.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_profiling_gator_api.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_regs_history_debugfs.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_regs_history_debugfs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_replay.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_smc.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_smc.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_softjobs.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_strings.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_strings.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_sync.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_sync.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_sync_user.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_tlstream.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_tlstream.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_trace_defs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_trace_timeline.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_trace_timeline.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_trace_timeline_defs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_uku.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_utility.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_utility.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_vinstr.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_vinstr.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_linux_kbase_trace.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_linux_trace.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_malisw.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_midg_coherency.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_midg_regmap.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_timeline.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/mali_uk.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/devicetree/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/devicetree/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/juno_soc/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/juno_soc/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/juno_soc/mali_kbase_config_juno_soc.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/juno_soc/mali_kbase_config_platform.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/Kconfig
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/mali_kbase_platform_common.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/mali_kbase_platform_fake.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_config_platform.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_config_vexpress.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_cpu_vexpress.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_cpu_vexpress.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress_1xv7_a57/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress_1xv7_a57/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress_1xv7_a57/mali_kbase_config_platform.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress_1xv7_a57/mali_kbase_config_vexpress.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress_6xvirtex7_10mhz/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress_6xvirtex7_10mhz/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress_6xvirtex7_10mhz/mali_kbase_config_platform.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress_6xvirtex7_10mhz/mali_kbase_config_vexpress.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress_6xvirtex7_10mhz/mali_kbase_cpu_vexpress.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/vexpress_6xvirtex7_10mhz/mali_kbase_cpu_vexpress.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform_dummy/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform_dummy/mali_ukk_os.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/midgard/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/arm/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/Kbuild
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/Kconfig
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/Makefile
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_clcd_ext.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_connector.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_crtc.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_cursor.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_device.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_dma_buf.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_encoder.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_fb.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_funcs.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_gem.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_pl111.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_platform.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_suspend.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/pl111_drm_vma.c
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/pl111/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/drm/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/gpu/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/drivers/sconscript
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/include/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/include/linux/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/include/linux/dma-buf-test-exporter.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/include/linux/kds.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/include/linux/protected_mode_switcher.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/include/linux/ump-common.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/include/linux/ump-import.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/include/linux/ump-ioctl.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/include/linux/ump.h
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/license.txt
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/patches/
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/patches/integrate_kds_with_dma_buf.patch
TX011-SW-99002-r17p0-01rel0/driver/product/kernel/sconscript
cp: cannot create directory ‘/home/sghazagh/TinkerBoard/linux-MyyQi/drivers/gpu/’: No such file or directory
--2017-05-25 12:29:51--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0001-Readaptation-of-Rockchip-DRM-patches-provided-by-ARM.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13071 (13K) [text/plain]
Saving to: '0001-Readaptation-of-Rockchip-DRM-patches-provided-by-ARM.patch’

0001-Readaptation-of-Rockchip-DRM-patches-provide 100%[===============================================================================================================>]  12.76K  --.-KB/s   in 0.01s  

2017-05-25 12:29:51 (1.04 MB/s) - '0001-Readaptation-of-Rockchip-DRM-patches-provided-by-ARM.patch’ saved [13071/13071]

--2017-05-25 12:29:51--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0002-Integrate-the-Mali-GPU-address-to-the-rk3288-and-rk3.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2157 (2.1K) [text/plain]
Saving to: '0002-Integrate-the-Mali-GPU-address-to-the-rk3288-and-rk3.patch’

0002-Integrate-the-Mali-GPU-address-to-the-rk3288 100%[===============================================================================================================>]   2.11K  --.-KB/s   in 0s     

2017-05-25 12:29:51 (37.1 MB/s) - '0002-Integrate-the-Mali-GPU-address-to-the-rk3288-and-rk3.patch’ saved [2157/2157]

--2017-05-25 12:29:51--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0003-Post-Mali-Kernel-device-drivers-modifications.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1701 (1.7K) [text/plain]
Saving to: '0003-Post-Mali-Kernel-device-drivers-modifications.patch’

0003-Post-Mali-Kernel-device-drivers-modification 100%[===============================================================================================================>]   1.66K  --.-KB/s   in 0s     

2017-05-25 12:29:52 (464 MB/s) - '0003-Post-Mali-Kernel-device-drivers-modifications.patch’ saved [1701/1701]

--2017-05-25 12:29:52--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0004-Post-Mali-UMP-integration.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 957 [text/plain]
Saving to: '0004-Post-Mali-UMP-integration.patch’

0004-Post-Mali-UMP-integration.patch              100%[===============================================================================================================>]     957  --.-KB/s   in 0s     

2017-05-25 12:29:52 (260 MB/s) - '0004-Post-Mali-UMP-integration.patch’ saved [957/957]

--2017-05-25 12:29:52--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0005-ARM-dts-rockchip-fix-the-regulator-s-voltage-range-o.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.128.133, 151.101.0.133, 151.101.192.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.128.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1508 (1.5K) [text/plain]
Saving to: '0005-ARM-dts-rockchip-fix-the-regulator-s-voltage-range-o.patch’

0005-ARM-dts-rockchip-fix-the-regulator-s-voltage 100%[===============================================================================================================>]   1.47K  --.-KB/s   in 0s     

2017-05-25 12:29:52 (428 MB/s) - '0005-ARM-dts-rockchip-fix-the-regulator-s-voltage-range-o.patch’ saved [1508/1508]

--2017-05-25 12:29:52--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0007-Adaptation-ARM-dts-rockchip-add-the-MiQi-board-s-fan.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1497 (1.5K) [text/plain]
Saving to: '0007-Adaptation-ARM-dts-rockchip-add-the-MiQi-board-s-fan.patch’

0007-Adaptation-ARM-dts-rockchip-add-the-MiQi-boa 100%[===============================================================================================================>]   1.46K  --.-KB/s   in 0s     

2017-05-25 12:29:52 (421 MB/s) - '0007-Adaptation-ARM-dts-rockchip-add-the-MiQi-board-s-fan.patch’ saved [1497/1497]

--2017-05-25 12:29:52--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0008-ARM-dts-rockchip-add-support-for-1800-MHz-operation-.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1018 [text/plain]
Saving to: '0008-ARM-dts-rockchip-add-support-for-1800-MHz-operation-.patch’

0008-ARM-dts-rockchip-add-support-for-1800-MHz-op 100%[===============================================================================================================>]    1018  --.-KB/s   in 0s     

2017-05-25 12:29:52 (308 MB/s) - '0008-ARM-dts-rockchip-add-support-for-1800-MHz-operation-.patch’ saved [1018/1018]

--2017-05-25 12:29:52--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0009-clk-rockchip-add-all-known-operating-points-to-the-a.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.128.133, 151.101.0.133, 151.101.192.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.128.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1947 (1.9K) [text/plain]
Saving to: '0009-clk-rockchip-add-all-known-operating-points-to-the-a.patch’

0009-clk-rockchip-add-all-known-operating-points- 100%[===============================================================================================================>]   1.90K  --.-KB/s   in 0s     

2017-05-25 12:29:53 (25.0 MB/s) - '0009-clk-rockchip-add-all-known-operating-points-to-the-a.patch’ saved [1947/1947]

--2017-05-25 12:29:53--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0010-Readapt-ARM-dts-rockchip-miqi-add-turbo-mode-operati.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4424 (4.3K) [text/plain]
Saving to: '0010-Readapt-ARM-dts-rockchip-miqi-add-turbo-mode-operati.patch’

0010-Readapt-ARM-dts-rockchip-miqi-add-turbo-mode 100%[===============================================================================================================>]   4.32K  --.-KB/s   in 0.003s 

2017-05-25 12:29:53 (1.43 MB/s) - '0010-Readapt-ARM-dts-rockchip-miqi-add-turbo-mode-operati.patch’ saved [4424/4424]

--2017-05-25 12:29:53--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0011-arm-dts-Adding-and-enabling-VPU-services-addresses-f.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3873 (3.8K) [text/plain]
Saving to: '0011-arm-dts-Adding-and-enabling-VPU-services-addresses-f.patch’

0011-arm-dts-Adding-and-enabling-VPU-services-add 100%[===============================================================================================================>]   3.78K  --.-KB/s   in 0.002s 

2017-05-25 12:29:53 (2.10 MB/s) - '0011-arm-dts-Adding-and-enabling-VPU-services-addresses-f.patch’ saved [3873/3873]

--2017-05-25 12:29:53--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0012-Export-rockchip_pmu_set_idle_request-for-out-of-tree.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1242 (1.2K) [text/plain]
Saving to: '0012-Export-rockchip_pmu_set_idle_request-for-out-of-tree.patch’

0012-Export-rockchip_pmu_set_idle_request-for-out 100%[===============================================================================================================>]   1.21K  --.-KB/s   in 0s     

2017-05-25 12:29:53 (310 MB/s) - '0012-Export-rockchip_pmu_set_idle_request-for-out-of-tree.patch’ saved [1242/1242]

--2017-05-25 12:29:53--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0013-clk-rockchip-rk3288-prefer-vdpu-for-vcodec-clock-sou.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1547 (1.5K) [text/plain]
Saving to: '0013-clk-rockchip-rk3288-prefer-vdpu-for-vcodec-clock-sou.patch’

0013-clk-rockchip-rk3288-prefer-vdpu-for-vcodec-c 100%[===============================================================================================================>]   1.51K  --.-KB/s   in 0s     

2017-05-25 12:29:53 (445 MB/s) - '0013-clk-rockchip-rk3288-prefer-vdpu-for-vcodec-clock-sou.patch’ saved [1547/1547]

--2017-05-25 12:29:53--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/kernel/v4.12/0100-First-Mali-integration-test-for-ASUS-Tinkerboards.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 891 [text/plain]
Saving to: '0100-First-Mali-integration-test-for-ASUS-Tinkerboards.patch’

0100-First-Mali-integration-test-for-ASUS-Tinkerb 100%[===============================================================================================================>]     891  --.-KB/s   in 0s     

2017-05-25 12:29:53 (276 MB/s) - '0100-First-Mali-integration-test-for-ASUS-Tinkerboards.patch’ saved [891/891]

--2017-05-25 12:29:53--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/Mali/r17p0-01rel0/0001-Midgard-daptation-to-Linux-4.10.0-rcX-signatures.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3264 (3.2K) [text/plain]
Saving to: '0001-Midgard-daptation-to-Linux-4.10.0-rcX-signatures.patch’

0001-Midgard-daptation-to-Linux-4.10.0-rcX-signat 100%[===============================================================================================================>]   3.19K  --.-KB/s   in 0.001s 

2017-05-25 12:29:53 (2.63 MB/s) - '0001-Midgard-daptation-to-Linux-4.10.0-rcX-signatures.patch’ saved [3264/3264]

--2017-05-25 12:29:53--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/Mali/r17p0-01rel0/0002-UMP-Adapt-get_user_pages-calls.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1504 (1.5K) [text/plain]
Saving to: '0002-UMP-Adapt-get_user_pages-calls.patch’

0002-UMP-Adapt-get_user_pages-calls.patch         100%[===============================================================================================================>]   1.47K  --.-KB/s   in 0s     

2017-05-25 12:29:53 (429 MB/s) - '0002-UMP-Adapt-get_user_pages-calls.patch’ saved [1504/1504]

--2017-05-25 12:29:53--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/Mali/r17p0-01rel0/0003-Renamed-Kernel-DMA-Fence-structures-and-functions.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.128.133, 151.101.0.133, 151.101.192.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.128.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10350 (10K) [text/plain]
Saving to: '0003-Renamed-Kernel-DMA-Fence-structures-and-functions.patch’

0003-Renamed-Kernel-DMA-Fence-structures-and-func 100%[===============================================================================================================>]  10.11K  --.-KB/s   in 0.009s 

2017-05-25 12:29:54 (1.15 MB/s) - '0003-Renamed-Kernel-DMA-Fence-structures-and-functions.patch’ saved [10350/10350]

--2017-05-25 12:29:54--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/Mali/r17p0-01rel0/0004-Few-modifications-after-v4.11-headers-and-signatures.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2096 (2.0K) [text/plain]
Saving to: '0004-Few-modifications-after-v4.11-headers-and-signatures.patch’

0004-Few-modifications-after-v4.11-headers-and-si 100%[===============================================================================================================>]   2.05K  --.-KB/s   in 0.001s 

2017-05-25 12:29:54 (2.11 MB/s) - '0004-Few-modifications-after-v4.11-headers-and-signatures.patch’ saved [2096/2096]

--2017-05-25 12:29:54--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/patches/Mali/r17p0-01rel0/0005-Using-the-new-header-on-4.12-kernels-for-copy_-_user.patch
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1244 (1.2K) [text/plain]
Saving to: '0005-Using-the-new-header-on-4.12-kernels-for-copy_-_user.patch’

0005-Using-the-new-header-on-4.12-kernels-for-cop 100%[===============================================================================================================>]   1.21K  --.-KB/s   in 0s     

2017-05-25 12:29:54 (291 MB/s) - '0005-Using-the-new-header-on-4.12-kernels-for-copy_-_user.patch’ saved [1244/1244]

make: *** No rule to make target 'mrproper'.  Stop.
--2017-05-25 12:29:54--  https://raw.githubusercontent.com/Miouyouyou/MyyQi/master/boot/config-4.12.0-rc2-The-Twelve-MyyQi+
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 131913 (129K) [text/plain]
Saving to: '.config’

.config                                           100%[===============================================================================================================>] 128.82K   776KB/s   in 0.2s   

2017-05-25 12:29:54 (776 KB/s) - '.config’ saved [131913/131913]

make: *** No rule to make target 'rk3288-evb-act8846.dtb'.  Stop.
sghazagh commented 7 years ago

the linux folder was exist from last fetch. Had to remove it and start from scratch. Need to check the existence of patches and linux folder then tries to download. or at least check for latest version and update the local GIT with remote changes.

Anyway, After removing the 'linux' folder and waiting for another hour to download again,it seems that it works... I am trying this to be used on TinkerBoard... Will let you know if that works...

sghazagh commented 7 years ago

If you run script for second time, then it does not work as the linux folder exist... Cannot delete it each time though... First run could create the zImage and DTB files...

/tmp folder had nothing. Have to install modules manually!

Miouyouyou commented 7 years ago

Yeah, the main issue is to get a fresh linux folder, while not recloning the whole kernel tree on each run, knowing that it's still kinda heavy (~1G) and grow up to 4G when compiled, so doing a backup copy might not be recommended on some platforms (especially on some MMC/SDCard devices) and, the last time I tried, tar archives are not usable here.

So, IMHO, the solution would be to:

Note that the script is named "Get, Patch and Compile Kernel", as the installation differs whether you're on the machine itself, or whether you're cross-compiling, and whether you're compiling it as a user, or as root.

Adding an installation part would require the script to determine the following:

I'll try to add this installation part for the next release candidate (rc3).

Miouyouyou commented 7 years ago

Could you try the latest version of the script, see if it works better this time ?

I did a few runs without issues on my machine, but I'd like to be sure.

sghazagh commented 7 years ago

Ok, the linux part looks ok. I still don't like the part downloading the config file.Why? because I normally add features to kernel. Why I have to replace it with default and I lose my settings?it's good to check if .config already exist and if it is, it asks for option to "mrproper" it or "oldconfig". In that way we can keep the existing one as it is and if not download it for compilation.

Same for patches. why should we download them over and over if they are already there? even in next runs, it does not save in same name and it adds 1,2,3 for each and every run. Some logic needs to check them too and asks if we want to overwrite them or for instance remove and download them again.

One thing you can do is to use GI itself. For instance add the patches to GIT, make a commit , reset hard and then checkout the saved files back if user wants otherwise download the fresh copy!

Miouyouyou commented 7 years ago

The script is currently made to run unattended, and be customized when needed. There's a whole set of variables put in place for that purpose. The whole idea is to make it easy to fork the project and customize it for persona needs. Also, if the fork has additions that fits with this project direction, I can just port them quickly.

Since the whole purpose is to run the script unattended, I will avoid adding interactivity to the script as much as possible. The only interactive part that I keep is the automatic triggering of make oldconfig, which will ask questions when using the configuration from a previous major kernel version, and that's only for identifying the potential causes if something breaks with that new version.

That said, I can try the quick git commit and .config check ideas, and add a make $MAKE_CONFIG instruction, where $MAKE_CONFIG will default to oldconfig. So you can launch the script like this when you need to reconfigure things :

MAKE_CONFIG=menuconfig ./GetPatchAndCompileKernel.sh

So, the new process would be :

That still leaves the installation part, though.

sghazagh commented 7 years ago

That sounds great :) I will try it again whenever I got free from the things I am working now... I will follow you... Hope to see you have added the WIFI part as well.

By the way, I am also working to make my own custom image. I have my own kernel and u-boot compiled, image created with Lubuntu 16.04.2 LTS and I get WIFI working as well.

I have a question which you might be able to help. I create a image file first and format two partitions differently for populating 'boot' and 'rootfs'. All good ... If I write the image to SD, that's good too and then I can write the u-boot to SD by dd command and seek=64. Thats make the SD bootable and everything works fine.

My question is, when I try to write the u-boot on image file directly rather than SD, that messes up the sizes and does not work. Do you know how I can write u-boot on a image file by some sort adding it to loop device or either directly? That helps create the image file which contains u-boot as well. Your help will be appreciated.

Hey, I have a Google Plus group for my small business which I have started two years ago. I do invite you to join and let's get in touch.

Have a look here and please join my Facebook Page or Google+ circly. Happy to be in touch with you and share things...

http://www.elar-systems.com(.au)

Cheers, (My name is "Saeid")

Miouyouyou commented 7 years ago

Alright, I'll take a look :).

Concerning the boot image, what do you mean by writing directly ? Like in a loop mounted disk image ? Or directly to some device MMC mounted through U-boot ( ums 0 mmc 1 ) ? Or using the rockchip tools ?

In order to understand if that's an offset calculation issue, you could try the following:

sghazagh commented 7 years ago

Thanks for reply mate. See the methos I am writing the Image is:

The last part make problem. But what I think after your explanation is that, probably I have to right the u-boot first, then partition the created image?! I'll try...

By the way, if I skip the u-boot right, and burn the image to SD, and then right the u-boot on SD that is all ok. Problem happens when I write the U-boot on to the .img file after creating and partition that!

Miouyouyou commented 7 years ago

Hmm, remember that dd seek=64 might not write at the 64 bytes offset. It might write at 64 x 512 bytes (32K), 64 x 1024 bytes, or 64 x 4096 bytes or whatever length unit is currently used during the writing phase.

This StackOverflow thread might help you on that regard: https://unix.stackexchange.com/questions/134299/dd-bs-count-seek

What's the output of dd when the U-boot copy works ?

If you can take a working SDCard (one with U-Boot copied with dd), dump the content back with dd, you might be able to check where the U-Boot image really starts, as long as you can identify it (with some kind of magic numbers in the header or something).

If you can have both images, meaning:

sghazagh commented 7 years ago

I don't think if it needs 512 or something as I do the same command to write on SD. Actually when I create a img file and mount it to for example /dev/loop0 , then execute another dd to write the u-boot, and then I partitioned the disk. No error, dd of u-boot finishes with no error, I see partitions as well and see script popilated both boot and rootfs partition. Size of created image is ok now as well. However: the board does not work :D That's funny....

good idea for comparing after dumping the boot-able SD... Maybe writing u-boot on SD is different than writing it on .img file!

Update: I compared SD which I directly wrote the U-Boot on it with the one created from the .img file. Both exactly at sector 64 have similar code. One can boot, another cannot!

Really interesting!

sghazagh commented 7 years ago

Heyyyyyy Actuallt it's working! I don't know why it didn't in first place. I just put the SD out and inserted in again and this time the SD boots and loaded to Lubuntu.

Thats greate!

Do you want to test the image? I actually want to upload it into my download repository when I have done some customization... Let me know if you can est that as well,, happy to provide you the download link....

sghazagh commented 7 years ago

my friend, I am uploading the "TinkerBoard SD image (Lubuntu 16.04.2 LTS)" and here is the download page. Lubuntu 16.0.4.2LTS Please download and burn to a SD. The image resize your SD partition to maximum size in first boot and reboots.

Note: I tried to use sysrq to boot the Tinker Board after resizing the partition but apparently there is an issue as kernel do not reboot properly. If you see the reboot does not work after resizing the rootfs partition[windows popup shows the message] (only on first boot), please manually disconnect and reconnect the power to boot again for now while I investigate and see why sysrq do not work even when the options are enabled in kernel. You should be able to boot and see the Lubuntu 16.04.2 environment. after second run.

WiFI is working as I am using official kernel source. Later on, I will use your kernel when you implemented the wifi. I have used mainline u-boot as well.

Cheers,

Miouyouyou commented 7 years ago

Well, glad to see that you got it working :smile:

I'll download your image today and give it a try next week. I've a few things to finish beforehand.

Meanwhile, yeah, I'll try to get the WiFi working for Tinkerboard boards.

Now, if you have other feedback about the compilation script, don't hesitate to share them. And if everything is OK for the moment, I'll just close the issue.

sghazagh commented 7 years ago

Of course, close this thread. It wasn't an issue in first place. Unfortunately there is no where else we can discuss other than making a note as an issue.

I appreciate your help mate, and I keep following here to see your progress. You also, please let me know if other than "sysrq" reboot issue you find something else in the SD image. I also have created one with Cinnamon Desktop. That works fine too.

I don't know if the MALI driver already integrated in official kernel or not as I cannot see that in "lsmod". If not, yours definitely will be the case to use as it's simple and clear how to patch it. It's handy to use your script to make the Kernel with Mali integrated.

Keep going and thanks again...