A developer used LLM coding agents to port Rockbox to the undocumented YP3, a $9 player with a mystery Smartlink chip, dual Cortex-M4 processors, 512 KiB of SRAM, and 2 MB of flash. Working entirely through software, the agents analyzed the stock firmware, probed hardware through its recovery mode, and built drivers without opening the device. Rockbox booted after about a week, followed by a month of tuning and fixes. The limited memory forced severe cuts: plugins pause music, database updates block playback, and features such as voice, album art, and several audio effects are absent. Still, the player supports many common formats, themes, Bluetooth, and most hardware functions.
The project’s broader result is a reusable porting toolkit and a largely automated development workflow. A remote-control shell let agents flash firmware, reboot, inspect screenshots, simulate button presses, and run long tests; webcam and audio connections helped them tune the display, speakers, and Bluetooth. The developer mainly acted as project manager and tester, while agents wrote and debugged the code. One agent also reverse-engineered the Bluetooth stack. Despite the constrained hardware, Rockbox battery life came close to stock: about 20 hours wired and 19 hours over Bluetooth. Applying the accumulated tools and methods to another player produced a usable early build in roughly four hours.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.