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

RPi 5 support #1818

Closed
1 of 2 tasks
mstormi opened this issue Sep 28, 2023 · 12 comments
Closed
1 of 2 tasks

RPi 5 support #1818

mstormi opened this issue Sep 28, 2023 · 12 comments

Comments

@mstormi
Copy link
Contributor

mstormi commented Sep 28, 2023

RPi5 is rumored to become released Oct, 23rd.
4/8 GB, 1/2 GB models to follow.

Raspi OS will be bookworm (Debian 12)
PCI-E interface (HAT to be separately released to host M.2 SSD)
New: real time clock, power button

  • support model detection etc in helpers.bash
  • support M.2 boot ?

Depends: #1788

@Egyras
Copy link

Egyras commented Nov 10, 2023

I have RPi5 8GB model, can help with testing if required ;)

@mstormi
Copy link
Contributor Author

mstormi commented Nov 13, 2023

I have RPi5 8GB model, can help with testing if required ;)

@Egyras You could figure out a is_pifive_8gb() function that return 0 on 8gb Pi5 only but 1 on Pi5 with less RAM.
See /opt/openhabian/functions/helpers.bash there's is_pifour() is_pifour_8gb() and is_pifive() as templates

@Egyras
Copy link

Egyras commented Nov 14, 2023

RPi5 8GB

@mstormi how to call(execute) these functions in right way for checks ? From where you pass variable "$hw" ?

@barns-do
Copy link

@mstormi may this help you (pi5_8GB):

openhab:~ $ grep "^Revision" /proc/cpuinfo
Revision : d04170

openhab:~ $ grep "^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]17[0-9a-fA-F]$" /proc/cpuinfo;echo $?
Revision : d04170
0

openhab:~ $ totalMemory="$(awk '/MemTotal/ {print $2}' /proc/meminfo)";echo $totalMemory
8246848

@Egyras
Copy link

Egyras commented Nov 16, 2023

@barns-do did you tried to install pre-release openHABian v1.9, for me seems wifi (settings for this exists) dont want to work as getting error with comitup. Didnt tested LAN yet as kids sleeping where monitor and can plug cable.
Failed to start comitup.service - Comitup Wifi Managament.

@Egyras
Copy link

Egyras commented Nov 17, 2023

@mstormi here is first-boot.log for RPi5 8GB connected via LAN with openHABian v1.9
first-boot.log

@Egyras
Copy link

Egyras commented Nov 17, 2023

seem for WIFI in Raspberry Pi OS 12 'Bookworm' they dont use anymore wpa_supplicant.conf, instead this is used nmcli So this explain issues with WIFI on first boot.

@mstormi
Copy link
Contributor Author

mstormi commented Nov 17, 2023

Try the comitup hotspot, please.

@Egyras
Copy link

Egyras commented Nov 17, 2023

Try the comitup hotspot, please.

doesnt work, tried to connect but phone deosnt show it....

@barns-do
Copy link

@Egyras: I just installed V1.9 LAN-based. At first glance there are no problems with it. No WLAN-Testing ...

@Egyras
Copy link

Egyras commented Nov 17, 2023

made a new image via Raspberry Pi Imager and defined WIFI settings there, all went without any problems.

@mstormi
Copy link
Contributor Author

mstormi commented Nov 19, 2023

Imager will get you an old image.

So seems RPi5 is supported but WiFi does not work yet. Continue in #1823

@mstormi mstormi closed this as completed Nov 19, 2023
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

3 participants