Skip to content

m-bootloader v2.3

Choose a tag to compare

@github-actions github-actions released this 08 Nov 17:24
· 85 commits to main since this release
6bc8f45

When the firmware can't start, the menu now opens in MIDI mode by itself, so a computer can reinstall the unit with nobody at it. The SMK-37 gets the menu's SD card item, and the M-UPGRADE packages carry the installer compressed, which leaves the bootloader room to grow.

  • New: MIDI mode by itself. If the firmware is missing, damaged or returns to the bootloader, the menu opens in MIDI mode and says why, such as APP BAD CRC. A browser installer or M-Flasher can then reinstall over USB MIDI. OCT−, OCT+, PLAY or REC (<, >, SEQ PLAY or SEQ REC on the SMK-37) open the whole menu instead, and an install that stops before writing leaves MIDI mode open for another try. Holding PLAY (SEQ PLAY) at power-on still opens the menu itself.
  • New: the SD card item on the SMK-37, for a unit with a hand-wired card mod and a FAT32 card. It runs /MBOOT/MENU.BIN from the card, as on the FM-1.
  • Smaller M-UPGRADE packages. The installer inside *-uboot.fwsc now unpacks itself when it starts. Firmware only keeps 20,224 bytes for it, and the SMK-37 package now has 974 bytes to spare where it had 83. It installs the same way, from M-VAVE's stock bootloader or from m-bootloader.
  • For RAM apps: display_pixels(), for drawing more than text. The bootloader doesn't use it, and it adds nothing to the bootloader's size.

Before you install

  • Use M-Flasher 0.9.1 or newer, as for 2.2. M-UPGRADE has no such limit.
  • Some browser installers don't accept MIDI mode yet. It answers as ota-FM-1_900 or ota-SMK-37 Pro_900, as firmware update loaders do. Optimist's web installer refuses that and points to M-UPGRADE, but Optimist's command-line installer works.
  • Official M-VAVE updates and Baud Girl's installer put the stock bootloader back, with its full configuration. Reinstall m-bootloader afterwards.
  • Little tested on the FM-1's newer flash chip, the UCUN UC25HQ80 (0xB36014). This version hasn't been run on one.
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
fm1-stage.fwsc, smk37-pro-stage.fwsc, smk37-elite-stage.fwsc The helper, through M-VAVE's firmware or Baud Girl
fm1-stage-listed.fwsc, smk37-pro-stage-listed.fwsc, smk37-elite-stage-listed.fwsc The helper, through Felucca-family firmware
fm1-stage-ram.bin, smk37-stage-ram.bin The helper, with M-Flasher's run-ram at 0x01C28000
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.3-6bc8f45.

Tested on this exact build, on an SMK-37 Pro. CI's build of it is byte-identical to the one tested.

  • From M-VAVE's stock bootloader and stock 016: smk37-pro-uboot.fwsc through the firmware's update route, from M-Flasher's web page.
  • 016 starting under it.
  • With the firmware damaged: MIDI mode opening by itself, showing APP BAD CRC, and the web page reinstalling 016 from it with nobody at the keys.
  • Installing with M-Flasher.
  • The unit's flash restored afterwards, and read back identical to its backup.

On the FM-1, by hdavid, on build 0c24142, whose bootloader code is the same as this one's, apart from the version:

  • The package through stock V15's update route, from the stock bootloader and from m-bootloader.
  • MIDI mode by itself on a damaged firmware.
  • Installs from it: stopped while checking, stopped while writing, then done again with no key.
  • Each of the four keys, keys held from power-on, and PLAY at power-on opening the menu with nothing on USB.
  • With the card mod: SD CARD running MENU.BIN and coming back to the menu, then MIDI MODE and an install with the card in.

On earlier builds, on the SMK-37 Pro:

  • M-VAVE's own M-UPGRADE app on macOS installing the self-extracting package, from the stock bootloader (f2da00f).
  • MIDI mode's key handling, stopped installs and retries (df674cc).
  • The SD card item, with m-apps' launcher.

Not tested:

  • The FM-1's LEDs in MIDI mode.
  • Firmware that returns to the bootloader with USB running.
  • M-VAVE's M-UPGRADE app on the FM-1 with this build; the FM-1 installs used Optimist's command-line installer over the same route.
  • A real SMK-37 Elite, the MiniFM, and the UC25HQ80.