Skip to content

0.104

Choose a tag to compare

@berettavexee berettavexee released this 11 Nov 18:46
· 17 commits to main since this release

Unofficial firmware for the SNOWSKY ECHO MINI (8 GB model); install at your own risk. Read MANUAL.md first ("Installing": keep a stock image at the root of the internal memory, and know the recovery mode).

Changes in 0.104: a faster screen, room for what comes next

No new feature in this version: the interface is faster, and the firmware has room again for the next features.

  • The screen is drawn by DMA. Text is drawn into small strips in RAM, and the DMA controller sends each strip to the panel while the CPU draws the next one. Each line of text is laid out once, and only the pixels of its letters are written.
    • Text is drawn twice as fast.
    • Play screen: a full redraw takes 8 ms instead of 13.4 ms, and a partial update (the time and the bar) 2.7 ms instead of 3.9 ms.
    • Browser: a full redraw takes 10 ms instead of 14 ms; scrolling is smoother.
    • If the DMA does not start, the CPU draws the screen as before.
  • More room in the RAM:
    • The font's tables and the log's message formats are now read from the internal memory and no longer kept in RAM.
    • The USB code (USB disk and sound card) is loaded from the internal memory only for a USB session, about 4 ms after you choose it.
    • Room for new code: 42 KiB instead of 29 KiB.
    • If this part of the installed image is damaged, the player says "This part of the firmware is damaged: install it again" and goes back to the menu. Installing the image again fixes it.
  • After a USB sound card session, the folder list is read again, as after a USB disk session.
  • System messages too long for the screen end with "…".
  • Code quality, nothing visible:
    • one shared lookup for the parts of the image;
    • the tag frames recognised from tables;
    • dead code removed;
    • lines of at most 100 characters, checked at each build.

Details (in French): ETUDE.md §131 to §139.

The image

NEWFW104.IMG: copy it to the root of the internal memory, then Main menu → Install a firmware (.IMG).

  • CRC 0x388b996d (last 4 bytes), SHA-256 82ec4e1d5941d9b67f06f693ccdf2723c0e77d7e25af20cb812d698d983b6d7b.
  • Built by the CI (check workflow, commit 9e6541a), byte-identical to a local build.
  • The code is the one of test version 0.103q1, tested on the device (25 minutes of playback across the five codecs, then a 43-minute USB disk session in read/write with no error), after the test versions 0.103m1 to 0.103o2. Only the version number changed.