Pfuriosus77
Posts: 13
Joined: Sat Jul 06, 2019 10:38 pm

HELP! Rpi4 stuck at rainbow stage after firmware update.

Sun Jul 07, 2019 6:16 pm

Hello everyone.

As I was having no luck enabling the hardware acceleration functionality in chromium, first tried using sudo rpi-update as suggested here: https://www.raspberrypi.org/forums/view ... 5&start=25 to update the rpi4 firmware. Everything seemed fine during the firmware update and fine after a reboot but chrome://gpu still reported no WebGL harware acceleration. Therefore I thought booting with a brand new raspian-buster image might help. However seems this has essentially bricked my new rpi4. Sequence of events (after firmware update via sudo rpi-update) went as follows:

1. I switched to a new card/buster image; booted without issues first time.
2. Ran the suggested system updates.
3. Rebooted; Now stuck at rainbow stage!

Everything I have tried after this ends up stuck at the rainbow stage , including another brand new card and new raspian-buster image with boot_delay=1 in the config.txt file; also tried booting using NOOBS, same result. Interestingly, same cards boot fine in a rpi 3b+, so definitely NOT an SD card issue. Harware was not touched except to swap out the SD cards and using the same power supply.

I can also confirm that repairing the BOOT EEPROM as described in https://www.raspberrypi.org/forums/view ... i4#p437084 and https://www.raspberrypi.org/documentati ... teeprom.md does not help even though the process seems to be successful (continuous LED flashing after booting from the repair SD). Also 3V3 is fine on the board. Lastly, without a SD card in, the green LED blinks 4 times, suggesting the EEPROM bootloader is fine?

Please help, out of ideas here! Thanks


fbe
Posts: 485
Joined: Thu Aug 17, 2017 9:08 pm

Re: HELP! Rpi4 stuck at rainbow stage after firmware update.

Sun Jul 07, 2019 6:56 pm

Before Raspberry Pi4 rpi-update used to make unbootable SD cards/USB drives only. I don't know whether or not it now also writes poorly tested things into the EEPROM of a Raspberry Pi4.

Try to write a new image onto your SD card and remove all USB devices except for keyboard and mouse. If that boots, the first thing you should do is:

Code: Select all

sudo apt remove rpi-update
PS: The version numbers of rpi-update on the Stretch and Buster image appear to be identical. I hope you are lucky.
Last edited by fbe on Sun Jul 07, 2019 7:14 pm, edited 2 times in total.

Pfuriosus77
Posts: 13
Joined: Sat Jul 06, 2019 10:38 pm

Re: HELP! Rpi4 stuck at rainbow stage after firmware update.

Sun Jul 07, 2019 7:10 pm

fbe wrote:
Sun Jul 07, 2019 6:56 pm
Before Raspberry Pi4 rpi-update used to make unbootable SD cards/USB drives only. I don't know whether or not it now also writes poorly tested things into the EEPROM of a Raspberry Pi4.

Try to write a new image onto your SD card and remove all USB devices except for keyboard and mouse. If that boots, the first thing you should do is:

Code: Select all

sudo apt remove rpi-update
Thanks for the quick reply. Unfortunately I have not been able to get past the rainbow stage, even with only the keyboard and mouse plugged in.

trejan
Posts: 415
Joined: Tue Jul 02, 2019 2:28 pm

Re: HELP! Rpi4 stuck at rainbow stage after firmware update.

Sun Jul 07, 2019 7:42 pm

fbe wrote:
Sun Jul 07, 2019 6:56 pm
Before Raspberry Pi4 rpi-update used to make unbootable SD cards/USB drives only. I don't know whether or not it now also writes poorly tested things into the EEPROM of a Raspberry Pi4.
It doesn't touch the boot EEPROM.

eltiodex
Posts: 4
Joined: Thu Mar 02, 2017 4:22 pm

Re: HELP! Rpi4 stuck at rainbow stage after firmware update.

Tue Aug 06, 2019 10:51 pm

Same issue here, after rpi-update. I have 2 RPis, but one stayed new on the box. The same sd card boots on the new one but no on the "rpi-upgraded".

I hooked up to UART port an this is the output:

Code: Select all

PM_RSTS: 0x00001000
RPi: BOOTLOADER release VERSION:d2402c53 May 10 2019 19:40:36 BOOTMODE: 0x00000006 part: 0
uSD voltage 3.3V
SD HOST: 200000000 CTL0: 0x00000000 BUS: 100000 Hz div: 2000 status: 0x1fff0000 delay-ticks: 1080
SD HOST: 200000000 CTL0: 0x00000f00 BUS: 100000 Hz div: 2000 status: 0x1fff0000 delay-ticks: 1080
CID: 000353445342363447800c940fcd0114
CSD: 400e00325b590001dbd37f800a404000
CSD: VER: 1 logical blocks: 121811 mult: 1024 rd(len: 512 partial: 0 misalign: 0) sectors: 124735488
SD: bus-width: 4 spec: 2 SCR: 0x02458043 0x00000000
SWITCH_FUNC: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000380010
SD HOST: 200000000 CTL0: 0x00000f04 BUS: 40000000 Hz div: 6 status: 0x1fff0000 delay-ticks: 2
MBR: 0x00002000,  524289 type: 0x0c
MBR: 0x00084000,124194816 type: 0x83
MBR: 0x00000000,       0 type: 0x00
MBR: 0x00000000,       0 type: 0x00
part-offset: 8192 oem:  mkfs.fat volume:  boot       
rsc: 32 sectors-per-fat: 4033 clusters: 516191 cluster-size: 1 root-dir: 2 root-sectors: 0
PM_RSTS: 0x00001000
Partition: 0
part-offset: 8192 oem:  mkfs.fat volume:  boot       
rsc: 32 sectors-per-fat: 4033 clusters: 516191 cluster-size: 1 root-dir: 2 root-sectors: 0
Loading config.txt hnd: 0x0000029f
Initialising SDRAM 'Micron' 16Gb x1 total-size: 16 Gbit
Loading recovery.elf hnd: 0x00000000
Failed to read recovery.elf error: 3
Loading start4.elf hnd: 0x00009280
Loading fixup4.dat hnd: 0x000002b2
MEM GPU: 76 ARM: 948 TOTAL: 1024
FIXUP src: 128 256 dst: 948 1024
Starting start4.elf @ 0xfec00200
Unfortunely, is the same on both RPis... nothing else after "Starting start4.elf @ 0xfec00200", but one boots and the other stays on the rainbow screen. Also the CPU starts to heat.

Any advice is welcome....

OutsourcedGuru
Posts: 51
Joined: Mon Jun 19, 2017 11:15 pm

Re: HELP! Rpi4 stuck at rainbow stage after firmware update.

Wed Aug 07, 2019 8:22 pm

I wouldn't recommend rpi-update to anyone who's not developing hardware drivers, for example.

rpi-update => bricked raspberry

User avatar
DougieLawson
Posts: 35555
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: HELP! Rpi4 stuck at rainbow stage after firmware update.

Wed Aug 07, 2019 8:49 pm

OutsourcedGuru wrote:
Wed Aug 07, 2019 8:22 pm
I wouldn't recommend rpi-update to anyone who's not developing hardware drivers, for example.

rpi-update => bricked raspberry
You can't "brick" a RPi. You can trash the bootable system on an SDCard.

Get a fresh SDCard, a copy of Buster, a copy of Etcher and a USB SDCard reader.

You can build a rescue system, boot that, put the trashed SDCard in the USB reader and have a go at hacking it back into life or rescuing your programs and data from it.

To render an RPi useless, you need to try harder with some GPIO abuse.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

eltiodex
Posts: 4
Joined: Thu Mar 02, 2017 4:22 pm

Re: HELP! Rpi4 stuck at rainbow stage after firmware update.

Wed Aug 07, 2019 9:21 pm

I agree with you Dougie, but I can't find a way of pass-thought the rainbow screen. After I read you, I tried again with flashing a SD card, but it doesn't work in the "no-bricked" but yes in the out-of-box new RPI4. Yesterday, I tried to boot the RPi4 with these options, but nothing happened:

Code: Select all

 start_file=start4db.elf
 fixup_file=fixup4db.dat
Is there a more verbose log level to be configured or anything which could give me more information for debug when connected to the UART port?

Thanks in advance!

User avatar
DougieLawson
Posts: 35555
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: HELP! Rpi4 stuck at rainbow stage after firmware update.

Thu Aug 08, 2019 9:05 am

I wouldn't do anything with /boot/config.txt other than leave it exactly as supplied by the RPF/RP(T) folks with Raspbian Buster 2019-07-10.

Start with a factory fresh SDCard bought from a reliable retailer (like Sainsburys/Argos, Tesco, ASDA or Morrisons) or an SDCard that you know isn't fake by testing it with h2testw.

Write plain Raspbian to the SDCard with Etcher.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

eltiodex
Posts: 4
Joined: Thu Mar 02, 2017 4:22 pm

Re: HELP! Rpi4 stuck at rainbow stage after firmware update.

Tue Aug 13, 2019 12:39 pm

Well, I did what you suggested with the same results. And the same SD Card works on the other RPi4. Is there a way to get more information when booting? Via UART, via display... anyway?

Thanks for your help!!

Return to “Troubleshooting”