Reflash v0.1.2

From iagent
Revision as of 19:34, 25 April 2023 by Elias (talk | contribs)
Jump to: navigation, search

Reflash header.png

Reflash is a Linux image for downloading and installing Refactor images on Recore. You can also create an image from the contents of the eMMC. This page has step-by-step instructions for using the image. Here is what you should do:

  1. Use Balena Etcher to download and flash the Reflash image. Here is the URL to the image:
    https://github.com/intelligent-agent/Reflash/releases/download/v0.1.1/Reflash-v0.1.1.img.xz
    BalenaEthcer.png
  2. After flashing the image to a USB drive with at least 4 GB of storage, eject the USB drive properly and insert it in a USB port on the Recore board.
  3. Now you need to change boot medium from eMMC to USB on the Recore board. This can be done through SSH by logging in to the board and writing from the command line:
    set-boot-media usb
    And then
    reboot
    Alternatively, if the the previous version of Refactor was with OctoPrint, you can change boot media from the Refactor-tab in the OctoPrint user interface and then rebooting the board. From version v.3.1.0-RC1 there is also a button to set the boot media to USB in Mainsail.
    Set-boot-media-both.png
  4. Once the board has booted from USB, you should be able to access the web interface using the address http://recore.local
    Reflash.png
  5. From the web interface, choose witch version of Refactor you want to download. There are two types of images, either with OctoPrint as the web interface or with Mainsail as the web interface. You should always choose the latest version of Refactor.
  6. Once the image has been downloaded (to the USB drive) you can install/flash the image to the eMMC. This will take 5-10 minutes.
  7. Once the image has been flashed on the eMMC drive, you can reboot the board, and it will boot using the Refactor image that you chose.

You can keep the Reflash USB drive in a safe place, or even keep it mounted in the printer. If you want to upgrade to a later version of Refactor, the same image can be used again.

Note

It is possible to log in to the Reflash image for manual operations. The SSH access is available using username root and password kamikaze