Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With HassOS 5.4 Raspberry 3 does not boot anymore #928

Closed
TheZoker opened this issue Oct 23, 2020 · 23 comments
Closed

With HassOS 5.4 Raspberry 3 does not boot anymore #928

TheZoker opened this issue Oct 23, 2020 · 23 comments

Comments

@TheZoker
Copy link

TheZoker commented Oct 23, 2020

HassOS release with the issue: 5.4

Supervisor logs: None

Journal logs: None

Kernel logs: None

Description of problem:
When I upgraded from HassOS 5.3 to 5.4 today, my Pi 3B+ does not boot anymore. When I connect a HDMI cable, the only output I get is the colored image. I reflashed the SD card with 5.4 again to see if it was a upgrade error, but still same issue. I then flashed version 5.3 and the Pi booted normal again. Unfortunately I can't attach any logs, since there where just no logs anywhere. So I assume that something in 5.4 broke something for the Pi3 (maybe other Pi versions, but I only have version 3 to test here)

For reference, this is what I mean with a "colored image":
image

@archerne
Copy link

archerne commented Oct 23, 2020

Same issue with the 64bit Rasp Pi 4 8GB on SD Card

@archerne
Copy link

archerne commented Oct 23, 2020

I did a fresh install of 5.4 switching to using an SSD and it started (still testing to make sure everything works) but looks like the upgrade from 5.3 to 5.4 breaks something

@SmarterHomeLife
Copy link

Seems to break something with the SD card, I upgraded my system that runs on an SSD with no issues but upgrading or a fresh install on an SD card fails to boot for me.

@SeanPM5
Copy link
Contributor

SeanPM5 commented Oct 24, 2020

Can confirm, my secondary instance on an RPi4 (64bit / 4GB) was bricked after updating from 5.3 to 5.4. It can no longer boot off the SD card.

@fabiocastagnino
Copy link

Same issue with the 64bit Rasp Pi 4 8GB, upgrading from 5.2 to 5.4 or clean install. It can no longer boot off the SD card.

@Gadgit83
Copy link

Gadgit83 commented Oct 24, 2020

Same for me - RPI 4 8GB. 64bit image. Rolled back to 4.15 and worked fine. 5.3 appears to be booting OK.

Thought it was me - first time I'm trying the Pi with HA. Tried everything, different USB cables, different power supply, reflashed card, used balenEtcher and the Pi Imager, no luck. Should have known better than to rely on a dev version :).

Update 5.3 didn't boot in the end. Don't know if it's me or something in the image.

@cogneato
Copy link
Contributor

I wasn't sure what "colored image" was referring to, but now I see.

@TheZoker
Copy link
Author

Thanks @cogneato for the hint, I placed an example image in the issue description 🙂

@selmaohneh
Copy link

Same here. But my screen is not colored, it just stays black. 🙄

@cogneato
Copy link
Contributor

@TheZoker That was more me confirming what you were describing. I have a picture I was going to upload too but yours is straighter than mine. 👍

I've since booted a fresh install of HA OS 5.3 64 bit without issues on this pi4 4GB. We probably won't hear back from anyone about 5.4 for another 12 hours at least.

@agners
Copy link
Member

agners commented Oct 25, 2020

Hm, it seems that the firmware bump in #899 is responsible for this. Using start4.elf and fixup4.dat from the firmware we used before (raspberrypi/firmware@7caead9) makes it work for me.

I guess we have to revert the firmware until we bump to Linux 5.4.

@Jpsy
Copy link

Jpsy commented Oct 26, 2020

Can confirm that update from 5.3 to 5.4 works flawlessly on an SSD based system without SD card.

@Beduir
Copy link

Beduir commented Oct 26, 2020

I have successfully upgraded from 5.3 to 5.4 (SSD without SD card). But the Razberry board stopped working. I went back to 5.3 and everything works again.

@Jpsy
Copy link

Jpsy commented Oct 26, 2020

@Beduir: Did your system stall immediately after upgrade or did it work for some time before it stopped?
I am on 5.4 for about 20 hours now without any problems.
And another question - just out of curiosity: What is your EEPROM boot firmware version? Did you update to 20200903?

@fabiocastagnino
Copy link

in my case the system die immediately after upgrade (RPi4 8gb)

@Beduir
Copy link

Beduir commented Oct 26, 2020

@Jpsy
Everything worked well except Razberry (Z-wave).

@Jpsy
Copy link

Jpsy commented Oct 26, 2020

@Beduir: Aaaah, I got you wrong. Did not check that Razberry is a Z-wave Pi hat!

@archerne
Copy link

archerne commented Oct 26, 2020

@Beduir I had an issue with my Raspbee 2 hat as well, the serial changed from /dev/ttyAMA0 to /dev/ttyS0, once I made that change the hat worked again (SSD here as well, not SD)

@Beduir
Copy link

Beduir commented Oct 27, 2020

@archerne
It does not help.

Yeelight lamps also stop working. The reason is not yet clear.

agners added a commit to agners/operating-system that referenced this issue Oct 27, 2020
…ssistant#899)" (home-assistant#928)

This reverts commit dade3ad.
The new firmware lead to black screens and rainbow screen on various
Raspberry Pis.
pvizeli pushed a commit that referenced this issue Oct 27, 2020
…#928) (#942)

This reverts commit dade3ad.
The new firmware lead to black screens and rainbow screen on various
Raspberry Pis.
@agners
Copy link
Member

agners commented Oct 27, 2020

Reverted to the firmware used in 5.3, should be working again with the next release.

@agners agners closed this as completed Oct 27, 2020
@tmm1
Copy link
Contributor

tmm1 commented Oct 27, 2020

Sorry for all the trouble here. I'm not quite sure what happened, and why only some RPI are affected. I will try to investigate more.

@tmm1
Copy link
Contributor

tmm1 commented Oct 30, 2020

I think this issue is related to raspberrypi/firmware#1457

The Sep 2020 stable release does not support booting from hybrid GPT from SD card. This was fixed in subsequent beta firmware released after the Sep 2020 stable build. The last known working firmware for hybrid GPT before Sep 2020 is Jun 2020 (1.20200601), which is what was being used before.

@deftdawg
Copy link

deftdawg commented Nov 2, 2020

Booting 5.4 from didn't work for me either on Pi4 4GB. @agners unless the devs actually did something that fixes the issue, the issue should be reopened; otherwise a lot of users gonna suffer when it goes GA.

Edit: I guess maybe they did, but haven't done a build yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests