Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7854

Troubleshooting • Raspberry Pi 5 Stuck in Safe Mode

$
0
0
I have a raspberry pi 16gb that I have been doing some benchmarking on. I was overclocking to guage cooling performance, and I had pcie speeds set to gen 3. At one point I overclocked it to where it failed to boot. I saw online that holding shift will ignore the overclock and so a safe boot, but when I attempted that it still failed to boot. I also saw that shorting pin 5 and 6 does the same thing, so i also tried that which still did nothing. I eventually figure out how to change the config.txt file by connecting the boot drive to another pc and now it boots fine. After all this I noticed that it now just ignores any performance related settings in config.txt. it will enable rtc battery charging but it will completely ignores overclock settings, and the pcie gen 3 setting. It ignores the settings in config.txt regardless of what boot device I use(I got another drive with a fresh install and it didn't work on that either). When I check dmesg there aren't any messages indicating that it even tried setting pice speeds to gen 3. I tried adding avoid_safe_mode=1 but that did nothing. Lastly I used a spare sd card to flash the bootloader using the rpi imager, but even after reflashing the bootloader it still ignores performance related settings in config.txt. Has anyone gone through this before, or know how to fix it? My main concern is not overclocking but getting pcie back to gen 3 speeds since before it worked perfectly fine with my 2 ssds in raid 1. I believe this may have been caused when I shorted pin 5 and 6 or when i held shift during boot, but im not sure why it's still in "safe mode".

Statistics: Posted by Andrey3301 — Tue Nov 04, 2025 3:07 am



Viewing all articles
Browse latest Browse all 7854

Trending Articles