Skip to content

m-bootloader 2.1

Choose a tag to compare

@github-actions github-actions released this 05 Nov 23:41
· 152 commits to main since this release

The bootloader can now reinstall firmware by itself over USB MIDI, so a unit with broken firmware can be recovered from a phone, with no computer and no mod. Installing 1.2 or 1.3 over this version no longer ends in BAD CONFIG. This release also makes room by packing most of the bootloader, and can load a second stage from an SD card.

  • New: MIDI mode. Hold PLAY (FM-1) or SEQ PLAY (SMK-37) at power-on and choose MIDI MODE, then use a browser installer. Tested with SLOOP's, Felucca's, Melodee's and ChoralRoot's installers, from Linux, macOS, Android and iOS (the MIDIWeb app). The unit reads the package twice, to check it and then to write it, so the browser's bar fills about twice as fast as the unit's. Wait for the unit, and keep the tab in front. Baud Girl's installer refuses it.
  • New: SD card second stage, for units with a soldered card slot. It loads /MBOOT/MENU.BIN. It has been run on one prototype, without a real slot switch.
  • Hold-REC is more robust. The path to download mode is now a small uncompressed stage that doesn't depend on the firmware, the screen or the rest of the bootloader. The rest is packed with Upkr and checked before it runs. Any problem with it goes to download mode.
  • Smaller boot configuration, and no BAD CONFIG from 1.2 or 1.3. This version doesn't read the boot configuration, so installing it cuts it to 96 bytes and uses the room freed: the chip-key record firmware installers need, and the settings older versions require. So 1.2 and 1.3 start if they're installed over it, including through Melodee's and fm1-base's 1.2 option.

Before you install

  • 1.2 still rejects official FM-1 016's own configuration, which says 320 MHz. A unit that only ever had that shows BAD CONFIG with 1.2, until this version is installed. Boot app still starts the firmware.
  • Use M-Flasher 0.9.1 or newer. To install this version, and to put the stock bootloader back on a unit that has it: 0.8.2 and older keep this configuration when putting stock back, which hasn't been tested.
  • Official M-VAVE updates and Baud Girl's installer put the stock bootloader back, with its full configuration. Reinstall m-bootloader afterwards.
  • FAILED -5: Melodee's Return to official V15, and M-UPGRADE on an SMK-37 running Felucca-family firmware, refuse because the boot area differs from the package's. Nothing is written. Use M-Flasher instead.

Little tested on the FM-1's newer flash chip. FM-1s sold from late 2026 have a UCUN UC25HQ80 flash (0xB36014). One such unit did not start after 1.1 or 1.2 was installed, and the cause is not known. Another runs 1.3 and 2.0 on one owner's report, with firmware, menu and download mode working, and a MIDI mode reinstall of the same firmware on 2.0, which rewrites only its first 4 KiB sector. This version has the same bootloader code as 2.0, with a longer configuration, and hasn't been tried on it (M-Flasher #13). Install it on that chip at your own risk.

File For
fm1-uboot.fwsc FM-1, with M-UPGRADE
smk37-pro-uboot.fwsc SMK-37 Pro, with M-UPGRADE
smk37-elite-uboot.fwsc SMK-37 Elite, with M-UPGRADE
fm1-uboot.boot FM-1, with M-Flasher
smk37-uboot.boot SMK-37 Pro / Elite, with M-Flasher
mflr-loader-a.bin, mflr-loader-b.bin M-Flasher's flash loader, unchanged from 1.3
SHA256SUMS checksums

Back up your unit with M-Flasher first. The menu and M-Flasher show the version as 2.1-861e43d. M-UPGRADE waits for an updater that never comes and times out with an error at the end: the installation is done by then.

Tested on this exact build, on an FM-1 (0x856014) and an SMK-37 Pro: installing with M-Flasher, and with M-UPGRADE from the stock bootloader, 1.2 and 1.3 installed over it, an official 016 update, Baud Girl, a browser installer from running firmware, and MIDI mode. On the FM-1 also Melodee's installer with its 1.2 option, moving from 2.0, and M-Flasher on macOS and Windows.

The same bootloader code, as 2.0-c43a32f: MIDI mode from macOS, Android and iOS on the FM-1.

Not tested: the SMK-37 Elite (its M-UPGRADE package is built the same way and has run on an SMK-37), the MiniFM, power lost during a boot-area write, firmware keeping data in RAM across restarts, a real SD card slot switch, MIDI mode from Windows, the SMK-37 from a phone, and the stock bootloader on this configuration. On an Elite, an install from MIDI mode leaves it reporting itself as a Pro.