Page 1 of 1

RevPi Core 3 *.img to RevPi Connect+

Posted: 17 Sep 2019, 11:29
by David_GT
Dear colleagues;

There is any functional problem to flash a RevPi Connect+ with the image file from a RevPi Core 3?

I have a project running fine with the Core 3 and I would like to test it with the Connect+ due the expanded functions (RS485 port and the ETH port B).

Thanks in advance!

Re: RevPi Core 3 *.img to RevPi Connect+

Posted: 17 Sep 2019, 18:59
by David_GT
Test done;

It seems that all is working fine (my node-red program runs fine).
I can expand the memory from the 4GB of the img that I had from a Core3 to the 16GB of the Connect+ with the raspi-config function.

But I have some problems with piTest -d and Pictory. My initial configuration was a Core 3 + Virtual Modbus TCP master. I change the Core 3 for the unique version of Connect that appears in Pictory (Connect v1.0) and save all. PiTest -d don't detect the Connect, and appears 2 RevPi base modules (the Core3 and the Connect). Tomorrow I can upload some pictures.

In addition, now I can't revert the configuration, an error appears if I try to change the Connect v1.0 for a Core/Core3 CPU...

There is any way to update Pictory? The correct CPU for a Connect+ 16GB in Pictory is the normal Connect?

Re: RevPi Core 3 *.img to RevPi Connect+

Posted: 18 Sep 2019, 08:31
by David_GT
Attached 2 screenshots, one from PiCtory, and the other one of the piTest -d.

Re: RevPi Core 3 *.img to RevPi Connect+

Posted: 19 Sep 2019, 11:12
by dirk
Hi David_GT, short answer: Yes, you can switch from i.e. Core 3 to Connect. The easiest way is to delete the file "/home/pi/.revpi-factory-reset" before you write the image.
Then you are promptet on first login to provide Serial, MAC and which device. After a reboot you are ready to run. This is what we do here we scan the QR codes to do this automatically during the end of line tests ;)
You have to also look for your PiCtory configuration and Re-Setup this manually.

Re: RevPi Core 3 *.img to RevPi Connect+

Posted: 25 Sep 2019, 09:52
by David_GT
dirk wrote: 19 Sep 2019, 11:12 Hi David_GT, short answer: Yes, you can switch from i.e. Core 3 to Connect. The easiest way is to delete the file "/home/pi/.revpi-factory-reset" before you write the image.
Then you are promptet on first login to provide Serial, MAC and which device. After a reboot you are ready to run. This is what we do here we scan the QR codes to do this automatically during the end of line tests ;)
You have to also look for your PiCtory configuration and Re-Setup this manually.
Perfect Dirk! Lots of thanks :)

Re: RevPi Core 3 *.img to RevPi Connect+

Posted: 09 Jun 2020, 16:38
by RMeissnerCC
Hy Dirk, Hy David_GT,
we have also switched from RevPi Core 3+ to a RevPi Connect+. I tried to flash the image from the old to the new controller. For some reason, that did not work directly. I looked around and fount out that the Connect stops with the message "failed to start remount root and kernel file system". I thought maybe the fstab was faulty so I changed it according to what it was before, still not working. Due to this error, the Connect is booting into emergency mode.

Do you know what caused this? Since setting up a RevPi is rather time consuming right now it would be nice if we could just flash the images directly.
Best, Robert

Re: RevPi Core 3 *.img to RevPi Connect+

Posted: 10 Jun 2020, 10:25
by lukas
RMeissnerCC wrote: 09 Jun 2020, 16:38 we have also switched from RevPi Core 3+ to a RevPi Connect+. I tried to flash the image from the old to the new controller. For some reason, that did not work directly. I looked around and fount out that the Connect stops with the message "failed to start remount root and kernel file system". I thought maybe the fstab was faulty so I changed it according to what it was before, still not working. Due to this error, the Connect is booting into emergency mode.
The root and boot partitions are referenced by the disk identifier in /etc/fstab. That's a 32-bit hex number. The identifier must match the disk identifier in the first sector of the eMMC.

Double-check that the disk identifier in /etc/fstab and in the first sector are identical. Often that's the reason why systemd fails to mount partitions on boot. E.g. you can run "sfdisk --dump /dev/sdb" if the RevPi is attached to a Linux PC via the Micro USB port and rpiboot has assigned /dev/sdb to it. Then compare that to the value in /etc/fstab.

Re: RevPi Core 3 *.img to RevPi Connect+

Posted: 10 Jun 2020, 11:01
by RMeissnerCC
Dear Lukas,
thank you for the suggestion, that is basically what I did - and it did not work. Also, the UUID of the partition in the original fstab is different from what fdisk showed me. I actually copied the fstab from the original image of the RevPi connect into the old image of the RevPi Core, same problem.
Best, Robert

Re: RevPi Core 3 *.img to RevPi Connect+

Posted: 26 Jun 2020, 10:41
by dirk
Hello Robert, how is it going?