This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Openplotter 3 - I2C - Your Raspberry Pi is too old
#1
Hi,
I enabled i2c and I can see my sensors, but System Check says:

Checking I2C sensors... | I2C enabled | openplotter-i2c-read not running | Access to Signal K server validated

 ↳Your Raspberry Pi is too old.


pi@openplotter:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- 69 -- -- -- -- -- --
70: -- -- -- -- -- -- 76 --
pi@openplotter:~ $


My model according to https://elinux.org/RPi_HardwareHistory
c03112
Q2 2019
4 Model B
1.2
4 GB
(Mfg by Sony)

Is that really too old?? 

I can see in the code (the only reference I could find to "Your Raspberry Pi is too old" with Google), that this message is shown, when the /dev/i2c-0 is in "ls /dev/i2c*"

pi@openplotter:~ $ ls /dev/i2c*
/dev/i2c-0  /dev/i2c-1  /dev/i2c-10  /dev/i2c-20  /dev/i2c-21  /dev/i2c-22
pi@openplotter:~ $

What can I do?
Reply
#2
I got the values from the Sensor into SignalK successfully using this SignalK Plugin:

signalk-raspberry-pi-bme280 - https://www.npmjs.com/package/signalk-ra...-pi-bme280

I don't know why Openplotter thinks my raspberry is too old.
Reply
#3
Hi after setting up my hardware clock on a CM4 I get the same message.
I had to add the following lines in the boot.txt for the watch:
dtparam=i2c_vc=on
dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi
Reply
#4
I just installed Openplotter on a new computer and got the same message in the status bar of the I2C app. As a result I cannot add my sensors.  Sad

Hardware:
  • Raspberry Pi Compute Module 4 Wireless / 8 GB RAM / 32 GB eMMC
  • Waveshare CM4-IO-BASE-B baseboard rev. 4
  • Waveshare 8inch DSI touch display
  • BMP280 sensor 

I2C seems to be working, sensor is shown at address 76

Code:
pi@openplotter:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- 76 --  

Software:
Installed from image 2022-07-18-OpenPlotter-v3-Starting-stable-64bit-img
Available updates installed.
I2C Sensors 3.3.7-stable
GPIO 3.1.0-alpha

/boot/config.txt excerpt:


Code:
dtparam=i2c_arm=on
dtparam=audio=on
camera_auto_detect=1
display_auto_detect=1
dtoverlay=vc4-kms-v3d
max_framebuffers=2
arm_64bit=1
disable_overscan=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]

[pi4]
# Run as fast as firmware / board allows
arm_boost=1
[all]

# Waveshare 8inch DSI display:
ignore_lcd=1
dtparam=i2c_vc=on
dtparam=i2c_arm=on
dtoverlay=WS_xinchDSI_Screen,SCREEN_type=8,I2C_bus=10
dtoverlay=WS_xinchDSI_Touch,I2C_bus=10,invertedx,swappedxy

# enable I2C1 (I2C0 is used by DSI display)
dtparam=i2c1=on
Reply
#5
I will take a look at this soon
Reply
#6
Hi Sailoog, I got same issue, when validating for Buy/Nobuy decision a batch of 20 Pi4 8Gb, are there any news about this 'too old' message ?

The question is : Should I go for a NoBuy  Huh

EDiT PS : The issue only shows from V3 upward Exclamation
 
Does this means all boards manufactured after a certain (secret date) will not be acceptable for V3 and upward  Angry

Is this constraint  due to SignalK ?
Is there a possible work around ?
Cordialement
Didier B
Pi4, SSD USB3, OP 3.0 Touch SK 3.2.1 OpenCPN  5.8.4 :  Thank you  Thank you  Thank you


Reply
#7
do not panic, this is obviously a software issue, next on the list...

you can buy as many RPi4 as you want, if you find them...

it seems that /dev/i2c-0 not only appears in RPi1, it also appears in RPi4 under some conditions.

If I am not wrong, everyone suffering from this error has manipulated config.txt manually, right? I am not able to reproduce it but it has an easy fix.
Reply
#8
Fixed in openplotter-i2c v3.3.10. Test and report please.
Reply
#9
The error message is gone. My BMP280 at address 76 can be configured. Data is shown in Signal K server and dashboards. (I removed the SignalK-BMx280 plugin which I had used before.)

Great job! Thanks Sailoog! Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)