Skip to main content

Topic: Open Source Firmware For iRiver players (Read 146529 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • kwanbis
  • [*][*][*][*][*]
  • Developer (Donating)
Open Source Firmware For iRiver players
Rockbox, the team responsible for the open source replacement firmware for Archos audio players, has started an effort to port their firmware to the popular iRiver H1xx-series of devices.

Rockbox Home Page

Iriver Port Info
  • Last Edit: 10 September, 2004, 03:18:25 PM by kwanbis

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #1
Quote
Rockbox, the team responsible for the open source replacement firmware for Archos audio players, has started an effort to port their firmware to the popular iRiver H1xx-series of devices.

Rockbox Home Page

Iriver Port Info
[{POST_SNAPBACK}][/a]

Work in progress:
Code: [Select]
7 Oct 11:31    Linus    firmware/crt0.S 1.13   First iRiver startup code, does nothing but blink the backlight

Source:
[a href="http://www.rockbox.org]Rockbox Home Page[/url]

NB: the rockbox URL has been changed for www.rockbox.org thanks to Jeff (MR admin)...
Regards

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #2
Work in Progress...

Since the 26/10 LinusM finally got out a working LCD driver...
Quote
26 Oct 06:54 Linus firmware/drivers/lcd-h100.c 1.1  New LCD driver for iRiver H100
26 Oct 06:53 Linus firmware/drivers/lcd.S 1.2
firmware/export/lcd.h 1.19  Ported to iRiver H100
26 Oct 05:40 Linus firmware/common/memcpy.S 1.2
firmware/common/memset.S 1.2
firmware/export/lcd.h 1.18  Ported to Coldfire


   

Actualy the Rockbox website seems to be down, only the boarad is working...
regards

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #3
I wonder why there is no recent edit... the rockbox iRiverport has greatly progressed for two months... It's still unable to play audio files due to codec lack but the things are on the way and according to one of the Rockbox members the audio support will come very nearly (less than a month)

I've the confidence that the first player with MPC playback will be the iHP1xx thanks to Rockbox wonderful work....

Maybe this would grab some more interest for the Rockbox iRiverport at HA place... And of course for skilled and motivated coders subscribing to the CODEC API TODO section is an option:
http://www.rockbox.org/twiki/bin/view/Main...posal#CODEC_API

Best regards,
Tanguy
(not involved in anything in the Rbx project, i'm just interested in cause i own an iHP1xx)

  • Lyx
  • [*][*][*][*][*]
Open Source Firmware For iRiver players
Reply #4
Does the mpeg123 code make use of lame-headers for gapless-playback?

I also find it interesting that monkey's audio is listed in the list of possible supported codecs (depending on hardware), because that would basically mean that code for parsing ape-tags is there and could also be used to read ape-tags from mp3s.

- Lyx
  • Last Edit: 11 February, 2005, 04:31:27 PM by Lyx
I am arrogant and I can afford it because I deliver.

  • DreamTactix291
  • [*][*][*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #5
Quote
I've the confidence that the first player with MPC playback will be the iHP1xx thanks to Rockbox wonderful work....
[a href="index.php?act=findpost&pid=272691"][{POST_SNAPBACK}][/a]

I agree and this makes me so happy it's just beyond words

I've been waiting and hoping for Rockbox since I bought my iHP-120 and have been following its progress.  All I can say is it's going to make my player even better.
Nero AAC 1.5.1.0: -q0.45

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #6
Quote
Does the mpeg123 code make use of lame-headers for gapless-playback?

I also find it interesting that monkey's audio is listed in the list of possible supported codecs (depending on hardware), because that would basically mean that code for parsing ape-tags is there and could also be used to read ape-tags from mp3s.

- Lyx
[a href="index.php?act=findpost&pid=272694"][{POST_SNAPBACK}][/a]

Hi Lyx,
To be clear i've to precise some little things.

the MonkeyAudio presence isn't the assurance that MAC will be supported by Rbx... Although I have NO skill in coding nor in audio codec I've personnaly added the AAC, APE and MPC informations in the codec part to motivate skilled coders... In fact i'm quite sure the hardware is able to play APE, thats won't be the matter...
The only question will be: "Is there people skilled in and motivated to implement a decoder (or a coder for encoding part) in the Rbx iRiver port???"

About motivation I've discussed a little with one Rbx member who's working on the iRiverport for a while (LinusM to name him) and he assumed that:
Quote
As we have said earlier, we don't mind having a zillion codecs in Rockbox.


However, even if the Rbx team is very competent, they have no expericence in codec developping since their Archox Rockbox firmware didn't provided software codec cause those Archox players are using hardware codec (an encoding/decoding chip)...

I'm pretty sure the Rbx team can release a fully functional Rbx firmware for iHP, with decompressing ability for at leats usuals codecs (mp3, rawPCM in WAVE Conteners and maybe Ogg Vorbis))

But I guess things will progress faster with the competences of some talentuous coders of the HA "sphere" (if they are interested). And especially concerning some "exotics" codecs used by the audiophile people, i.e. mostly the HA population: MPC of course but also AAC, and obviously lossless codecs as APE and others...

About the APE tag parsing i guess if the team decide to provide APE codec support tehy will get interest in APE tag format too...


About the mpg123 questioni've to say that i think the Rbx chosen codec fr mp3 playback is the MAD decoder...

What are the advantages of mpg123?

/!\Just keep in mind the Wiki section of the Rockbox iRiverport is WIKI! You can edit everything when logged. So if you see something wrong or something lacking feel very free to edit it!!!!!

Best regards,
Tang

  • rjamorim
  • [*][*][*][*][*]
Open Source Firmware For iRiver players
Reply #7
Quote
What are the advantages of mpg123?
[a href="index.php?act=findpost&pid=272871"][{POST_SNAPBACK}][/a]


Actually, from a hardware implementation point of view, MAD is much more interesting than mpg123 because it is an integer decoder. mpg123 relies on floating point calculations.
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #8
Quote
Quote
What are the advantages of mpg123?
[a href="index.php?act=findpost&pid=272871"][{POST_SNAPBACK}][/a]


Actually, from a hardware implementation point of view, MAD is much more interesting than mpg123 because it is an integer decoder. mpg123 relies on floating point calculations.
[a href="index.php?act=findpost&pid=272874"][{POST_SNAPBACK}][/a]

Hello Roberto,
Thanks for this clarification...  Indeed for an hardware port MAD seems cooler...

What are the advantages of mpg123 without considerating the easier implementaton of an integer decoder?

  • Lyx
  • [*][*][*][*][*]
Open Source Firmware For iRiver players
Reply #9
Gapless playback via lame-headers. This means that mp3-tracks which have seamless trackchanges and which were encoded with lame, can be played back gapless. The mp3-format usually is not gapless - but lame stores some data in its headers which makes it possible to have gapless playback with mp3s although the format usually doesn't support it.

(With gapless i do not mean "hacked" gapless via crossfading+gapkilling but instead real gapless playback)

I'm not sure if this is part of the mp123 decoder, but both, the modified mp123 decoder of foobar, and the winamp mp123 decoder both support ape-tags in mp3s and both make use of replaygain. But as i said, i dont know if this is just a coincidence or indeed part of the decoder itself.

- Lyx
I am arrogant and I can afford it because I deliver.

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #10
Hum oki Lyx, thanks...
Strangely the Rbx team said us that seamless playback even for mp3 would' not be an issue with a well made Rbx firmware...

I imagine this mean that the seamless playback isn't really linked with the decoder itself but with his modification...
About RG the Rbx team also said that was absolutely possible to implement its support...

Anyway I guess Peter (zzzzz) can answer if the GAPLESS playback for Lame mp3 is due to mp123 or if it's added to the codec when modding it for fb2k...

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #11
EDIT: preglow just confirmed me that LinusM (who released the bootloader for iHP) told him that the seamless playback will be based on the Lame metadata...

A rockbox member (Preglow, thanks to him)  answered me on IRC about the seamless playback infunction of the decoder library:
Quote
preglow   it will be seamless
   preglow   the decoder library itself doesn't matter, we'll have to write the code that ties different tracks together
   preglow   and we'll make it gapless


  • Last Edit: 12 February, 2005, 02:27:09 PM by Tang

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #12
Rockbox asking for INTEGER lossy encoders under open source licensing of course! (such lossless encoder too but I've put the question in the lossless section of HA, HERE)

If you know anything about such libraries feel free to put this here, it will be VERY appreciated!

Cheers!
  • Last Edit: 12 February, 2005, 02:45:34 PM by Tang

  • rjamorim
  • [*][*][*][*][*]
Open Source Firmware For iRiver players
Reply #13
Quote
Rockbox asking for INTEGER lossy encoders under open source licensing of course!
[{POST_SNAPBACK}][/a]


WavPack. And I think that's it. I don't know of any other high-quality lossy encoder in an open source license and integerized.

[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=31471&view=findpost&p=272945]http://www.hydrogenaudio.org/forums/index....ndpost&p=272945[/url]
  • Last Edit: 12 February, 2005, 05:03:33 PM by rjamorim
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #14
Hi Roberto,
Thanks a lot it's very kind! i will transmit your answer (the link) to the Rockbox team!
Best regards,
Tanguy

Open Source Firmware For iRiver players
Reply #15
MusePack using Peter's library?

  • rjamorim
  • [*][*][*][*][*]
Open Source Firmware For iRiver players
Reply #16
Quote
MusePack using Peter's library?
[a href="index.php?act=findpost&pid=272955"][{POST_SNAPBACK}][/a]


That library is only for decoding, not for encoding.

@Tang: you're welcome
  • Last Edit: 12 February, 2005, 05:19:38 PM by rjamorim
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

Open Source Firmware For iRiver players
Reply #17
Quote
Quote
MusePack using Peter's library?
[a href="index.php?act=findpost&pid=272955"][{POST_SNAPBACK}][/a]


That library is only for decoding, not for encoding.

@Tang: you're welcome
[a href="index.php?act=findpost&pid=272957"][{POST_SNAPBACK}][/a]


Oops! I thought they were looking for decoders. My bad. >_<

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #18
Quote
Quote
MusePack using Peter's library?
[a href="index.php?act=findpost&pid=272955"][{POST_SNAPBACK}][/a]


That library is only for decoding, not for encoding.

@Tang: you're welcome
[a href="index.php?act=findpost&pid=272957"][{POST_SNAPBACK}][/a]

It's me... Just to say, Preglow was very glad of your notice about wavpack for both lossy and lossless encoding... Wavpack is the way to go for him and i guess the whole Rockbox team!
Thanks again!

@Sebastien mares: eh eh nothing serious for the mistake...
  • Last Edit: 12 February, 2005, 07:08:31 PM by Tang

  • rjamorim
  • [*][*][*][*][*]
Open Source Firmware For iRiver players
Reply #19
Quote
Wavepack is the way to go for him and i guess the whole Rockbox team!
[a href="index.php?act=findpost&pid=272967"][{POST_SNAPBACK}][/a]


Awesome. I look forward to more news about it.

I just mailed David Bryant telling him about this possibility of hardware support for WavPack. He just moved to San Francisco, so he doesn't have time to follow HA closely these days, but I'm sure he will be glad to help the Rockbox developers with any issues that might arise (he also has lots of experience with embedded development, which is a plus)

One final note: It's WavPack or Wavpack, not Wavepack
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #20
Quote
Quote
Wavepack is the way to go for him and i guess the whole Rockbox team!
[a href="index.php?act=findpost&pid=272967"][{POST_SNAPBACK}][/a]


Awesome. I look forward to more news about it.

I just mailed David Bryant telling him about this possibility of hardware support for WavPack. He just moved to San Francisco, so he doesn't have time to follow HA closely these days, but I'm sure he will be glad to help the Rockbox developers with any issues that might arise (he also has lots of experience with embedded development, which is a plus)

One final note: It's WavPack or Wavpack, not Wavepack
[a href="index.php?act=findpost&pid=272985"][{POST_SNAPBACK}][/a]

I'm very thankfull Roberto it's more than nice...     
Thanks a lot for the mail to David Bryant! The rockbox crew is happy to see that there is contact possibility with the authors in case they encounter a big difficulty...
of course it's really not time to annoy him as he's moving...

Anyway the encoding devlopmment won't begin so early, for the moment the crew is working on realclocking the CPU (which is quite underclocked for now)...
Then tehy will begin with mp3 decoding...

After taht encoding will be considerated... But wavpack (sorry for bad spelling, i've edited) appears very interesting to them...

  • emtee
  • [*][*][*]
Open Source Firmware For iRiver players
Reply #21
Wow.
This could make me actually buy a iHP. Is iRiver aware of this project? What do they think about it? Will they help it at all?
By the way, why are the folks at rockbox looking for an integer lossy encoder? Because of the built-in recording capabilities? Will they use wavpack lossy?
  • Last Edit: 12 February, 2005, 07:41:26 PM by emtee

  • rjamorim
  • [*][*][*][*][*]
Open Source Firmware For iRiver players
Reply #22
Quote
By the way, why are the folks at rockbox looking for an integer lossy encoder?
[a href="index.php?act=findpost&pid=272997"][{POST_SNAPBACK}][/a]


They need it to be integerized because the iRiver units have no FPU, so processing floating point numbers on them would be painfully slow, and not real-time anyway.

Lossy, because it requires a fraction of the space taken by lossless, so it's much better suited for recording long live performances and lectures and what not.

And finally, yes, it must be because they want to give a good use to the built-in recording hardware.
  • Last Edit: 12 February, 2005, 07:49:30 PM by rjamorim
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

  • Tang
  • [*][*][*]
  • Members (Donating)
Open Source Firmware For iRiver players
Reply #23
Quote
Wow.
This could make me actually buy a iHP. Is iRiver aware of this project? What do they think about it? Will they help it at all?
By the way, why are the folks at rockbox looking for an integer lossy encoder? Because of the built-in recording capabilities? Will they use wavpack lossy?
[a href="index.php?act=findpost&pid=272997"][{POST_SNAPBACK}][/a]

Hi Emtee,
About Iriver i don't knowx if they are aware of the Rockbox project but it's not usefull to notify them and it could be a real BAD idea...
indeed there have been two others project of iHP alt firmwares  and the first one have been stopped by the authors due to iRiver pression... (that's what they said)

There is no need to connect rbx with iriver firmware section which is well known fo hi uncompetence... It won't help rbx and it may cause some issue...



PS: nothing to add to Roberto explanation about the integer lossy encoder...
  • Last Edit: 12 February, 2005, 08:11:37 PM by Tang

  • emtee
  • [*][*][*]
Open Source Firmware For iRiver players
Reply #24
Quote
Hi Emtee,
About Iriver i don't knowx if they are aware of the Rockbox project but it's not usefull to notify them and it could be a real BAD idea...
indeed there have been two others project of iHP alt firmwares  and the first one have been stopped by the authors due to iRiver pression... (that's what they said)

There is no need to connect rbx with iriver firmware section which is well known fo hi uncompetence... It won't help rbx and it may cause some issue...



PS: nothing to add to Roberto explanation about the integer lossy encoder...
[a href="index.php?act=findpost&pid=273006"][{POST_SNAPBACK}][/a]

Well, I own a CD-based iRiver player, and I'm happy with the firmware updates iriver provides. Sure, they aren't realeased every month or so, but the firmware is pretty stable and they even listened to their customers when asked for vorbis support.
I obviously won't notify them, that's the project's authors decision. But I'm not sure if iRiver would react negativelly. It's not like they're cracking or reverse engineering iRiver's original firmware - they're building one up from scratch, which might be more convenient to power-users, and can raise iRiver's sells. So unless there are some kinds of legal problems, iRiver should aknowledge the project and help them out. Pretty much like the Fedora Core/Red Hat relationship.
I might be missing something, though.