Skip to content

knuxyl/rockpi4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

rockpi4

Scripts for setting up Rock Pi 4

These scripts might only apply to Manjaro, especially the build prefix for mesa

Compiler options (take off -flto to disable link-time optimizations. this breaks a lot of builds)

export CFLAGS='-march=armv8-a -mcpu=cortex-a72.cortex-a53 -O3 -funsafe-math-optimizations -flto

export CXXFLAGS='-march=armv8-a -mcpu=cortex-a72.cortex-a53 -O3 -funsafe-math-optimizations -flto

Building Mesa

git clone --recursive https://gitlab.freedesktop.org/mesa/mesa

cd mesa

mkdir build

meson --prefix==/usr/ -Dplatforms=x11,wayland -Dgallium-drivers=panfrost -Dvulkan-drivers=panfrost -Dllvm=false

ninja -C build/

sudo ninja -C build/ install

About

Scripts for setting up Rock Pi 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published