操作系统 高 作者声明

Rockbox for the YP3 (rockslop)

把 Rockbox 移植到一台没有任何文档、只有 512 KiB SRAM 的 9 美元速卖通 “YP3” MP3 播放器上,逆向出来的驱动和蓝牙 HAL 都包括在内。作者说代码是 Claude Code 配 Opus 5.5 写的,他自己只做产品和测试。

作者接上 ghidra-mcp,让 agent 拆原厂固件,在 bootloader 模式下往它的 FreeRTOS 里注入任务来探测硬件,在第一次启动 Rockbox 之前就把驱动写好。后来又用 clean-room 方式重写了驱动:一个 agent 看 Ghidra,一个 agent 当裁判,一个 agent 负责实现。刷机、重启、看测试日志都是 agent 自己做的,看屏幕靠摄像头,听声音接 Line In,测蓝牙时让电脑扮成耳机。移植一开始用的是 Codex 配 Sol 5.6,作者嫌它太慢,后来换成 Claude Code 配 Opus 5.5。有了可复用的工具包 auto-rockbox 之后,第二台播放器(TS17)大约四小时就做到了可用的 alpha。

人工参与

人定方向,agent 写代码. 作者定做法、搭测试环境,必要时手动重启播放器,关机流程、FM 调台这类问题由他来核对。他说代码自己只扫过几眼。

证据

  • 作者博客
    To be clear: this is 100% vibecoded. I have only glanced at some of the code it wrote. I contributed my approach to development and testing, was the PM and QA person
  • 作者博客
    This port was started with Codex/Sol 5.6. It was making progress, but was incredibly risk averse and slow.
  • commit 署名
    Co-Authored-By: Claude Opus 5.5 <[email protected]>

备注

Rockbox 是带自有内核的替换固件,所以归到 os。仓库是一份 Rockbox 源码树,加上 YP3 移植、蓝牙协议栈和新增的游戏;比较早的提交来自 Rockbox 上游开发者。GitHub 显示没有许可证,但 docs/COPYING 是 Rockbox 用的 GPLv2 文本。编译好的固件和刷机工具在 jaydens-tasty-slop/rockslop 发布。