Rockbox Technical Forums

Installation / Removal => Manual Installation => Archos - Installation/Removal/Flashing => Topic started by: skram0 on October 08, 2004, 05:17:17 PM

Title: Flash for the Players?
Post by: skram0 on October 08, 2004, 05:17:17 PM
Will there ever be a firmware flash for the Player models?

I have a Studio 20 and would like to get some joy the Recorder people get when they flash theirs.  A quicker boot time would be nicccccce :)
Title: Re: Flash for the Players?
Post by: amiconn on October 09, 2004, 02:01:24 PM
I plan to work on this as soon as the major issues of the Ondio port are solved. The basic procedure of flashing is no problem, however, rockbox does not yet run on the Players when cold-started.

There is another problem: Afaik, the percentage of Players that have the right flash chip (which is in-circuit programmable) is rather small, unlike with the Recorder models. You can check this if you go to "Info->Debug (Keep out!)->View HW info" and then cycle through the entries with the + or - buttons until "Flash:....." is displayed on the second line. If there are hexadecimal numbers after it, your Player is flashable, if it reads "Flash:??,??, you're out of luck.
Unfortunately the Player I aquired to do the flash development is not flashable, so I'm required to solder in the right chip first.
Title: Re: Flash for the Players?
Post by: Crossupmasta on October 27, 2004, 10:50:50 PM
I'd be interested in this if you ever get around to doing it. My Archos can be flashed.
Title: Re: Flash for the Players?
Post by: Amygdala on December 02, 2004, 08:12:13 PM

Very interested in applying a flash version of rockbox to my Studio 20 as well. It has the right programmable chip (hex code, no ???).

Is there any way to improve the battery recharging/discharging cycling or reporting?

In the meantime, using 2.3 rockbox loader with Archos 5.08 firmware.  Thanks for your great work. Makes the player a joy to use.



Title: Re: Flash for the Players?
Post by: amiconn on December 03, 2004, 01:30:35 AM
It's actually already almost done, the only reason that it's not yet published is that I need tests with old players as I only have a new player myself.

There are some hardware differences that need to be accounted for (lcd, harddisk power control). The code is in, by not tested on old players, so if someone with an old player would flash and then rockbox doesn't work, it would need a involved procedure to recover the box. (For the technically interested: applying the uart boot mod and reflash it via minimon).

Specifically I need tester(s) with players that report an archos fw version < 4.50 on boot, and who are able to do the uart boot mod to load rockbox test version(s) from that. The test players do not necessarily be flashable, btw. I would do it myself, if I had access to an old player...

There is another quick test that needs to be done which doesn't require any mod, just rockbox loaded and then running a special test plugin to report a value. This should be done both on a 4.x player (< 4.50) and a 3.x player (most likely there is only 3.18). The latter is more important.

Jens
Title: Re: Flash for the Players?
Post by: Crossupmasta on December 11, 2004, 01:18:41 PM
Im willing to help test.
Title: Re: Flash for the Players?
Post by: amiconn on December 11, 2004, 01:45:07 PM
What exact Player model  & ROM version do you have? For checking the ROM version, go to Info->Debug->View HW Info. The ROM version is the very first info displayed. Furthermore I'd be interested in your archos firmware version, which is displayed at boot. This may be slightly different from the ROM version.

Jens
Title: Re: Flash for the Players?
Post by: Crossupmasta on December 12, 2004, 12:20:59 PM
On boot it says 5.08. In HW info the ROM version is 5.06.
Title: Re: Flash for the Players?
Post by: Ice[K-9] on December 12, 2004, 03:16:17 PM
I too have a flashable player, it says: Flash: BF, D6 in the [HW Info] section.
It's an Archos Jukebox Studio 20. The firmware version displayed on boot is 5.08, the ROM version in the [HW Info] section is 5.06

I too would be willing to help, but I know very little about this sort of stuff. As long as I can't screw up anything and as long as I am able to reverse the damage (if there is any) I am certainly willing to participate! Being able to boot this baby up quicker would be very nice!
Title: Re: Flash for the Players?
Post by: amiconn on December 16, 2004, 08:02:43 PM
Look at the mailing list: The player flash package is available now :-)

Jens
Title: Re: Flash for the Players?
Post by: Crossupmasta on December 18, 2004, 12:15:46 PM
Where?
Title: Re: Flash for the Players?
Post by: stevesimpkin on December 18, 2004, 01:02:39 PM
See: 

http://www.rockbox.org/mail/archive/rockbox-archive-2004-12/0245.shtml

It has the information on how to Flash the Player (including warnings) and where to download the firmware.

Steve
Title: Re: Flash for the Players?
Post by: Crossupmasta on December 18, 2004, 07:34:18 PM
Thanks, I flashed it and its running beautifully!  ;D Are there any other advantages to flashing besides faster load times?
Title: Re: Flash for the Players?
Post by: Ice[K-9] on December 22, 2004, 04:22:59 PM
I succesfully flashed my player aswell, one question though, after flashing can I delete: firmware_player.bin or is it still being used in some way? I also added: archos_player508.ucl seeing as I was not sure if I needed that thing on my archos, can I delete that also?
Title: Re: Flash for the Players?
Post by: amiconn on December 22, 2004, 05:44:30 PM
@Crossupmasta:

Imho, there are 3 main advantages of flashing rockbox on the players:


Furthermore, it's for the fun of it, and there is no longer an archos message at startup ;-)

@Ice[K-9]:

You can safely delete both files.

firmware_player.bin is the content that was programmed into your player's flash rom while first-time flashing via firmware_flash.rock. You will most likely never need this again (on this very box that is).

archos_player508.ucl is an image of the latest archos firmware for the players, only supplied for the rare case when you want to to start the archos firmware from flash by default, instead of rockbox, without completely reverting the flash process. You can always start the archos firmware alternatively by holding "-" while powering on.

http://www.rockbox.org/twiki/bin/view/Main/FlashingRockbox is recommended reading if you want to know more details.

Jens
Title: Re: Flash for the Players?
Post by: Ice[K-9] on December 23, 2004, 07:22:04 AM
Great Thanks!
Title: Re: Flash for the Players?
Post by: Dr5150co on December 27, 2004, 08:59:07 PM
I am trying the flash on my Studio 20.
Boot reports firmware 5.08
HW info reports 5.08 & that I have a flashable ROM. 

But when I try to run the flash I get a wrong version error message.

Help?
Title: Re: Flash for the Players?
Post by: [IDC]Dragon on December 28, 2004, 05:30:54 AM
Dr5150co,

what do you get in the debug hardware info screen for RomCRC?
Perhaps you have such a strange boot ROM, too. Like Frederik in the mailing list, see here:
http://www.rockbox.org/mail/archive/rockbox-archive-2004-12/0397.shtml

Jörg


Title: Re: Flash for the Players?
Post by: Dr5150co on December 28, 2004, 07:53:19 PM
HW Info Details are:
ROM 5.08
USB:neg
ATA: 0x300m
Mask: 0000
Flash: BF,D6
RomCRC: 222F
Title: Re: Flash for the Players?
Post by: [IDC]Dragon on December 29, 2004, 02:12:15 AM
That's the standard one, you should be able to flash.
Are you sure you do everything correct? What exact error do you get?

Jörg
Title: Re: Flash for the Players?
Post by: Dr5150co on December 29, 2004, 08:45:14 PM
I have loaded the  current build (not Daily Build)  the rest of the Drive is blank at the moment (It was time for a Format anyway).
I have downloaded the flash for players file & placed the files in the root of the drive.

I have gone into info & saved a backup of the current rom to file.

When I browse plugins & try to launch the firmware_flash.rock I get the message "Wrong Version" nothing else.
The backup ROM can be found at http:\\rassoft.com\ROM\ROM_Backup.zip (http://rassoft.com\ROM\ROM_Backup.zip)
Title: Re: Flash for the Players?
Post by: [IDC]Dragon on December 30, 2004, 05:00:20 AM
Thanks, I see the problem now.
The flash of your player is versioned 5.08, so far we've only seen players going up to 5.06.
The plugin looks at this number in flash and in the new file, to determine the model you're running it on and whether they match. This is a safety feature, to prevent people from flashing files which are not for their model and so ruining the box.
I will relax this check, try again tomorrow.

Jörg
Title: Re: Flash for the Players?
Post by: skram0 on December 30, 2004, 07:04:48 AM
Cool. Flashed mine without problems. Had all the required chips and whatnot.
Thanks to all who were involved.  ;D

Although my boot time is still about 7 seconds, it's nicccccceee to be able to just tap the power on. I guess my delay is the hard drive spin up time? When I boot holding "-" for the stock firmware boot, it takes about 9 seconds. Which if I was using the original firmware, it'd be about 10 or 11 for the added 1 or 2 seconds for holding the power on button longer.

I tried deleting the .rockbox directory and the archos.mod file, but it booted and said it couldn't find the .rockbox directory and that it was unfinished or something, but then continued to the rockbox OS. So I put them back. Since it was flashed into the ROM, I didn't think it still needed rockbox files from the hard drive?

Oh, and now that I know my player can take the flash, is there anyway to only flash with the rombox and not include the stock archos flash (via "-")? Would this increase any memory buffers at all or speed up the boot? Maybe the rombox by itself won't need to be compressed?
Title: Re: Flash for the Players?
Post by: [IDC]Dragon on December 30, 2004, 08:39:54 AM
Quote
I tried deleting the .rockbox directory and the archos.mod file, but it booted and said it couldn't find the .rockbox directory and that it was unfinished or something, but then continued to the rockbox OS. So I put them back. Since it was flashed into the ROM, I didn't think it still needed rockbox files from the hard drive?

The only file you save is archos.mod, the firmware. The other stuff is used at runtime. To still have Rockbox when booting with '-', you'll again need it. So I suggest to keep it, unless you specifically want Archos firmware with '-'.

Quote
Oh, and now that I know my player can take the flash, is there anyway to only flash with the rombox and not include the stock archos flash (via "-")? Would this increase any memory buffers at all or speed up the boot? Maybe the rombox by itself won't need to be compressed?

Rombox is by nature never compressed, else it coudn't run directly in flash. There's plenty of space in case of the Player, nothing is saved by omitting Archos. You'd want it as a backup firmware, in case you flashed a bad Rockbox version.

Jörg


Title: Re: Flash for the Players?
Post by: Dr5150co on December 30, 2004, 10:07:06 PM
IT'S ALIIIIIVE!!!!  Muha ha ha ha!

Ok the flash worked with the newest rock.

I love it so much nicer not having to wait on the old ROM first.

things seem a bit snppier as well.

Very good work!
Title: Re: Flash for the Players?
Post by: dwight_s on January 15, 2005, 10:56:35 AM
I have a Studio 10, but the BootRom reports as No.  I cant use the current flash because it is looking for the _norom version of the flash file.  I know the flash for the player is still very new.  I did not know if it was in the works for a _norom version of the flash for players.

[HW Info]
ROM: 5.08
USB: neg
ATA: 0x300m
Mask: 0000
Flash: BF,D6
BootROM: no

Thanks for any feedback,
Dwight
Title: Re: Flash for the Players?
Post by: [IDC]Dragon on January 15, 2005, 04:35:54 PM
Your're the first to discover a romless Studio model. Jens and I were wondering if such exists (so far only seen on Recorder V1 models) and decided to not proactively making a _norom file.

It's no general problem to make such. The flashing risk is a bit higher, since you can't boot it from serial if something goes wrong, even if technically skilled enough to do these mods.

Jörg
 
Title: Re: Flash for the Players?
Post by: dwight_s on January 15, 2005, 05:59:38 PM
I appreciate the prompt response and had wondered about the higher risk, knowing there was no backup method if something went wrong.  Not a big deal, rockbox still works great.  Keep up the good work.
Title: Re: Flash for the Players?
Post by: canvin on January 16, 2005, 05:31:42 PM
i've also a no boot rom on my player...so please make a firmware _norom.bin. Thanks a lot, and good works for all that. you rocks. ;)
Title: Re: Flash for the Players?
Post by: amiconn on January 17, 2005, 07:43:43 PM
In order to build a _norom variant of the player firmware, I'll need a ROM dump of such a box. The description how to do this is found in the wiki: http://www.rockbox.org/twiki/bin/view/Main/FlashingRockbox#Flashing_procedure

dwight_s, canvin: Could any of you make such a dump and send it to me? arnold-j AT t-online DOT de

Jens
Title: Re: Flash for the Players?
Post by: amiconn on January 19, 2005, 04:33:30 PM
dwight_s, canvin:

I've updated the player flash package on my webspace (the place given in the wiki). It does now contain the required _norom firmware file for flashing romless Players.

Beware that this file couldn't be tested on a real box, because neither Jörg nor I have such a box available. While we tried to lower the risk as much as possible (each one building the _norom image independently, then comparing the file lead to identical files; Jörg also tested the image a bit on a CPU emulator), there is of course no warranty.

If either of you dares to flash his box, I'd be very interested in the results. Good luck!

Jens
Title: Re: Flash for the Players?
Post by: dwight_s on January 19, 2005, 08:56:55 PM
My LCD just crapped out on me this week.  Otherwise I'd jump at the opportunity.  I'm going to take it apart tonight and see if one of the connector wires has come lose.  I'll let you know as soon as I get it working and will give the _norom a shot.
Title: Re: Flash for the Players?
Post by: canvin on January 20, 2005, 01:43:51 PM
i'll try this firmware today, and i hope it works, because i don't want  disassembling the Archos. thank you. Canvin
Title: Re: Flash for the Players?
Post by: canvin on January 20, 2005, 05:00:50 PM
yeah !!
it works about 6 seconds to launch player now !! good rockbox now..do you want a copy of something ??like firmware.. the flashing lasts nearly 20 seconds and all seems ok...but i haven't  a resume support at power on, at he first time, now it works. Last thing, when i power on my archos, before flash i have to press on 'on" 4 seconds, now i just touch it and it switch on  :). Thank you for your works  ;D  ;D. Canvin.


P.S : sorry for my english, i'm french.
Title: Re: Flash for the Players?
Post by: canvin on January 20, 2005, 05:09:20 PM
when i flash my archos, i suppose that when i plug it to electricity, my archos launch menu etc..  and indeed it switch on. I wondered  if there isn't a mni bios when it charges. ok good night now and great thanks again.   :)Canvin
Title: Re: Flash for the Players?
Post by: canvin on January 21, 2005, 07:19:58 AM
ok now !!
there also a mini firmware when i plug it ! that's rocks, looks all ok now ! see you Canvin.  ;)
Title: Re: Flash for the Players?
Post by: molsongrrrl on March 21, 2005, 06:55:59 AM
the flash works great! thanks so much! the instructions were easy to follow and is working great!
Title: Re: Flash for the Players?
Post by: tonymande on May 13, 2005, 04:13:56 AM
Hello,

i've got an old Studio 6000 which isn't flashable in-circuit  :(
Is it possible to flash it off-circuit or to replace the chip somehow?

Thanks for your feedback,
David
Title: Re: Flash for the Players?
Post by: Sticks on July 28, 2005, 07:27:06 PM
Hi, I've got a studio with this HWInfo:
[HW Info]
ROM: 5.08
USB: neg
ATA: 0x300m
Mask: 0000
Flash: BF,D6
BootROM: no

Based on this thread, it seems like if I grabbed the latest rockbox (2.4) and flash_player.zip that I'd be good to go, but every time I run the firmware_flash.rock thingy I get the "Wrong Version" message.

Any ideas? Thanks, nathan
Title: Re: Flash for the Players?
Post by: amiconn on July 29, 2005, 02:11:33 AM
Flash: BF,D6
BootROM: no

Based on this thread, it seems like if I grabbed the latest rockbox (2.4) and flash_player.zip that I'd be good to go, but every time I run the firmware_flash.rock thingy I get the "Wrong Version" message.

Yes, this box is indeed flashable, but it is the type without boot ROM. That means there is no safety net if the flashing procedure should ever go wrong (not that we know of any such case so far).

The 'wrong version' problem occurs because the firmware_flash plugin in the rockbox 2.4 packagae does not yet recognise a 5.08 ROM as a valid player ROM. Support for both 5.08 ROMs and ROMless players was added later, so I recommend installing a recent daily build instead. Rockbox 2.4 is more than half a year old...

Regards,

Jens
Title: Re: Flash for the Players?
Post by: Sticks on July 29, 2005, 08:30:59 AM
OK, Is there a "good build" that people are using? Since I've got no backup, I'd like to use one that is considered somewhat stable.


thanks, nathan
Title: Re: Flash for the Players?
Post by: justhavingfun on February 23, 2006, 01:57:05 AM
 ;D
I just want to say thanks to Rockbox OS developer for their wonderful software. It is so much better than the original Archos OS. I just successfully flashed my Archos Studio 10 model with Rockbox flashware. Thank you again.