Difference between revisions of "Reflash"

From iagent
Jump to: navigation, search
Line 5: Line 5:
 
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.  
 
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:
 
This page has step-by-step instructions for using the image. Here is what you should do:
# Use [https://www.balena.io/etcher/ Balena Etcher] to download and flash the Reflash image. Here is the URL to the image: <pre>https://github.com/intelligent-agent/Reflash/releases/download/v0.0.8/Reflash-v0.0.8.img.xz</pre><div class="res-img">[[File:BalenaEthcer.png|center]]</div>
+
# Use [https://www.balena.io/etcher/ Balena Etcher] to download and flash the Reflash image. Here is the URL to the image: <pre>https://github.com/intelligent-agent/Reflash/releases/download/v0.0.9/Reflash-v0.0.9.img.xz</pre><div class="res-img">[[File:BalenaEthcer.png|center]]</div>
 
# After flashing the image to a USB drive with at least 4 GB of storage, eject the USB drive <b>properly</b> and insert it in a USB port on the Recore board.  
 
# After flashing the image to a USB drive with at least 4 GB of storage, eject the USB drive <b>properly</b> and insert it in a USB port on the Recore board.  
 
# 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:<pre>set-boot-media usb</pre> And then<pre>reboot</pre> 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. <div class="res-img">[[File:Set-boot-media-both.png]]</div>
 
# 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:<pre>set-boot-media usb</pre> And then<pre>reboot</pre> 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. <div class="res-img">[[File:Set-boot-media-both.png]]</div>

Revision as of 23:12, 30 March 2023

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.0.9/Reflash-v0.0.9.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