Skip to content

linux4sam/nano2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Nano2D

Overview

Nano2D is a driver for Vivante GCxxx 2D GPUs. It is split into an out-of-tree module for the Linux kernel and a user-space library, which provides an API to applications or graphics frameworks.

Building

nano2d.ko module

The source of the module are located under the drv/nano2Dkernel directory. The Makefile file located in this directory can be used with Linux 6.13 and later. It assumes the KDIR environement variable is defined and set to the build directory of the Linux kernel the nano2d.ko module is built for.

export ARCH=arm
export CROSS_COMPILE=arm-none-linux-gnueabihf-
make -C drv/nano2Dkernel KDIR=$KERNEL_BUILD_DIR MO=$(pwd)/build_nano2d_module

libnano2d user-space library

The source of the user-space libary are located under the drv/nano2D directory but the CMakeLists.txt file should be used to build the library with cmake.

cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
ninja -C build -j $(nproc)

License

Nano2D is released under the terms of the MIT license. See the LICENSE.txt file for more information.

About

Nano2D Linux driver and user-space library for Vivante GCxxx 2D GPUs

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages