Rockbox Technical Forums

Installation / Removal => Manual Installation => Toshiba - Installation/Removal => Topic started by: rosco_pc on January 08, 2007, 08:55:32 AM

Title: Installing RB on a F series with older Japanese FW
Post by: rosco_pc on January 08, 2007, 08:55:32 AM
Hi,

I have an F60 with original firmware 1.06JP and Rockbox does not run correctly on these models.
Installing RB and the bootloader as available here will result in the Gigabeat starrtup screen that hangs halfway and changes background color to yellow. I saw a mention in the (#gigabeat) IRC logs that upgrading to a newer FW version (3.0 was mentioned) helped to run successfully though I can not find the actual statement. I can however not upgrade the player (unless somebody can tell me how to do it from a *BSD/Linux) as I don't have access to a windows based PC.

Changing RB to read the FRAME address from LCDSADDR1 instead of the fixed value allows rockbox to start successfully and I can play music. However starting a plugin will still hang the player after displaying an 'Undefined instructions at 01DA6004'.

This leads me to think that some more addresses are different, but I have no clue as where to look further for this. Anybody clues available?

Regards
/Rob
Title: Re: Installing RB on a F series with older Japanese FW
Post by: g_onis on January 08, 2007, 01:44:56 PM
Me having a same problem, it hangs halfway. Would RB works with original Toshiba firmware or it's made for latest fw?

Regards
Title: Re: Installing RB on a F series with older Japanese FW
Post by: rkostynu on January 08, 2007, 07:55:58 PM
Why don't you guys update your firmware to the latest?

You can get the 3.00JP firmware from the Japanese gigabeat sight.

http://www.toshiba.co.jp

I suggest you use the google translation tool as the site is Japanese. But I jsut navigated to the firmware download in about 4 or 5 clicks

Title: Re: Installing RB on a F series with older Japanese FW
Post by: sloth on January 08, 2007, 08:05:06 PM
Hmm.  There may well be other stuff that was moved.  On the other hand, if you didn't grab everywhere that was depending on that FRAME location, these results would make sense.

I've just changed the source to try to manually map LCDSADDR1, but I can't check in right now and I (obviously) can't test.  No F60. :)  

Can you try adding this:

LCDSADDR1 = 0x18F00000;

Right in the beginning of lcd_init_device in lcd-meg-fx-c?  That should change the FRAME address to match what we are expecting
Title: Re: Installing RB on a F series with older Japanese FW
Post by: rosco_pc on January 08, 2007, 11:56:23 PM
Hi

Sloth: I will see if I can do it tonight (China time) as I will not have time the rest of the week.

rkostynu: As I already indicated I do not have access to a windows PC so can not install Room in order to do the upgrade. Or do I not need room, can I just place the correct files on the Gigabeat?? I never ever used the GB as a player as I could not put music on it, it has been my mobile harddisk :).  

Regards
/Rob
Title: Re: Installing RB on a F series with older Japanese FW
Post by: rosco_pc on January 09, 2007, 08:39:45 AM
Hi Sloth,

Just tried your suggested change. And the result is a very interesting light show: you can recognise the RB logo flashing in a pattern of all kind of colors :)

Regards
/Rob
Title: Re: Installing RB on a F series with older Japanese FW
Post by: sloth on January 09, 2007, 09:34:12 AM
OK, so there are more LCD registers we need to setup.  Good deal.

I am on vacation right now but will try to take a look tonight.

Thanks!
Title: Re: Installing RB on a F series with older Japanese FW
Post by: rosco_pc on January 09, 2007, 10:24:19 AM
Hi Sloth,

Enjoy your vacation, I'll be on a business trip with limited internet access AND no compilation environment until Saturday.

Thanks for looking into this.
/Rob
Title: Re: Installing RB on a F series with older Japanese FW
Post by: sloth on January 11, 2007, 05:47:13 PM
I have a patch for this - it actually moves the LCD buffer to the end of memory for all Gigabeats and thereby frees up about 2 megabytes of additional memory - but it should also solve this problem since we will be initializing the LCD controller ourselves rather than relying on the firmware to do so.  I'm on the road right now but should be able to check it in tonight.
Title: Re: Installing RB on a F series with older Japanese FW
Post by: sloth on January 12, 2007, 09:28:36 PM
I have check these changes in.  See the thread I have started in this forum.
Title: Re: Installing RB on a F series with older Japanese FW
Post by: rosco_pc on January 13, 2007, 09:36:42 AM
Hi Sloth,

It is working  :D ;D

Thanks
/Rob
Title: Re: Installing RB on a F series with older Japanese FW
Post by: sloth on January 13, 2007, 10:41:59 AM
Excellent!
Title: Re: Installing RB on a F series with older Japanese FW
Post by: g_onis on January 14, 2007, 08:04:56 AM
Thank you very much, it's working now