Document toolboxDocument toolbox

RevPi Cloning Tutorial

You want to distribute an existing system to other devices, i.e. clone it. What you have to consider is explained here.

The license of the RevPi Connect+ feat. CODESYS is bound to a device, thus cannot be cloned.

Instruction

  1. Create a golden image, i.e. a copy of the system image to be distributed or cloned.

    1. Think about which settings you want to change beforehand, i.e. passwords, network configuration, time-server, SSH access, etc.

    2. https://revolution.kunbus.com/tutorials/images/install-jessie/?noredirect=en_US

  2. Copy this image to another device.

    1. see link above

  3. Boot and login to the device.

  4. Reset the hardware configuration by removing the respective entries in /boot/config.txt

    1. Open the file /boot/config.txt in an editor with root permissions:

      sudo nano /boot/config.txt
    2. Navigate to the block labeled [all] and remove the lines starting with dtoverlay=revpi- and dtparam=eth

    3. Save the file and reboot the RevPi

  5. Run the command:

    pi@RevPi12345:~ $ sudo revpi-factory-reset Usage: revpi-factory-reset <compact|connect|core> <serial> <mac addr> (see front plate)This will set MAC address, hostname and credentials as on the sticker of the device

    This will also maximize the partition according to the eMMC flash, i.e. 8,16 or 32 GB

  6. Reboot the device

    sudo reboot
  7. Login using the credentials from the sticker

The default key map changed since Buster to English, i.e. QWERTY

Dos and Don’ts

https://gitlab.com/revolutionpi/revpi-hat-eeprom

 

More information