Rockbox General > Rockbox General Discussion

Self built RockBox player?


Dear all,

I try to build a mp3-player with internet radio based on a ESP32.
Right now I am not really good in programming, but there is some small progress. Is there a chance to port RockBox to such self built players?

All the best

Rockbox doesn't have any TCP/IP stack so it cannot access the internet at present on its own. So internet radio won't work without considerable extra effort. Plus Rockbox does require a certain amount of total RAM to be usable as it relies heavily upon software codecs to do its job. The minimum that is known to work is 2MB.

Speachy can probably tell you more though.

Porting to a custom-built device is very much a plausible endeavor and probably slightly easier than past ports have been since you have both code execution and plenty of documentation.

The main limitation for a rockbox port is RAM.  We're not really set up to run on targets with less than 2MB of RAM, and if you're going to have a TCP/IP stack and advanced crypto (necessary for streaming audio) that's going to have its own non-trivial requirements.  (IIRC the highest-end ESP32 modules have ~4MB of RAM on them, but it's very slow SPI-attached PSRAM, and directly accessing it is going to severely hurt your raw CPU performance)

In all seriousness, you will likely be better served building something using a Raspberry Pi Zero W running Linux.  You can even run rockbox on it, and there's at least one person out where who built a full DAP (ie screen, buttons, 3d printed case, battery) around one:


[0] Message Index

Go to full version