Skip to content

Rockbox Tiny5 v0.0.4

Choose a tag to compare

@roman-kiselenko roman-kiselenko released this 29 Nov 06:42
· 4 commits to master since this release
c3f5bc5

Rockbox v0.0.4 — a font you can choose, a charge you can cap

Follows v0.0.3. Two new settings: the face the interface is drawn
with, and how far the battery is allowed to charge. The layout itself is
unchanged.

The UI font is a setting

Settings › General › Display › Font chooses the face for the whole interface.
Two are installed:

  • Tiny5 Mono (9 px, SIL OFL 1.1) — the default, the pixel font the UI has
    always drawn with.
  • Kode Mono Regular (14 px) — taller and more even, for anyone who finds
    Tiny5 cramped.

Choosing one re-pins every screen to it at once, not just the screens that were
written to ask: the lists, the menus, the database browser, Cover Flow, Now
Playing, Home and the status bar all follow. Each face keeps its own set of five
slots, so switching does not rescale anything, and rows stay 16 px either way.

  • Tiny5 Mono is the default on purpose: it is the only face with the transport
    and status glyphs (play, pause, stop, fast forward/back, the lock) and with
    Cyrillic. Kode Mono has neither, so with it selected those marks come from the
    font's fallback glyph and Cyrillic text does not read — Latin is complete.
  • Both faces are installed from fonts/newui/, and their glyphs load from the
    card on demand, so the extra face costs disk space, not RAM. The setting is
    font: tiny5 or font: kodemono in .rockbox/config.cfg; an old value in an
    existing config.cfg still maps cleanly, the list just has two entries now.

Charge limiting

Keeping a Li-ion cell at 100% is the quickest way to age it, so charging can now
stop short of full. Settings › General › System › Battery › Charge limit
offers 80, 85, 90, 95 and 100% (no limit, the default).

  • The limit is enforced by the power chip (the AXP2101 on hw4): when the battery
    reaches the limit the charge current is set to 0 mA, and it is restored once
    the cell has fallen 5% below it. The charge then lives in a band — 75–80% with
    an 80% limit — instead of the charger switching at a single value.
  • While charging is halted the status bar shows no charging +, and the battery
    readout behaves as if the player were running on its own.
  • The limit takes effect at boot and as soon as you leave the setting.
  • hw1–hw3 use a different power chip with no 0 mA charge-current step, so the
    setting is ignored there.

The battery number is steady now

The power chip reports a fuel-gauge percentage directly, and reading it had one
weakness: a failed transfer — a transient I2C NACK, or the chip busy — returned
an uninitialised byte, so the readout and the Battery Usage chart could show a
random number between 0 and 255. The read is now retried three times, and only
when all three fail does it fall back to the filtered voltage-based estimate that
was always there. The number moves only when the charge does.

Two screens changed

  • The lock screen shows the cover instead of the time and date: the playing
    track's art, centred above the title, artist, album and file lines, the
    Rockbox clef when the album has no cover, and the clef square alone when
    nothing is playing.
  • Now Playing gives each readout line a little air, so title, artist, album,
    position and file read as separate lines; the cover above shrinks by the same
    amount and still shows.

Install

  1. Archive: rockbox-v0.0.4.zip (about 2.6 MB) — the firmware, the codecs
    and the two UI faces, Tiny5 Mono (452 KB) and Kode Mono Regular (215 KB).
  2. The player needs the official Rockbox bootloader for the Eros Q native;
    this tree does not build bootloaders.
  3. Unzip to the card root: unzip -o rockbox-v0.0.4.zip -d /path/to/sdcard.
    Over an existing install it leaves config.cfg, bt_config.conf and
    bt_devices.txt alone, so settings and Bluetooth pairings survive. Bluetooth
    audio needs hardware revision 4 (hw4).
  4. Eject the card and reboot. An older install may still carry
    .rockbox/fonts/newui-*.fnt — the Noto CJK faces (27 MB) the UI no longer
    uses; they can be deleted.