For several days I’m running the latest mesa (the OpenGL implementation that includes the userspace part of etnaviv, the driver for the Vivante GC7000L GPU in the i.MX8MQ in MNT Reform) from git, without patches, and it works very well. It also fixes a few visual bugs in desktop GL applications (for example the 3D viewer in KiCAD).
root@reform:~/src/mesa# git branch -m main
fatal: Ungültiger Branchname: ‘HEAD’
root@reform:~/src/mesa# git branch --set-upstream-to=origin/main
fatal: Konnte keinen neuen Upstream-Branch von HEAD zu origin/main setzen, da dieser auf keinen Branch zeigt.
“git checkout src” was executed without errors.
“git status” gives me the information that the repository is in no branch.
Hmm I remember that I actually had this problem, too, and what helped was editing .git/config and just replacing all instances of master with main there.