hayabusa
Posts: 1
Joined: Mon Sep 06, 2021 6:17 am

pi 4 fails to start after reboot

Mon Sep 06, 2021 6:44 am

I have a Raspberry Pi 3B and 4B.
It operates 24 hours a day.
Reboot once a day.
However, only 4B may fail to boot. The screen turns black. No abnormality is found in the lamps of Raspberry Pi 4B.
Verification environment (for verification, reboot once every 5 minutes)

<Raspberry Pi 3B>
Install Raspberry Pi OS (32-bit) from Raspberry Pi official
I set crontab -l
*/5 * * * * sudo reboot
<Raspberry Pi 4B>
Install Raspberry Pi OS (32-bit) from Raspberry Pi official
I set crontab
*/5 * * * * sudo reboot

4B takes about half a day and fails to start.
I did the following validation, but the problem was not resolved.

1
When the SPI EEPROM (boot loader) on the board is malfunctioning.
How to check: Disconnect the power supply, remove the microSD card, and then restart the power supply. If the green LED (ACT) does not blink, the SPI EEPROM (boot loader) on the board is malfunctioning.
→The green LED (ACT) flashed. It is not a SPI EEPROM (boot loader) issue.

2
Undo changes in the OS
I made changes to / etc / xdg / lxsession / LXDE / autostart, so I removed the changes and the apps used for them.
→Only 4B fails to start

3
Remove my application and set only Raspberry Pi OS and crontab.
*/5 * * * * sudo reboot
→Only 4B fails to start
I found that it was not a problem for my application.


The firmware has been updated to the latest version.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
→Only 4B fails to start


Reboot with the reboot option -f
*/5 * * * * sudo reboot -f
→Only 4B fails to start


I wondered if you could help me.

PGTokheim
Posts: 10
Joined: Thu Mar 21, 2019 8:18 pm

Re: pi 4 fails to start after reboot

Thu Sep 30, 2021 12:05 am

Hi from France,

We got recent Transcend SLC Mode SD cards, the boot after a power up is ok, but when we ask a reboot from the command line, the bootloader is unable to detect the SD card. Linux doesn't start of course.
This is for at least three Pi4B Raspberry.

Perhaps it is a bad batch of SD cards.
But the same SD cards work properly with the Pi3B+

So my advise is to change the SD card.

Why we chose those Transcend SD cards: because other SD cards broke when the power goes off while Linux is running !

Perhaps on engineer of the Raspberry Organisation can comment.

Regards

PGTokheim
Posts: 10
Joined: Thu Mar 21, 2019 8:18 pm

Re: pi 4 fails to start after reboot

Thu Sep 30, 2021 12:28 am

Here is the screen when the bootloader cannot access to the SD card :
Attachments
screen.jpg
screen.jpg (68.94 KiB) Viewed 317 times

cleverca22
Posts: 4700
Joined: Sat Aug 18, 2012 2:33 pm

Re: pi 4 fails to start after reboot

Thu Sep 30, 2021 12:59 am

PGTokheim wrote:
Thu Sep 30, 2021 12:28 am
Here is the screen when the bootloader cannot access to the SD card :
all of the SD errors have scrolled off the screen, due to having a usb storage plugged in

youll need to unplug that usb, or switch on BOOT_UART, if you want to see the SD errors

Return to “Troubleshooting”