En ssh: mount -o remount, /boot
puis édites ton fichier config.txt display_rotate rotates the display clockwise on the screen (default=0) or flips the display.
display_rotate=0 Normal
display_rotate=1 90 degrees
display_rotate=2 180 degrees
display_rotate=3 270 degrees
display_rotate=0x10000 horizontal f
lip display_rotate=0x20000 vertical flip