GC2000 support for etnaviv

Today I hit an important milestone for etnaviv – an open source user-space driver for the Vivante GCxxx series of embedded GPUs. I finally got GC2000 support to a level that it seems to work. It took me some months to get there. At the beginning it sounds easy to rebuild a ‘driver’ if you get readable command buffer dumps. I did start with working on a simple replay program to render a cube in the same was as the binary blob does it. But what should I say… it is quite boring to do everything by hand and not taking advantage of libetnaviv and the ‘driver’ at all. So I decided to go the hard way and try to fix/add all missing bits until it renders something. The good thing is that I have now some knowledge about the structure of libetnaviv, the dirver and mesa in general. It helps a lot if you know why stuff is done that way. ...

February 9, 2014 · 2 min · Christian Gmeiner

Rebase Github fork

Today I needed to rebase my etnaviv fork to the current master of upstream. I need to say that I never did this before but with git this is a breeze. View the code on [Gist](https://gist.github.com/austriancoder/724a0a8d1db4f229e197d501f8b49fa5).If you get a merge conflict during rebase, you only need to follow the instructions git gives you.

February 8, 2014 · 1 min · Christian Gmeiner

CMake: Post install scripts for debian

I am using cmake during my job to create Debian installation packages for different kind of software projects. Today I run into an issue. I needed to run some post installation steps. I know that this is quite easy possible within a deb file, but how to archive the same with cmake? It turned out to be quite easy: View the code on [Gist](https://gist.github.com/austriancoder/1c3ba1d383fefbf8dd7fe773cebd882d).Where postinst is the script which gets executed after the deb got installed.

January 23, 2014 · 1 min · Christian Gmeiner

Decrypt shell commands

You may know this situation: You have seen a shell command, looked in the man page but you are no really sure what it does? It solution to this problem is quite easy: http://explainshell.com/ The best thing is that the source code is released under GPL and can be found at GitHub

September 5, 2013 · 1 min · Christian Gmeiner

Recreate ssh host keys in Debian

Sometimes it is needed to recreate the used ssh host keys and this can be done quite easy on a Debian based system. View the code on [Gist](https://gist.github.com/austriancoder/65c4f0141bdea7f565c1aed21404fd19).

August 22, 2013 · 1 min · Christian Gmeiner