I notice that green LED is used to show some error codes when some failure happens during the OS boot. I know that this LED is controlled by software so it's flashing codes depend on used OS and software. But what is the description for the usual codes which are commonly used in raspi OS?
For example what means if green LED is blinking two times in a loop?
- radiolistener
- Posts: 622
- Joined: Thu Aug 03, 2023 6:49 am
Re: Green LED flashing codes
Amoung other places, details are in the not booting sticky: viewtopic.php?t=58151
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
Re: Green LED flashing codes
radiolistener wrote: ↑Wed Sep 20, 2023 4:53 pmI notice that green LED is used to show some error codes when some failure happens during the OS boot. I know that this LED is controlled by software so it's flashing codes depend on used OS and software. But what is the description for the usual codes which are commonly used in raspi OS?
For example what means if green LED is blinking two times in a loop?
The official Raspberry Pi documentation is here - https://www.raspberrypi.com/documentati ... lash-codes
But it does not seem to cover what you claim to be observing.
Beware of the Leopard
- radiolistener
- Posts: 622
- Joined: Thu Aug 03, 2023 6:49 am
Re: Green LED flashing codes
Unfortunately it doesn't explains error codes. I know that random flashing means some activity such as sdcard operations. But I'm talking about error codes, when some fault happens and green LED is blinking with a specific pattern. For example what means when green LED blinking two times, pause, blinking two times, pause, ...?thagrol wrote: ↑Wed Sep 20, 2023 4:55 pmAmoung other places, details are in the not booting sticky: viewtopic.php?t=58151
To be clear, I'm talking about RPI4
Re: Green LED flashing codes
I think you'll find that it does: viewtopic.php?t=58151radiolistener wrote: ↑Wed Sep 20, 2023 5:03 pmUnfortunately it doesn't explains error codes. I know that random flashing means some activity such as sdcard operations. But I'm talking about error codes, when some fault happens and green LED is blinking with a specific pattern. For example what means when green LED blinking two times, pause, blinking two times, pause, ...?thagrol wrote: ↑Wed Sep 20, 2023 4:55 pmAmoung other places, details are in the not booting sticky: viewtopic.php?t=58151
To be clear, I'm talking about RPI4
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
- radiolistener
- Posts: 622
- Joined: Thu Aug 03, 2023 6:49 am
Re: Green LED flashing codes
found it:
it shows that 2 flashes means "Failed to read from partition". This is strange, because I caught it on bookworm image and it was able to read partitions with no issue, the only problem it that display is blanked and I cannot see what happens on the screen and needs to use SSH.Long flashes Short flashes Status
0 3 Generic failure to boot
0 4 start*.elf not found
0 7 Kernel image not found
0 8 SDRAM (synchronous dynamic random-access memory) failure
0 9 Insufficient SDRAM
0 10 In HALT state
2 1 Partition not FAT
2 2 Failed to read from partition
2 3 Extended partition not FAT
2 4 File signature/hash mismatch - Pi 4
4 4 Unsupported board type
4 5 Fatal firmware error
4 6 Power failure type A
4 7 Power failure type B
Does it means that bookworm has it's own green led codes and 2 flashes in my case means different error?
Re: Green LED flashing codes
radiolistener wrote: ↑Wed Sep 20, 2023 5:03 pm
Unfortunately it doesn't explains error codes.
[ ... ]
To be clear, I'm talking about RPI4
Pedantically, you may be correct.
The information about RPi4/RPi400 is in a successor post as part of the same thread... Reading all 3 posts in the highlighted thread seems a natural thing to do.
Beware of the Leopard
Re: Green LED flashing codes
radiolistener wrote: ↑Wed Sep 20, 2023 5:24 pm
Does it means that bookworm has it's own green led codes and 2 flashes in my case means different error?
Since Raspberry Pi have not announced the release of a version of their RasPiOS based on Debian 12 Bookworm the answer has to be "who knows... ?"
Beware of the Leopard
Re: Green LED flashing codes
No. It doesn't. There is no code for "2 flashes". There is a code consisting of two long flashes followed by two short with that meaning though.radiolistener wrote: ↑Wed Sep 20, 2023 5:24 pmit shows that 2 flashes means "Failed to read from partition".
No.This is strange, because I caught it on bookworm image and it was able to read partitions with no issue, the only problem it that display is blanked and I cannot see what happens on the screen and needs to use SSH.
Does it means that bookworm has it's own green led codes and 2 flashes in my case means different error?
The flash codes are generated bu the bootloader code in the 4B's EEPROM not Linux. IIRC there has been a recent problem with FAT partitions with certain cluster/block sizes. Sorry but I don't have the details to hand (and I'm not doing the search for you).
AFAIK there is no officialy release bookworm image of RPiOS. What are you actually running? Debian?
The likelyhood is an issues with the image or the tool used to write it to your boot media. Try a forum search and try updating to the latest EEPROM firmware (see the official docs for how).
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
- radiolistener
- Posts: 622
- Joined: Thu Aug 03, 2023 6:49 am
Re: Green LED flashing codes
https://raspi.debian.net/tested-images/
https://raspi.debian.net/daily-images/
I can connect to it with ssh and disk operations works ok, and I don't see critical errors in the log. I can install packages with no issue. The only issue is that it turns off hdmi signal at 15 second of the boot, but virtual terminal seems to work ok, because I can login and enter commands from keyboard in blind mode...

I tried to install KDE, it is installed and seems to run ok, but there is no video signal on hdmi output, so I don't see anything, the only way to communicate with it is through ssh...
So, I don't think that this is an issue of the tool used to write boot media (I was used raspi Imager to write it on sdcard).
Re: Green LED flashing codes
I will repeat what I believe to be an accurate statement of fact as of the time of writing, and then cease to participate in this thread.
Raspberry Pi have not announced the release of a version of their Raspberry Pi Operating System (RasPiOS) based on Debian 12 Bookworm
Raspberry Pi have not announced the release of a version of their Raspberry Pi Operating System (RasPiOS) based on Debian 12 Bookworm
Beware of the Leopard
Re: Green LED flashing codes
As will I.B.Goode wrote: ↑Wed Sep 20, 2023 7:12 pmI will repeat what I believe to be an accurate statement of fact as of the time of writing, and then cease to participate in this thread.
Raspberry Pi have not announced the release of a version of their Raspberry Pi Operating System (RasPiOS) based on Debian 12 Bookworm
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides