Skip to content

Latest commit

 

History

History
81 lines (55 loc) · 2.58 KB

README.md

File metadata and controls

81 lines (55 loc) · 2.58 KB

GPU (EVALUATION)

Pre-built image

A GPU evalutation image has been created for your convienience HERE.

To install it, see the Flashing the image section in the top level README.md.

Installing support yourself

Install/upgrade to MESA >v19.1

The latest version of Eoan provides this in the standard repos.

If you do not want to use Eoan, you may have to build MESA from source.

Obtain and build an enabled kernel

One has been built for your convienience HERE

And a pre-built DTB is available HERE

If you wish to build them for yourself do:

$ git clone https://github.com/aarch64-laptops/linux.git
$ git checkout origin/gpu -b gpu

$ ccache make -j $(nproc)                       \
    ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- \
    KBUILD_OUTPUT=../build-arm64                \
    dtbs

$ ccache make -j $(nproc)                       \
    ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- \
    KBUILD_OUTPUT=../build-arm64

$ ccache make -j $(nproc)                       \
    ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- \
    KBUILD_OUTPUT=../build-arm64                \
    bindeb-pkg

This will result in a linux-image-*.deb file in the parent directory that you can install with dpkg -i.

Obtain and install firmwares

$ mv qcdxkmsuc850.mbn a630_zap.mdt
$ mv a630_gmu.bin  /lib/firmware/qcom/
$ mv a630_sqe.fw   /lib/firmware/qcom/
$ mv a630_zap.mdt  /lib/firmware/qcom/

Testing

Install and start Super Tux Kart

$ sudo apt install supertuxkart
$ supertuxkart

If it runs smootly, the GPU is working.

Trouble Shooting

Ensure you are selecting the enabled kernel at boot up and that Grub is using the correct DTB.

You can check this in /boot/grub/grub.cfg.