Page 1 of 1

Changing RevPi model

Posted: 29 Feb 2024, 12:01
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

Re: Changing RevPi model

Posted: 29 Feb 2024, 12:35
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

Re: Changing RevPi model

Posted: 29 Feb 2024, 13:19
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