Has anyone had trouble overclocking the Pi5? Theoretically, you can set it to 3GHz with good heat dissipation, but as soon as I enter any related data in the /boot/config.txt, it stops booting, even with underclock values. Even removing the microSD and editing the file on another PC to delete the overclock lines, I can't rescue it, and I have to reinstall / reflash the system and so on. I've selected correctly the Pi 5 on the Raspberry Pi OS Imager, and selected also Raspberry Pi OS Lite (64 bits).
It's odd because when I set those values and reboot, the Pi5 tries to boot and eventually hangs a few secs later, doing nothing other than keep the fan working (I don't have access to a screen, it's a headless system). Even removing the microSD card and putting it in my PC to delete those added lines from the /boot/config.txt file, I can't recover it, and I have to flash it again, super weird.
This is the data I'm adding:
[all] # Doesn't work
over_voltage_delta=50000
arm_freq=3000
gpu_freq=1000
[all] # Doesn't work too
over_voltage=3
arm_freq=3000
gpu_freq=1000
There's one thing I've noticed that wasn't the case before. On the Pi4b, the /boot/config.txt file (where you overclock the machine) was there as expected, working flawlessly, but on the Pi5 it seems to be a symbolic link to /boot/firmware/config.txt, could that be the reason why it's not working?
I've also tried to edit directly /boot/firmware/config.txt with the same results so I'm kinda lost atm so any help is more than welcome ):