Skip to content

Inquiry on GPU Driver Integration for Rock Pi 4B with OP-TEE #299

@markhsumark

Description

@markhsumark

Hi, I am a student researching TrustZone, with a keen interest in the integration of GPU functionality within TrustZone environments.

Previously, I followed the OP-TEE documentation to compile and flash the OP-TEE branch 4.3.0 project into the Rock Pi 4B, and I successfully got it running.

However, I noticed that the Linux kernel provided by OP-TEE does not include the GPU driver (Mali T860 Midgard) for the Rock Pi 4B, which prevents me from utilizing the GPU driver. Additionally, even if we manually port the Midgard driver into the Linux kernel, we encounter issues due to the kernel's newer version, which causes compilation errors for the Midgard driver.

We are considering the following approaches moving forward:

  1. Switch to the Linaro 4.14 version of the Linux kernel and manually add the Midgard driver.
  2. Use a pre-existing Linux kernel developed by others (rockchip-linux).

Here are some of our attempts for approach 1:
setting:
image
building result:
image

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions