Go for a physical switch on a GPIO and use the [gpio27=0] conditional in config.txt to switch between the configurations.RossDv8 wrote: ↑Wed Sep 25, 2019 2:08 pmto 5t4n5
I suspect if I can get my brain functioning again, a little python script would let me switch easily between an overclocked or default config.txt (named config.clk and config.def for example). For that matter, a bash script and zenity (installed by default on Raspbian) would do it and present a popup dialog!
Then as I mentioned, if some program like GIMP, is falling over, run the script, and the Pi will rename one of the backup files as config.txt and reboot. Problem solvered and the full 2GHz overclock available for less demanding tasks.
That way I can have my Pi and eat it...
Until I cook it!
It's a useful little trick that I've been doing when testing out new kernels. If it doesn't boot then flick the switch to get back to a known good system, update the dodgy kernel file, flick the switch back, and reboot again into the freshly updated kernel.