Changing RevPi model

Topics about the Hardware of Revolution Pi
Post Reply
AndreC7
Posts: 5
Joined: 29 Feb 2024, 11:57

Changing RevPi model

Post by AndreC7 »

Hello to all,

We have a case where a client created an RevPi image based on RevPi Connect+ and now is using RevPi Connect SE+ and Connect 4.
When he flashes the image on the new RevPi the model stays wrong and things start to fail.
piSerial shows old model, so we need to change the model configuration to the new one.
Is it possible to change RevPi model from any command or configuration file after it has been set?

Thank you
User avatar
nicolaiB
KUNBUS
Posts: 931
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: Changing RevPi model

Post by nicolaiB »

Hi Andre,

you can change the product type of the image as following:

Newer models with hat eeprom (RevPi Connect 4, Core S since revision 1.1):

These devices contain an eeprom which stores all the relevant device data and the changes are automatically detected

1. Edit /boot/config.txt and remove lines starting with dtoverlay=revpi-connect and dtparam=eth0_mac / dtparam=eth1_mac
2. Enable the hat eeprom which detects the correct settings: sudo cp /boot/overlays/revpi-hat-eeprom.dtbo /boot/dt-blob.bin
3. Reboot the device
4. Change device configuration in Pictory

Older models (RevPi Connect SE):
1. Edit /boot/config.txt and remove lines starting with dtoverlay=revpi-connect and dtparam=eth0_mac / dtparam=eth1_mac
2. Remove file /home/pi/.revpi-factory-reset
3. Reboot the device
4. Login and choose the correct model, enter the serial and mac address in the factory reset wizzard
5. Reboot the device
6. Change device configuration in Pictory

Hope this helps!

Nicolai
AndreC7
Posts: 5
Joined: 29 Feb 2024, 11:57

Re: Changing RevPi model

Post by AndreC7 »

Great, thank you for the quick response.
If I do not answer again, means all went fine.

Thank you, Have a good day
Post Reply