Repository navigation
Pinna runs on the Echo Dot (5th gen), and the installer in your browser installs it. System has a Timeline page that shows what the satellite does. Satellites in Home Assistant mode take messages and control from their satellite group.
Before you update
- The Echo Dot (2nd gen) and the Echo (2nd gen) get a rebuilt kernel and a root image that is compressed differently. If the new version doesn't start, the satellite goes back to the previous one by itself. To go back by hand, see Go back to an older version.
- A satellite in Home Assistant mode now takes messages and control from its satellite group. Before, it took none. If you don't want that, turn off Group messages and Control from the group under Assistant › Satellite group on its dashboard.
- The image no longer has
vim,evtest, theopensslcommand, Perl, or BlueZ'sbtmon,gatttool,sdptool,obexctlandmpris-proxy. Nothing on the dashboard uses them; this matters only if you work on the satellite over SSH.
Highlights
The Echo Dot (5th gen)
Pinna runs on the Echo Dot (5th gen), model C2N6L4. It doesn't run on the Echo Dot with clock (5th gen) or the Echo Pop. The ring, the buttons, the microphone switch and the speaker work. The satellite hears through all three microphones with its own sound removed, and the wake word and requests through Home Assistant work. Updates install over the air, as on the other Echos.
First unlock the device with firebreak, which needs wires soldered to the USB test pads under its foot. Then start TWRP with Volume Up, connect the test pads' USB, and open the installer in your browser. It checks the device, writes boot_a and system_a, starts slot A on trial, and restarts. TWRP stays in slot B until the first update. The installer downloads this release, and checks the tool it runs in TWRP, pinna-bootctl, against the release's signature. install-echo-dot-5.sh on your computer does the same over adb. See Install on the Echo Dot (5th gen), and Devices for what works.
A timeline of what the satellite does
System › Timeline turns debugging on for 15 minutes, 1 hour or 8 hours. It draws the satellite's phases, wake words and near misses, each stage of a request, and every request it sends to a service, on one time axis, and lists the requests in a table. With a dashboard password it also draws the audio levels: the microphones before and after the gain, each wake word's score, and the speaker. The text of the requests needs a press of Action on the satellite as well. The satellite keeps the last 10 minutes; Download saves them as a file for an issue.
Nothing is recorded until you start it, and Stop clears what it kept. While it runs, Overview says so. See Follow a request on the timeline.
Satellites in Home Assistant mode join in the group
A satellite in Home Assistant mode now takes messages from the other members of its satellite group, and runs what they ask of it: the volume, the reply volume, the ring, music and radio. It refuses timers, because Home Assistant sets its timers. It speaks messages with its own text-to-speech service under Assistant › Services, which has to pass its check. It sends no messages itself: you still ask a satellite in standalone mode. See Satellite groups.
The satellites of a group also find each other more reliably. The search asks three times, and keeps a satellite listed while its dashboard still answers.
Open an issue, Help and a theme switch
On System › Logs, Open an issue takes the place of Copy for an issue. It opens GitHub's issue form in a new tab with the Satellite field filled in, and copies the log for you to paste into its Log field. Issues are public, so read the log before you post it.
System has a Help group: Report a problem, Ask a question, Share feedback and Read the docs. The sidebar has a Feedback link. A new discussion carries one line with the version, the device and the mode, and nothing that names you or your network.
A button next to the logo at the top of the sidebar switches the dashboard between the System, Light and Dark themes. On a phone, the switch is under System › This browser › Theme. The choice is kept in your browser, not on the satellite.
New in Home Assistant
- Debugging (binary sensor): on while debugging runs on the satellite. You can only read it; debugging starts and stops on the dashboard.
Other changes
- The device box in the sidebar opens into the list of satellites. Each satellite shows its drawing and its name only.
- System › Logs keeps the width of the other pages. A line names its level only when it is a warning or an error, and those lines stand out. Copy and Download are icon buttons.
- The root image is smaller, so an update downloads less.
Fixed
- The Echo (2nd gen) plays its woofer's range from 40 Hz. The speaker took away everything under 150 Hz, which suits only the Echo Dot's small driver.
- The Echo Dot (2nd gen) and the Echo (2nd gen) keep receiving broadcasts on Wi-Fi after the access point changes its group key. Before, an access point that rekeys often, such as a FRITZ!Box, could cut off DHCP, ARP and mDNS until the satellite rejoined.
- The wake word is caught more easily while the satellite plays music or speaks.
- Satellites of one group list each other reliably. Before, a satellite could miss another one for minutes.
- Copy on the Logs page says when the browser didn't copy, and points to Download, instead of reporting a copy that didn't happen.
- On a phone, the Logs page keeps the newest line in view.
- A restart no longer waits 90 seconds for the login on the USB serial console to end.
- The log no longer fills with "bluetooth: running with the Wi-Fi up" every 31 seconds while Bluetooth runs.
- Starting Bluetooth no longer logs a systemctl failure under AirPlay's name on every boot.
- A restart no longer logs that the AirPlay receiver or the Bluetooth bridge stopped.
All changes
Changes since 0.6.0.
New
- Switch between the system, light and dark theme (dashboard)
- The Logs page keeps the pages' width and marks only warnings and errors (dashboard)
- Open an issue fills in the issue form and copies the log (dashboard)
- Help on the System page, and Feedback in the sidebar (dashboard)
- Npm run dev:mock serves the dashboard without a satellite (dashboard)
- Build a U-Boot FIT boot image for the Echo Dot (5th gen) (pinna-bootimg)
- Find the partitions the way the board stores them (pinna-init)
- Port the MT8519 clocks to 6.12 (patch 0201) (kernel)
- Port the MT8519 pin controller to 6.12 (patch 0202) (kernel)
- Port the MT8519 power domains to 6.12 (patch 0203) (kernel)
- Add the cannoli device tree and the MT8519 SoC platform (0204-0205) (kernel)
- Build the Echo Dot (5th gen) kernel (build.sh mt8519) (kernel)
- Port the MT8519 SPI-NAND driver to 6.12 (patch 0206) (kernel)
- The MT8519 PMIC, CPLD buttons, microphone switch and Wi-Fi (0207) (kernel)
- Enable thermal, the light sensor and the ring LED for the Dot 5 (kernel)
- The Echo Dot (5th gen) ring LED controllers (patch 0208) (kernel)
- The MT8519 SoC temperature sensor (patch 0209) (kernel)
- Port the MT8519 audio front end to 6.12 (patch 0210) (kernel)
- The MT8519 sound card, the cannoli machine driver (patch 0211) (kernel)
- Make the MT8519 amp diagnostics and audio copy faithful (kernel)
- Build the Echo Dot (5th gen) retail device tree (kernel)
- The Echo Dot (5th gen) reads its light sensor (kernel)
- Add the MT8519 SDIO controller (kernel)
- The MT8519 NAND gets its partitions from its GPT (kernel)
- Boot the Echo Dot (5th gen)'s root from its UBI slot (pinna-init)
- Name the FIT configurations U-Boot boots (pinna-bootimg)
- The root carries the Echo Dot (5th gen)'s MT7663 firmware (image)
- The Echo Dot (5th gen) is a board (pinna-board)
- The USB console names the Echo Dot (5th gen) (image)
- The Echo Dot (5th gen) is named in reports and the satellite list (dashboard)
- The Echo Dot (5th gen)'s ring lights through the LED class (pinna-hal)
- Boot stages show on the Echo Dot (5th gen)'s ring (pinna-bootctl)
- The beamformer designs its beams from the microphones' positions (pinna-audio)
- Pinna_beam takes the Echo Dot (5th gen) array and unlinked inputs (pinna-ladspa)
- The Echo Dot (5th gen) gets its own PipeWire microphone graph (image)
- The debug recording of the microphone lanes follows the board (pinnad)
- The MT8519 mixer sequences (pinna-audio)
- The speaker plays at the board's rate (pinna-audio)
- The capture front end decodes the board's format (pinna-audio)
- The audio follows the board (pinnad)
- The Echo Dot (5th gen) plays on Fire OS's volume curve (pinna-board)
- The Echo Dot (5th gen)'s misc is a UBI volume (pinna-bootctl)
- A board names its bootloader and its slot sizes (pinna-board)
- The root image drops perl, gconv modules and docs a satellite never reads (image)
- A FIT carries its boot level and names its device trees (pinna-bootimg)
- The manifest lists a boot image per boot format and refuses images that do not fit (pinna-image)
- A release builds and lists the Echo Dot (5th gen) FIT (image)
- The release workflow builds the MT8519 kernel and names its models (image)
- Updates write the board's UBI volumes and its FIT boot image (pinna-update)
- Count boot attempts where the bootloader doesn't (pinna-init)
- A board whose Wi-Fi chip joins WPA3 can join WPA3 networks (pinnad)
- Write-volume replaces a UBI volume from stdin and checks the readback (pinna-bootctl)
- Install-echo-dot-5.sh installs Pinna from TWRP over adb (scripts)
- A release for the Echo Dot (5th gen) ships the installer and its static pinna-bootctl (image)
- Releases serve the Echo Dot (5th gen) updates over the air (image)
- Fit::configurations lists a FIT's configuration names (pinna-bootimg)
- A traced send reports each request's timing, size and outcome (pinna-http)
- Read-only binary sensors, and a Debugging sensor (pinna-esphome)
- Debugging keeps a 10-minute timeline of requests, for a time the dashboard sets (pinnad)
- Debugging records the phases, wake words, runs and their stages (pinnad)
- Debugging records the satellite group's calls (pinnad)
- System > Timeline shows requests and the audio pipeline on one time axis (dashboard)
- Read each word's latest score (pinna-wakeword)
- The speaker can report its output level (pinna-audio)
- Debugging records the audio levels in 100 ms buckets (pinnad)
- The signed manifest names pinna-bootctl for the browser installer (image)
- The device box opens into the satellite list, which names each satellite only (dashboard)
- A group member in Home Assistant mode takes messages and control, except timers (pinnad)
- The group page says what a member in Home Assistant mode takes (dashboard)
- The root image leaves out tools and modules nothing on the satellite uses (image)
Fixed
- Copy says when the browser didn't copy, and the log keeps its newest line in view (dashboard)
- The MT8519 audio build — drop the unselectable SND_SOC_MEDIATEK (kernel)
- The Cannoli FIT kernel loads at 0x40008000 (pinna-bootimg)
- Use the ADSP SRAM register on MT8519 (kernel)
- Support the MT8519 I2C controller (kernel)
- Resolve MT8519 thermal interrupts through the platform (kernel)
- Preserve MT8519 I2C pull settings on Linux 6.12 (kernel)
- The Cannoli sound card finds its codec DAIs on 6.12 (kernel)
- The MT7663 registers with minstrel rate control (kernel)
- The MT8519 command line attaches UBI and its slots (kernel)
- The Cannoli microphone switch reports its state and button (kernel)
- The root fits the Echo Dot (5th gen)'s system volume (image)
- The Echo Dot (5th gen) has a watchdog (kernel)
- Mount MT8519 userdata at /var (image)
- The Echo Dot (5th gen)'s speaker starts without a 3-second wait (pinna-audio)
- The Echo Dot (5th gen)'s microphones open at boot (image)
- The Echo Dot (5th gen)'s converter puts its microphones on the TDM bus (image)
- The Echo Dot (5th gen)'s UBI attaches writable (kernel)
- The Echo Dot (5th gen)'s CPLD hands interrupts to its children (kernel)
- The MT8519 I2C wrapper is clocked before its gates are read (kernel)
- The Echo Dot (5th gen)'s USB gadget sees VBUS (kernel)
- The Echo Dot (5th gen)'s SDIO runs at 50 MHz (kernel)
- The Echo Dot (5th gen)'s MT7663 Wi-Fi accepts its efuse (kernel)
- The MT7663's Bluetooth starts after its Wi-Fi (kernel)
- Pinnad finds the Echo Dot (5th gen)'s sound card (kernel)
- MT8519 pins accept their default bias (kernel)
- The Echo Dot (5th gen)'s converter gets a link of its own (kernel)
- The Echo Dot (5th gen)'s converter is out of shutdown (kernel)
- The Echo Dot (5th gen)'s converter clocks its TDM bus (kernel)
- The MT8519 AFE reaches its buffers over the DSP bus (kernel)
- The MT8519's audio MCLKs run at 24.576 MHz (kernel)
- The MT8519's eTDM ports run at their own format (kernel)
- The fastboot guard stays off on a UBI board (image)
- Amazon's U-Boot unpacks Pinna's FIT intact (pinna-bootimg)
- Each Echo Dot (5th gen) joins Wi-Fi with its own MAC address (image)
- The Echo Dot (5th gen)'s microphone graph is one stream, dot_wake (image)
- Pinna_wake points the ring with the board's own array (pinna-ladspa)
- A FIT is checked for its boot level and its device (pinna-update)
- An unknown model gets the flat ring, and the Echo Dot (5th gen) no USB text (dashboard)
- No USB routes for a model without USB (dashboard)
- The setup hotspot starts on mac80211 Wi-Fi chips (image)
- The Wi-Fi boot stage applies on every known board (pinna-bootctl)
- An unknown board on another known chip starts without audio and ring drivers (pinnad)
- The filesystem metrics include ubifs (pinnad)
- The rescue text names fastboot and USB only on boards that have them (pinna-init)
- The raw microphone fallback follows the board's lanes (pinna-audio)
- An unknown speaker profile name is refused instead of becoming Radar (pinna-board)
- The Echo Dot (5th gen)'s rescue page keeps its USB shell (pinna-init)
- USB for the three supported models only, and unknown models are named (dashboard)
- The Wi-Fi regulatory database loads once the root is mounted (image)
- Install-echo-dot-5.sh checks the tool it runs as root and stops on a failed write (scripts)
- A FIT must name the board's family, not only its SoC (pinna-update)
- Releases keep the Echo Dot (5th gen) out of the update manifest until its updates are verified (image)
- The Echo Dot (5th gen)'s U-Boot counts the slot tries, so pinna-init no longer counts them too (pinna-init)
- A restart no longer waits 90 s for the USB serial console's login (image)
- A UBI write waits for a volume another process has open (pinna-bootctl)
- The regulatory database stays off the MT8163 and MT8516 Echos for now (image)
- The MT7663 doesn't claim WPA3 until a WPA3 join is measured (pinna-board)
- Install-echo-dot-5.sh checks slot B before it overwrites slot A (scripts)
- The Echo Dot (5th gen) rescue page no longer says it has no fastboot (pinna-init)
- An Echo Dot (5th gen) FIT without every configuration its U-Boot boots is refused (pinna-update)
- A release refuses an Echo Dot (5th gen) FIT without every configuration its U-Boot boots (pinna-image)
- The Echo Dot (5th gen) FIT carries every configuration name its U-Boot boots (image)
- The setup hotspot takes ap0 off the Echo Dot (5th gen)'s radio when it stops (image)
- The button watcher opens an input device without buttons only once (pinna-hal)
- The Echo Dot (5th gen) kernel has /proc/net/wireless, for the Wi-Fi signal metric (kernel)
- A Bluetooth start counts once, not every 31 s while it runs (pinnad)
- Starting Bluetooth no longer logs a systemctl failure on every boot (pinnad)
- A reboot no longer logs that the AirPlay receiver or the Bluetooth bridge stopped (pinnad)
- The debugging timeline holds less memory and keeps the Brain told (pinnad)
- A chat answer that ended with [DONE] is not a stopped request (pinna-assist)
- The timeline's bands stand apart and the page scrolls with its time axis in view (dashboard)
- The debugging timeline names wake words by their phrase, not their id (pinnad)
- What debugging kept ages out on time, and a request open at its end is followed to it (pinnad)
- The speaker's output level is stamped with the time it is heard (pinna-audio)
- The audio levels and the text don't start while the microphones are off (pinnad)
- The timeline shows what you select, asks before Stop clears it, and keeps its last minutes in view after it ends (dashboard)
- The Echo (2nd gen) keeps its woofer's range under 150 Hz (pinna-audio)
- Wi-Fi keeps receiving broadcasts after a group key rekey (kernel)
- The wake word takes one supporting score while the satellite plays (pinnad)
- The satellite search sends each query three times and keeps a satellite whose dashboard answers (pinnad)
- Control from the group leaves timers out in Home Assistant mode (dashboard)
- The Echo Dot (5th gen)'s Wi-Fi sends one spatial stream (kernel)
Files
Install: https://getpinna.dev/docs/flash/
Signed with keys/release.pub: 1170dfc308acae842fd81cbff011ecf33f2c0feb056fa2ec9998bc012fc9f706
6f3c1608a14b46077d78086ea3d47947502befbe03823d9378e034f5a9930284 pinna-0.7.0.root.img
9b5bf24c682c95f3b88ab4f61a5665068546a05609da1fa7d16a2467a1ffc1d5 pinna-boot.img
6b32fb8abdbf39c5bc1f03ddf97d2bee4368362eb7e0d65ae6244eb43d4123b2 pinna-boot-mt8519.itb
c97a7368de3364387700f90bcc75e0a86ce14bf0f97e66d0a4c08551bec7d067 pinna-bootctl-armv7
71eaadeb177c5b94dbc962e8b3ebb33c1d655ac4853346ca9ae9181852ae808e install-echo-dot-5.sh
573062ffd42e0503e98ecf31b43b2d325a229f1790982195cc918852c5eaf209 manifest.json
f40bb1b0f4f2063c2b98f7146acd2227856458f91e5d1a6bfd96b47469c20e2c manifest.json.sig
754bf31599889b139a23e2bd49872c1c9d14b4f4bde401be533d17fab652d4c3 flash-gen2.sh