Rotating screen 180 degrees

I have been trying to rotate the screen on the nanopi s2 running debian but
I have not been able to do so. I tried changing the fbcon config files but
any attempt to do so hasn't stuck - I even recompiled the kernel with the
framebuffer rotate support. Can somebody shed some light on this?