Skip to content

Install FLSUN OS on eMMC

This process installs FLSUN OS on the core board's eMMC memory.

What are the advantages over microSD?
The eMMC offers faster read and write speed and is less prone to physical corruption. It is known to be more robust and durable than SD cards as it can withstand more write cycles before failing.

Warning

This is intended only for advanced users who are no longer using the Stock OS.
Any mishandling can render your core board unusable!
Only use this procedure if you know what you are doing. I will not be responsible if something goes wrong.
It's better to make a backup of your rootfs partition before.

If needed, here is a full backup of eMMC with Stock OS 1.0.6.4: STOCK-OS-S1-EMMC-1.0.6.4.7z
This can restore a bricked core board.

Backup eMMC


  • First, it's necessary to boot FLSUN OS from the microSD card.

    See Prepare microSD Card for FLSUN OS section.

  • When FLSUN OS is ready, plug a USB drive of at least 32 GB formatted in exFAT into one of the printer's USB ports.

  • Connect to printer over SSH (see SSH Connection section).

  • In the SSH command prompt window, enter the following commands (one at a time) to backup each partition on USD drive:

    SSH Command Prompt - Backup uboot.img
    sudo dd if=/dev/mmcblk0p1 of=/home/pi/printer_data/gcodes/USB-DISK-1/uboot.img status=progress bs=1M
    
    SSH Command Prompt - Backup misc.img
    sudo dd if=/dev/mmcblk0p2 of=/home/pi/printer_data/gcodes/USB-DISK-1/misc.img status=progress bs=1M
    
    SSH Command Prompt - Backup boot.img
    sudo dd if=/dev/mmcblk0p3 of=/home/pi/printer_data/gcodes/USB-DISK-1/boot.img status=progress bs=1M
    
    SSH Command Prompt - Backup recovery.img
    sudo dd if=/dev/mmcblk0p4 of=/home/pi/printer_data/gcodes/USB-DISK-1/recovery.img status=progress bs=1M
    
    SSH Command Prompt - Backup backup.img
    sudo dd if=/dev/mmcblk0p5 of=/home/pi/printer_data/gcodes/USB-DISK-1/backup.img status=progress bs=1M
    
    SSH Command Prompt - Backup rootfs.img
    sudo dd if=/dev/mmcblk0p6 of=/home/pi/printer_data/gcodes/USB-DISK-1/rootfs.img status=progress bs=1M
    
    SSH Command Prompt - Backup gpt.img
    sudo dd if=/dev/mmcblk0 of=/home/pi/printer_data/gcodes/USB-DISK-1/gpt.img bs=512 count=64
    
    SSH Command Prompt - Backup bootloader.img
    sudo dd if=/dev/mmcblk0 of=/home/pi/printer_data/gcodes/USB-DISK-1/bootloader.img bs=512 count=16320 skip=64
    

  • When it's done, you can remove the USB drive and keep your backup images safe.

  • Also remember to remove the microSD card after turning off the printer.

Prerequisites


Install Driver


  • Unzip DriverAssitant_v5.0.zip file and run DriverInstall.exe installer.

  • Click on Install Driver button:

  • If Windows asks you to confirm the installation, accept.

  • Once finished, you can exit the installer:

Write Image


  • Make sure the printer is turned off.

  • Use the H2.0 Allen wrench in the accessory box to remove the screws from the top cover of the printer.

  • Use the H2.0 Allen wrench in the accessory box to remove the screws above the screen:

  • Use the H3.0 Allen wrench in the accessory box to remove the screws under the screen:

  • Unplug the display power cord and three data cables:

  • Use the H2.0 Allen wrench in the accessory box to remove the eight screws on the back cover of the screen, and disassemble the back cover of the screen:

  • Connect the USB cable to the USB-C 1 port on the core board:

  • Unzip RKDevTool_Release_v2.96.zip file and run RKDevTool.exe installer:

  • Unzip FLSUN OS image (EMMC version).

  • Connect the USB cable to your computer.

  • Locate the buttons on the core board and turn on the printer:

  • Perform this combination to enter in USB Mode:

    Hold BOOT9200 button → Press BOOT2100 button → Release BOOT9200 button

  • RKDevTool should display Found One LOADER Device:

  • Check the Write by Address box and click on the rectangle at the boot line to select the boot.img file previously unzipped:

  • Click on the rectangle at the rootfs line to select the rootfs.img file previously unzipped:

  • Once images are selected, click on the Run button:

    Note

    If you encounter the error Download image failed:
    - Make sure you are using a USB data cable
    - Try to copy image files to the root of your hard disk (C:)
    - Restart printer and reperform combination to enter in USB Mode

  • Wait for the image to be written, this takes several minutes.

  • Once completed, the core board reboots to load the OS:

  • Wait for the OS to fully load, until KlipperScreen is displayed.

  • You can now turn off the printer, screw the screen box back on, reconnect the cables and reattach it to the printer.

    Warning

    To avoid issues with camera detection, do not reconnect the cable from the USB 1 port, it is for the cameras on the hotend which are not used.

    You can also remove them from the effector to save a little weight:

  • Now you have FLSUN OS installed on the eMMC and it is still possible to boot from a microSD card if needed.


If you like my work, don't hesitate to support me by paying me a 🍺 or a ☕. Thank you 🙂