Rapberry Pi Touchscreen Upside down [Solved]

I have Volumio V 2.378 installed on a Raspberry Pi 2 with a PiFi DAC+ and a Rpberry Pi 7" touchscreen.
If I do a fresh install I can get the DAC working fine, and the touchscreen works, except it displays upside down.

I added the line rotate_lcd=2 to /boot/config.txt as per the raspbian instructions, but then on reboot I get no display and it seems the Pi does not boot properly, as I cannot connect either to the web interface or via ssh.

I’m sure I’m doing something stupid but I can’t figure out what. Any advice would be appreciated.

[Solved] I feel like a bit of an idiot, but the problem was of course the crappy power supply I was using.
I have ordered a better one. Please go back to what you were doing.