Weekly Edition Return to the Front page |
The Grumpy Editor plays with Rockbox
Last May, your editor lamented that, while his new
digital audio player had a number of nice features, it also had a long list
of glitches which, due to the proprietary nature of its firmware, could not
be fixed. At that time, a Rockbox port
for this device (an iRiver H340) was still a distant prospect. Since then,
the situation has changed somewhat. In particular, on November 24, 2005,
Rockbox hacker Linus Nielsen Feltzing announced his ability to play music on the
H300 series. This nice little player had, at last, been cracked open and
put to work running free software.
Your editor took his time before giving Rockbox a try. There is something intimidating about rewriting the firmware of one's expensive electronic toy with untried new code covered in "this is experimental, only to be used by professionals and idiots" warnings. Maybe it has to do with the prospect of turning said toy into an inert paperweight and having to explain to the spouse that it will be necessary to buy yet another gadget, urgently, to replace it. But, eventually, after a suitable amount of loin girding, your editor launched into the process of generating a new firmware blob and loading it into the player. Happily, said player did not explode. The Rockbox iRiver port works by applying a patch to the standard iRiver firmware. That patch adds a special bootloader, and a few other Rockbox-specific things. Unlike the native system, most of Rockbox lives outside of the firmware; it is, instead, loaded from the internal disk. Among other things, this organization makes it easy to upgrade the Rockbox code without going through the sweaty-palms firmware flashing experience every time. The bootloader normally just grabs the Rockbox kernel from the disk and runs it. Quite a bit of effort has been put into making the bootloader robust, however. If the on-disk software cannot be found, it simply boots into the iRiver firmware. There is a power-on key sequence which can be used to get the iRiver code. The bootloader is also programmed to drop into the USB mode if the disk's filesystem is corrupted, giving the user a chance to fix things - though, since the H3xx bootloader's USB mode does not work properly yet, that feature is not as reassuring as one would hope. One might well wonder: why bother changing operating software and risking turning the player into a brick when it worked reasonably nicely before? Here are a few of the things that Rockbox brings:
The list could go on for a while, but one should not forget the nicest part of all: Rockbox is free software. Your editor did not feel particularly oppressed by the proprietary iRiver firmware, but switching to a free system still brought a sense of relief. So many things were clearly designed with the users in mind, and one knows that the rough edges (of which there are still many) can be fixed. With Rockbox, this gadget has become a living thing, rather than a set-in-stone consumer product. Rockbox would be worth running for its free nature alone, even if it weren't better in so many other regards. There is some bad news: the iRiver H3xx players are no longer being made, and iRiver's replacements are rather more closed devices. There is no Rockbox port envisioned for current iRiver players, so people are now wandering around on online auction sites in search of the few H3xx players which are still available. The good news is that Rockbox is being ported to a number of other platforms, notably the current set of iPod players. The iPod port page states: "Rockbox boots and appears to be stable on the iPod Color/Photo, the Nano and the Video. Plugins and codecs work, but there is no audio output yet." So, other than one little problem, everything looks great. As Rockbox becomes more portable, its user base is growing. Rockbox seems to have recently crossed one of those invisible lines where it becomes essentially unstoppable. There will likely come a time when some manufacturers of digital audio and video players - especially those who don't make iPods - will have to seriously consider shipping Rockbox on their gadgets. After all, why should they spend time and money creating their own software, when Rockbox is both free and better? Free software, it seems, has a good chance of taking over another category of systems. [For those H3xx owners who find standard Rockbox to be insufficiently bleeding-edge: the Rockbox H300 Optimized release is a fork with improved color support, more plugins, remote control support, a lyrics viewer, and more.] (Log in to post comments)
The Grumpy Editor plays with Rockbox Posted Jan 26, 2006 2:55 UTC (Thu) by bk (guest, #25617) [Link] Rockbox (as with all free software projects) can always use more developers! Rockbox is written in C and has its own original kernel, but it uses all the familiar POSIX and ANSI C APIs (with a few exceptions) so jumping in and fixing a bug or adding some missing feature that's nagging you isn't too difficult.It is unfortunate that iRiver is moving toward more locked-down devices, luckily there is some talk within Rockbox about a port to the iAudio devices (the X5 and M3 series in particular). As long as there are users willing to code there will be ports to new players.
The Grumpy Editor plays with Rockbox Posted Jan 26, 2006 9:17 UTC (Thu) by tajyrink (subscriber, #2750) [Link] iAudio is also great for their out-of-the-box FLAC support. They have nearly the only players capable of playing FLAC in addition to Ogg Vorbis. Rio Karma was one but I think the manufacturer has been bought and is concentrating on smaller devices (with which FLAC is not very useful as it takes much disk space).
The Grumpy Editor plays with Rockbox Posted Jan 26, 2006 17:44 UTC (Thu) by nix (subscriber, #2304) [Link] The APIs are inspired by POSIX, but they lack e.g. dynamic memory allocation (by intent).
Embedded systems development is a bit different from what you may be used to...
USB mode Posted Jan 26, 2006 10:13 UTC (Thu) by shane (subscriber, #3335) [Link] I was surprised to read that the bootloader USB mode is not workingproperly. I'm listening to music on my computer that is being played from my iRiver H340 mounted as a USB device with Rockbox; it says "Bootloader USB mode" on the screen. I haven't tried to write to the disk, so maybe that's the issue? BTW, I had been wanting to try Rockbox for a long time, but was a bit scared. When I saw Mr Corbet had posted to one of the Rockbox mailing lists about his experience, I figured it was good enough for me. Thanks for pushing me over the edge, Jon! :)
The Grumpy Editor plays with Rockbox Posted Jan 26, 2006 10:55 UTC (Thu) by gypsumfantastic (subscriber, #31134) [Link] Sounds to me like it turns your iRiver into something approaching an iPod.
Um...
Forget I said that.
...approaching an iPod Posted Jan 26, 2006 15:05 UTC (Thu) by corbet (editor, #1) [Link] Perhaps an iPod with a much wider range of codecs, plugins for all sorts of features, voice menus for the blind, configurable screens, bookmarks, and various things that my son's iPod doesn't have?
...approaching an iPod Posted Jan 26, 2006 15:09 UTC (Thu) by gypsumfantastic (subscriber, #31134) [Link] I was just being naughty. I agree with you, actually. Which is why I run iPodLinux.
As it happens, though, the lack of focus on OMG FEATURES!!! is the precise reason why the iPod does so well. But then, this is a periodical for Our Sort, not, you know, Ordinaries. We want to break our consumer electronics, dammit. It's what we do.
...approaching an iPod Posted Jan 26, 2006 17:45 UTC (Thu) by nix (subscriber, #2304) [Link] There seem to be a lot of ordinaries using Rockbox. (Many of them are ordinary except inasmuch as they are blind.)
...approaching an iPod Posted Jan 26, 2006 23:52 UTC (Thu) by bk (guest, #25617) [Link] As it happens, though, the lack of focus on OMG FEATURES!!! is the precise reason why the iPod does so well.The iPod does so well because it is very, very flashy. I tried out someone's iPod Video a few weeks ago and was taken aback by all the eye/ear candy. The ironic thing, though, is that for all the bling it really is a feature-poor device.
iRiver software Posted Jan 26, 2006 10:55 UTC (Thu) by shane (subscriber, #3335) [Link] The iRiver software cannot generate playlists at all (they must be loaded from a computer), and, annoyingly, it can't do basic things like "treat this directory of files as a playlist and stop when you get to the end."This isn't true, actually. One of the play modes is "D", which means "play the files in order in this directory until the end". There is also an option to shuffle a directory, and so on. I think the record button or maybe the "A-B" button does this. In fairness, it took me a while to find this feature.
iRiver software Posted Jan 29, 2006 4:56 UTC (Sun) by ChristopheC (subscriber, #28570) [Link] It's the record button that allows you to switch between the different playing modes (A-B is used to replay a given part of a track). Indeed D is the mode our editor is looking for.
Just bought a new H340 Posted Jan 29, 2006 11:52 UTC (Sun) by reepy (guest, #18758) [Link] This article finally made me go out and buy an H340, which I had been looking at for a while. Knowing it was discontinued also kicked me into getting one while I could still buy one. I now have my two day old H340 running Rockbox and playing FLAC files. The Australian H340 I bought had a really old firmware version (1.08e) but it upgraded perfectly to the 1.29e+rockbox firmware. The MisticRiver Forums, are an excellent resource for everything iRiver, every question you have can be answered by them. Thanks for another great article.
The Grumpy Editor plays with Rockbox Posted Jan 30, 2006 11:41 UTC (Mon) by ortalo (subscriber, #4654) [Link] What about creating a new form of mutual insurance fund for hackers in order to address the innert paperweight urgent replacement issue and, most importantly, the spouse explanation problem (which is indeed a difficult issue every mature linux hacker has problem dealing with)?
"LWN.net insures your expensive technological device against brown paper bag programming errors for $10/year! (1)"
(1) Provided that you disclose detailed technical explanantion on how you locked it up with software-only advanced manipulation and promise to never try to address the same problem again yourself...
iRiver H340 is still sold Posted Feb 2, 2006 14:22 UTC (Thu) by anton (guest, #25547) [Link] I just looked at our local price-watch site and found that the iRiver H340 is sold by six dealers (and the site does not present anything from iRiver that I would consider a replacement). Maybe they just stopped selling the H300 series to the US market?
|
Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.