Rockbox Technical Forums

Installation / Removal => Manual Installation => Toshiba - Installation/Removal => Topic started by: crunkasaurus on January 07, 2007, 11:04:17 PM

Title: FWIMG01.DAT
Post by: crunkasaurus on January 07, 2007, 11:04:17 PM
Please forgive me if this is a stupid question or something, I'm not particularly good with computers but I'm really interested in trying this firmware out.

I've been reading the guide to installing Rockbox onto the Gigabeat F (I personally have an F40 if that makes any difference) and I'm up to the point of extracting the .rockbox folder and the rockbox.gigabeat file to the Gigabeat's drive (although I deleted the rockbox.gigabeat file as per the uninstall instructions at the end of the guide because I hit the roadblock, so to speak, that I'll discuss ahead and I wanted to make sure the Toshiba firmware would load up normally until i got the RB firmware installed.)

Anyway, the guide describes a folder called FWIMG which is hidden on the gigabeat's drive. It also indicates that this folder contains a file called FWIMG01.DAT. However, when I access this folder manually through windows explorer (E:\GBSYSTEM\FWIMG) the folder does not contain the FWIMG01.DAT file. It contains no visible files at all, in fact. So my question is, is the file itself hidden somehow, and if so how do I make it visible / available to be edited? Secondly, if I for some strange reason do not have the file on my gigabeat drive (which seems unlikely considering that the file is probably necessary for the F40 to work) how would I go about going around this problem?

Thanks for reading and for any help you might be able to provide. Sorry again if I've made some amateurish mistake and wasted your time  :D
Title: Re: FWIMG01.DAT
Post by: Llorean on January 07, 2007, 11:16:43 PM
Try making sure that your computer is set to display both Hidden and System files.

In Explorer: Tools-> Folder Options, choose the View tab, and make sure the appropriate options are set.
Title: Re: FWIMG01.DAT
Post by: crunkasaurus on January 07, 2007, 11:25:49 PM
Bingo, that was it. Thanks. Another small question: the guide says that I need to write my own bootloader, but then immediately after it says that there is a link to a directory where I can download a FWIMG01 file. Is this the bootloader I need, or do I still need to create my own?

Thanks again for your help, Llorean.
Title: Re: FWIMG01.DAT
Post by: Llorean on January 07, 2007, 11:32:06 PM
The one linked will work.
Title: Re: FWIMG01.DAT
Post by: crunkasaurus on January 07, 2007, 11:35:38 PM

The one linked will work.

Hm, I tried it and the regular Toshiba firmware loaded. I did everything correctly according to the guide as far as I can tell and used the latest daily build. Any idea what I may have done wrong?
Title: Re: FWIMG01.DAT
Post by: Llorean on January 07, 2007, 11:39:58 PM
Many people skip over the "Initial Startup" steps at the end of the guide. They must be done that way for it to work.
Title: Re: FWIMG01.DAT
Post by: crunkasaurus on January 07, 2007, 11:51:30 PM
Ah, didn't see to turn the battery off and on. Everything's working now, just need to try to get the font a little bigger and i'll be all set :)

Thanks again
Title: Re: FWIMG01.DAT
Post by: crunkasaurus on January 08, 2007, 12:14:38 AM
Okay now I'm starting to freak out

I tried to uninstall rockbox because it wasn't playing music files at all and I wanted to try again so I deleted the rockbox.gigabeat file and turned the battery off and on and now neither the rockbox firmware or toshiba firmware will load and Windows can't seem to recognize the device as a USB hard drive :(

What do I do I really hope I didn't just brick my mp3 player :(
Title: Re: FWIMG01.DAT
Post by: crunkasaurus on January 08, 2007, 12:29:24 AM
Somehow managed to make windows recognize the device, but I feel like I'm messing up all kinds of things here in my confusion... going to try and reinstall the rockbox firmware and go from there

Okay got the rockbox firmware up and running again by some odd chance. Still won't play any music files and I can't even view individual tracks in the menu, just albums / artists. This thread is really panicked and ridiculous, sorry.

edit: In regards to uninstallation, deleting the rockbox.gigabeat file and rebooting the device does not, as the instructions say it should, cause the original Toshiba firmware to load. Instead I get a rockbox error screen displaying rockbox error: -1. How can I return to the original firmware?

Trying to load the original firmware under rockbox gives me several lines of text followed by the line "Woops, should not return from firmware!" What on earth did I do to this poor thing?
Title: Re: FWIMG01.DAT
Post by: Llorean on January 08, 2007, 01:34:22 AM
The dual boot feature isn't working right, which is why you can't load the original firmware under Rockbox (and why deleting rockbox.gigabeat doesn't work yet).

Instead, rename the FWIMG01.DAT to something else, and rename the .ORIG file that you backed up to its original name, then follow the final steps of the install again.
Title: Re: FWIMG01.DAT
Post by: crunkasaurus on January 08, 2007, 01:52:10 AM

The dual boot feature isn't working right, which is why you can't load the original firmware under Rockbox (and why deleting rockbox.gigabeat doesn't work yet).

Instead, rename the FWIMG01.DAT to something else, and rename the .ORIG file that you backed up to its original name, then follow the final steps of the install again.

It's giving me an error message "NO SYSTEM FOUND ON HDD"

I didn't do anything other than change the FWIMG.DAT.ORIG back to .DAT and rename the other FWIMG to "aaaaaa.DAT"

Did I accidentally delete a necessary file or something? I don't remember deleting anything.
Title: Re: FWIMG01.DAT
Post by: Llorean on January 08, 2007, 01:58:39 AM
It probably should not have been named aaaaa.dat, I'm not sure, though.

If you can, just move it out of the folder entirely, and someplace else on the device.
Title: Re: FWIMG01.DAT
Post by: crunkasaurus on January 08, 2007, 02:05:22 AM
Oh I found the problem, I had the original dat file renamed back to "FWIMG.DAT" in the explorer which effectively made the filename "FWIMG.DAT.DAT" which was messing things up. Seems the toshiba firmware is booting just fine now.

I like the firmware, I'll have to reinstall it tomorrow and try to make it work a little better, I must have tripped up somewhere along the way.

You've been really helpful Llorean, thanks for everything.
Title: Re: FWIMG01.DAT
Post by: Llorean on January 08, 2007, 02:41:33 AM
There's a nice PDF manual that will probably be of a lot of help to getting the software running properly. I'm betting that the problem wasn't the install, but just that you're unfamiliar with it.

For one thing, music needs to be actual .mp3 files, just copied over like you copy files to another disk, not the .SAT files it syncs to it.
Title: Re: FWIMG01.DAT
Post by: SteveGotthardt on January 08, 2007, 01:11:57 PM
crunkasaurus, if you cant see individual files, there is a setting that you can make in general settings -> File view -> Show files: choose 'Supported' to start with.

Steve
Title: Re: FWIMG01.DAT
Post by: jscarney on January 08, 2007, 11:08:59 PM
I ran into this same problem yesterday, checking the show hiden files folder option does not expose the files. However, you can do this instead...

In the path box of the windows explore show type F:/GBSYSTEM

it should show that folder.

make a copy of the entire GMSYSTEM folder and name it GBSYSTEM.ORIG

type F:/GBSYSTEM/FWIMG in the windows explorer path box

drop the new boot file into that directory and overwrite the old.

remeber you now have GBSYSTEM.ORIG if you want to restore the old stuff.
Title: Re: FWIMG01.DAT
Post by: sionnsar on January 13, 2007, 04:33:47 PM
A newbie question before I dive in:

The directions say to rename FWIMG01.DAT to FWIMG01.DAT.ORIG (they're pretty specific about this name) -- my question is why?  I see two possibilities:

1. This is somehow recognized by the Gigabeat when it searches for FWIMG01.DAT, which isn't there.  (This is by an apparently missing step in the uninstall directions I read -- they didn't say to rename this file back.)

or

2.  It's critical for the dual-boot capability I just learned about by reading this thread.

Title: Re: FWIMG01.DAT
Post by: rosco_pc on January 13, 2007, 07:41:11 PM
Hi Sionnsar,

This is to allow the bootloader to restore the original file. You do this by pressing 'volume +' when booting. This allows you to restart the GB with the original firmware when something goes wrong (very useful).
Title: Re: FWIMG01.DAT
Post by: sionnsar on January 13, 2007, 08:56:04 PM
Thanks!  If that's in the startup message, I'll just note 5 (or so) seconds is not enough time to observe and respond.  

(IMHO some of the default values need to be tweaked towards "newbie" and away from "expert" -- speaking as a newbie.)
Title: Re: FWIMG01.DAT
Post by: Llorean on January 14, 2007, 01:45:04 AM
That "message" contains debug information, not instructions. Instructions come in the manual.

As well, right now Rockbox isn't released, so it would be somewhat silly to adjust things away from "easy development" toward "easy use" until close to a release version.
Title: Re: FWIMG01.DAT
Post by: sionnsar on January 14, 2007, 06:43:10 PM
Fair enough, Llorean.  Not that I have lots of time for it, but I'd like to provide input on / work on the Gigabeat manual -- sometimes the newbie sees things that the experienced / initial developers miss.  Where/how do I sign up?
Title: Re: FWIMG01.DAT
Post by: Llorean on January 14, 2007, 06:46:18 PM
The simplest method is to just download a copy of the manual, and if you see sections that you feel could be changed for the better, offer either a patch (for the .tex sources of the manual) or a plaintext rewrite of the section on our patch tracker. Patches for the manual are treated the same as patches for the software itself. See the "patches" link on the left side of the page here.
Title: Re: FWIMG01.DAT
Post by: sionnsar on January 16, 2007, 01:40:04 PM
Thanks, Llorean!  I'll be inputting changes.  Gosh, haven't been to SourceForge in a long time...



Title: Re: FWIMG01.DAT
Post by: Llorean on January 16, 2007, 01:44:02 PM
We don't use sourceforge...
Title: Re: FWIMG01.DAT
Post by: sionnsar on January 16, 2007, 01:49:42 PM
That's odd.  I am quite sure I read "use your sourceforge login" when looking around over there. ???  I'll have to check again when I have some proposed changes/additions.
Title: Re: FWIMG01.DAT
Post by: Llorean on January 16, 2007, 02:00:54 PM
The "use your sourceforge login" was in regards to when we moved from sourceforge to our own tracker. If you'd posted previously on our tracker, you used the sourceforge login initially during the transition.