Expected support for Home Assistant OS on the Raspberry Pi 5

Hi, I have recently changed from Pi4 to Pi5 HA 11.4 on an USB Nvme and it works when connected to the USB2.0 port on the PI5. But if I connect it to the USB3.0 port on the pi5, it looks like its booting up, but is getting stuck. Is Usb3.0 not supported in HA?

As a quick test, I grabbed a SSK NVME to USB3 adapter from my drawer. It has a Samsung 1TB 970 EVO drive in it. I plugged it into my Windows 11 PC, and used the Raspberry Pi Imager tool to load the latest haos_rpi5-64-11.4.img.xz on that drive.

I then shutdown my RPi 5, removed power, removed the microSD flash memory card I have been using for testing, plugged in the SSK NVME-to-USB drive to a RPi 5 USB3 port, and plugged the USB-C power back in. The RPi 5 booted right up and is running HAOS 11.4 without any obvious issues.

Perhaps your existing NVME to USB adapter is not quite compatible? Just a guess. :thinking:

it was working fine on PI4, and is also working with the Raspi OS.

Adapter is this one

SSK Aluminium M.2 NVME SATA SSD GehƤuseadapter, USB 3.2 Gen 2 (10 Gbit/s) auf PCI-E NGFF M-Key/(B+M) Key Solid State Drive Externes GehƤuse unterstĆ¼tzt UASP Trim fĆ¼r NVME/SATA SSDs 2242/ 2260/2280

but thanks for testing.

br
mike

Tested again, it was a faulty cable. working fine now.
thanks

2 Likes

I had same experience .
Tried install Pi 5 with 32Gb of SD card and after few reboots the SD becomes unresponsive .
Replaced the SD with new one which acted the same .
Few of the integrations did not work after restoring the DB .
Tried installing the HA as a container on a native Rpi image ( Linux raspberrypi 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64) and got into memory allocation issues .
09:07:06] INFO: Home Assistant Core finish process exit code 1
[09:07:06] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services successfully started
s6-rc: info: service legacy-services: stopping
[09:07:07] INFO: Home Assistant Core finish process exit code 256
[09:07:07] INFO: Home Assistant Core finish process received signal 15
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
: Unsupported system page size
: Unsupported system page size
: Unsupported system page size
Fatal Python error: _PyRuntimeState_Init: memory allocation failed
Python runtime state: unknown

From my POV there is still work to be done to make it usable .

been testing it for a few days now in rpi5, so far no issues or errors showed upā€¦

1 Like

@Boby
did it start after you shutdown or restarted?

My RPi 5 has been running HASO 11.4 for a while now. I have rebooted it multiple times, updated HA Core a few times, and even accidentally unplugged it today. In all cases, it has come back without any issues. The real test, IMHO, will come when we upgrade to HAOS 11.5.

I definitely did experience the reboot instability on HAOS 11.3. I wonā€™t call the issue completely resolved until I can complete a few more upgrades of HAOS greater than 11.4. :wink:

I share the same experience. Running smooth for over two weeks.

1 Like

I am still running a Christmas dev Version on my RasPi5 with no problems and several reboots , but I havenā€™t dared to do an update yet, because Iā€™ve always ended up in the boot loop before. That seems to have been solved now (:pray:t2: many thanks to @agners and @sairon) and Iā€™m eagerly waiting for HAOS 11.5 to give it another try.

is everyone booting off an SD card? Iā€™ve tried 11.4 image off an nvme and Iā€™m not having much luck.

are there any ticks to this?

I have a RPi 5 booting off of a USB 3 connected NVME drive. No issues and I did not do anything special to the RPi 5 in order to enable this functionality. Prior to running it off of the USB-NVME drive, I did boot it originally off of a microSD card. The first OS I tried was the official Raspberry Pi OS for the RPI 5. Later, I used the HAOS 11.3 development and release candidate images. Not sure if running any of these operating systems did anything to the RPi 5ā€™s EEPROM settings to allow it to boot from a USB attached NVME drive or not?

I have not tried to boot it using a PCIexpress to NVME adapter, as I do not have one of those, yetā€¦

yeah this is the unit Iā€™m trying to useā€¦ I can load the image onto it fine from the same pi5 booting off the SD card, I have also run the tool to change boot order, but maybe that has only got USB over the new PCIe option.

it start after a restart or shut down, any issues with yours?

I am having the same issue - I am using a different HAT, but same connection.

Looks like we should be able to upgrade the Yellow with a CM5, pending support from the HASS team:

What we can confirm though is that the Compute Module 5 will share the same dual connectors as the Compute Module 4

Retaining the dual connector should mean that boards designed around the CM4 should work with the CM5. The assumption being that the 55 x 40 MM form factor remains the same.

1 Like

I am on a SD card. No tricks.

Will migrate to PCI connected M.2 disk for my production setup.

This is good news! I just hope the HA Yellow is capable of supplying enough power for the CM5. The RPi 5 requires significantly more power than the RPi 4 - thus my concernā€¦ :thinking:

That is the strange thing about the Rpi5 as Broadcom have seemed to completely killed the energy efficiency of those great Cortex A76 cores.
The HA Yellow says its 12v 2A but guess its all dependent on the onboard regulators.
The comparative SoC Rk3588(s) from Rockchip manages near x2 Gflops/watt over the Pi5.
The similarly priced OrangePi5 due to already have a NPU and much more capable GPU would be my preference.
The Rk3588(s) boards and Intel mini PCā€™s make the Rpi5 much less of a clear choice than previous genā€™s.
Its just a pain that HA seems so hard to port to what is a pretty standard distro and keep wondering why all the custom stuff for what is mainly networking?

Just restored a Pi4 backup to Pi5 using RC2 image on 256Gb NVMe drive connected using the Geekworm X1001 Hat. Iā€™m assuming thereā€™s no real issue running 2 instances of HA?

Such an improvement on boot up speed vs VM or Pi4 with NVMe.