Rockbox Technical Forums

Rockbox Development => New Ports => Topic started by: toffe on May 02, 2008, 09:58:26 PM

Title: Philips Gogear SA9200
Post by: toffe on May 02, 2008, 09:58:26 PM
This is just to start the thread on this player

Low_light has already some code running on it
Just waiting for the commit to help him.

Welcome to other owners of a SA9200
Title: Re: Philips Gogear SA9200
Post by: lowlight on May 20, 2008, 11:28:22 PM
Commited...finally.
Still work to do on the touchpad & lcd, but it works with sound.
Installation is tricky. I'll write up instructions on the wiki.
I need to get the ui sim working then anyone can test things like the keymap and plugins.
I'd also like a volunteer to help with the manual.
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on May 26, 2009, 10:26:51 AM
Got an SA9200 thanks to toffe. I started some manual work, but there's little I can do because we lack:

Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on December 01, 2009, 08:57:52 PM
I started committing plugin keymaps today. There are still a few more plugins to get done, but I want to at least start adding a few into the trunk and get them under version control.

UPDATE: Save for a tiny handful, almost all plugin keymaps are done! All that's left to do is enable to test, and then enable in SVN once we're done.
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on December 10, 2009, 05:06:31 PM
All plugin keymaps are committed.
Title: Re: Philips Gogear SA9200
Post by: Strife89 on January 18, 2010, 02:09:33 PM
Got a Cabbie port in progress, though I fear I may have mangled it a bit too much. Feedback please before I go too far. :P
Title: Re: Philips Gogear SA9200
Post by: kugel. on January 18, 2010, 05:58:31 PM
Maybe it should more look like the e200 cabbiev2.
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on January 19, 2010, 11:56:12 PM
All that's really left to do is some artwork for certain plugins as well.
Title: Re: Philips Gogear SA9200
Post by: Strife89 on January 29, 2010, 11:49:14 AM
Updated to resemble the e200 version.
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on February 02, 2010, 10:28:23 PM
Looks much better. This is currently on Flyspray as FS#10937 (http://www.rockbox.org/tracker/task/10937) if anyone would like to see it in action.

I'll be committing this soon enough.

What's left to be done is to enable the plugins (yes, I know, I keep saying that! :P), but some plugins that need artwork (rockblox for example) can not be enabled until we get that artwork in. So those have to be temporarily disabled in SOURCES.
Title: Re: Philips Gogear SA9200
Post by: ishottuify on May 01, 2010, 07:50:27 PM
just wondering...
what is the status on this port...?
Title: Re: Philips Gogear SA9200
Post by: yapper on May 01, 2010, 08:05:09 PM
Look here: http://www.rockbox.org/ (in the Unusable Ports section on the front page)
Title: Re: Philips Gogear SA9200
Post by: Strife89 on May 02, 2010, 06:11:26 PM
Basically, the only thing keeping this port from going into Unstable (and therefore supported) status is the lack of images for the plugins. Convert them (properly!) for use on the GoGear, and this port will likely be ready to roll in a very short time.
Title: Re: Philips Gogear SA9200
Post by: jaylee on July 07, 2010, 07:00:31 AM
how to test the converted images?
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 12, 2010, 07:38:35 AM
You can test them via the UI simulator once you convert them.

And yes, I keep saying "I'll commit this" and "I'll commit that", but real life comes first, unfortunately.

Strife89: I think you may have to update the cabbiev2 version for the GoGear SA9200 to use all of the new WPS tags.
Title: Re: Philips Gogear SA9200
Post by: jaylee on October 12, 2010, 08:35:40 AM
I've got a sa9400/00(4GB version), there's a pp5022c in it. it seems not all sa9200 equipped with pp5024
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 12, 2010, 08:46:20 AM
If there's a different CPU, it may need another port developed for it.

If none of the hardware is too drastically different from the SA9200, the existing port just *may* work, but I absolutely cannot guarantee that.

If you're daring enough, have a go at opening your SA9400 and looking at the innards. Scans of the chips and compenents are always good.
Title: Re: Philips Gogear SA9200
Post by: Strife89 on October 12, 2010, 03:04:02 PM
Strife89: I think you may have to update the cabbiev2 version for the GoGear SA9200 to use all of the new WPS tags.

I'll work on it eventually. >.<
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 15, 2010, 08:40:13 AM
Take your time. :)
Title: Re: Philips Gogear SA9200
Post by: jaylee on October 16, 2010, 07:20:44 AM
I've got a sa9400/00(4GB version), there's a pp5022c in it. it seems not all sa9200 equipped with pp5024
::)I was wrong, there's a pp5024 in my sa9400. I've uploaded some photos of the pcb, link:
http://ifile.it/pljq69y/sa9400.zip
Title: Re: Philips Gogear SA9200
Post by: toffe on October 16, 2010, 03:05:55 PM
Looking at the photos, the 9400 is a 9200 with 4gb memory.
The boards are the same , there is just one more memory on the 9400.
So Rockbox should be working like on the 9200
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 18, 2010, 07:51:39 AM
jaylee, try building the SA9200 port and running it on your SA9400. If it works, we'll revise the port name to "GoGear SA9x00 series" instead of just "GoGear SA9200".
Title: Re: Philips Gogear SA9200
Post by: b0hoon on October 18, 2010, 08:59:08 AM
I've seen the SA9100 somewhere too (1GB). Here: http://www.reviewcentre.com/reviews156585.html
Title: Re: Philips Gogear SA9200
Post by: toffe on October 18, 2010, 09:47:54 AM
Post the picture of the board of the sa9100 :)
Title: Re: Philips Gogear SA9200
Post by: b0hoon on October 18, 2010, 02:03:33 PM
The problem is obvious - i don't have one. I've tried to buy it on a local "ebay thing", but i've missed it. Maybe in the future, but i'm 99 percent sure that it's the same mainboard, only with different flash (size) and there is no need to post the picture. :)
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 18, 2010, 02:06:57 PM
b0hoon: Confirmed, straight from Philips: http://www.p4c.philips.com/cgi-bin/dcbint/cpindex.pl?ctn=SA9100/05&scy=gb&slg=en

So that means that technically, we basically can use Rockbox on the entire SA9x00 lineup.
Title: Re: Philips Gogear SA9200
Post by: jaylee on October 19, 2010, 08:11:07 AM
I've tried, current SA9200 port works well on my SA9400.
I've seen some SA9210/SA9410 (sa9200 or sa9400+FM radio), but I didn't purchase any. They may be out of stock now.
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 19, 2010, 08:15:49 AM
Thanks for that bit of information. I've seen some SA9210 units on occasion when I browse eBay, but never thought of buying one. If I see another one again, I'll buy it and pop it open to see what the FM radio hardware is.

The SA9x00 series works well enough now that we should be able to start working in an install process into Rockbox Utility for it.
Title: Re: Philips Gogear SA9200
Post by: b0hoon on October 19, 2010, 01:58:37 PM
b0hoon: Confirmed, straight from Philips: http://www.p4c.philips.com/cgi-bin/dcbint/cpindex.pl?ctn=SA9100/05&scy=gb&slg=en

So that means that technically, we basically can use Rockbox on the entire SA9x00 lineup.

Well, a bit off-topic but i'm wondering about the names of the other Gogear series and i think it is messy. For example: we have the Gogear 1630. But it can be without the radio, so there are models: 1420, 1620, 1820 (second number is the size of the drive). Models with the radio have 3 instead of 2 on the third position, so we have: 1430 (may not exist), 1630, 1830 (may not exist).  There is also 1635, but closely unknown. The Gogear HDD6330 can be without the radio too (HDD6320). So instead of the text on the main page "Philips GoGear HDD1600, HDD1800, HDD6300 and SA9200" should be something like "Philips GoGear HDD1000 series,  Gogear HDD6300 series and Gogear SA9000 series" (IMO). Not to mention that the Wiki page is in a mess.
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 20, 2010, 07:44:23 AM
Here are the last few obstacles in our way before the port can even be considered promoted from "Unusable" status:


Since the current installation method requires one to put the SA9x00 into recovery mode first, then follow a good number of steps, this should be priority one.
Title: Re: Philips Gogear SA9200
Post by: gevaerts on October 20, 2010, 07:53:26 AM
If I read those instructions correctly, it seems like the easiest way to simplify installation would be to have USB support in the bootloader.
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 20, 2010, 08:11:06 AM
Yes, we need to whittle down the number of steps to get Rockbox installed. If I'm also reading the instructions correctly, then we need to also have the bootloader applied sooner.
Title: Re: Philips Gogear SA9200
Post by: b0hoon on October 20, 2010, 08:58:28 AM
Why is not possible to make the dual boot for SA? When the 16MB partition is visible in the recovery mode we can write the Rockbox bootloader, just like in case of any other PP, no? This recovery mode is similar to any other UMS mode in the PP original bootloaders (targets with the HDD), so installation would be similar like in case of Iriver H10, or PB Vibe, or whatever.
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 20, 2010, 10:18:13 AM
Why is not possible to make the dual boot for SA?

I'm sure we could possibly make the bootloader on the SA9x00 series dual-boot between Rockbox and the OF, but no one's bothered working on that yet. We could work on the bootloader code and implement that functionality in, or just leave it and let Rockbox completely take over the OF on this device, like I had mentioned regarding the HDD63x0 as well.
Title: Re: Philips Gogear SA9200
Post by: gevaerts on October 20, 2010, 10:37:08 AM
This recovery mode is similar to any other UMS mode in the PP original bootloaders (targets with the HDD), so installation would be similar like in case of Iriver H10, or PB Vibe, or whatever.

Actually I doubt that. It sounds closer to the recovery mode in the PP sansas, i.e. a ramdisk-based filesystem that doesn't have any OF code on it.
Title: Re: Philips Gogear SA9200
Post by: b0hoon on October 20, 2010, 10:38:51 AM
Please be patient about HDD6330 i will have a solution for dual boot on it soon :D.
Title: Re: Philips Gogear SA9200
Post by: lowlight on October 20, 2010, 02:47:43 PM
USB support in the RB bootloader would be the easiest installation, but sometime ago I made a patch to installing Rockbox based off the procedure for the Gigabeat S using sendfirm via MTP.
http://www.rockbox.org/irc/log-20090626#22:13:55
http://drop.io/low_light/asset/sa9200-bootloader-patch
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 20, 2010, 02:53:27 PM
Will this patch still apply against the current SVN?
Title: Re: Philips Gogear SA9200
Post by: lowlight on October 20, 2010, 03:34:14 PM
Will this patch still apply against the current SVN?

Doubtful since that patch is from over a year ago. Then again, the bootloaders don't tend to change very much, so maybe. ;D If some chunks fail, they can probably be applied manually. I don't think the patch was too complicated.
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 20, 2010, 04:17:28 PM
Tried the patch linked, and several hunks failed. Here are the gory details:

Code: [Select]
gallifrey:rockbox rmenes$ patch -p0 < sa9200-bootloader.patch
patching file bootloader/main-pp.c
Hunk #1 succeeded at 453 (offset 13 lines).
Hunk #2 succeeded at 622 (offset 14 lines).
Hunk #3 FAILED at 677.
1 out of 3 hunks FAILED -- saving rejects to file bootloader/main-pp.c.rej
patching file bootloader/gigabeat-s.c
Reversed (or previously applied) patch detected!  Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file bootloader/gigabeat-s.c.rej
patching file bootloader/common.c
Hunk #1 FAILED at 34.
Hunk #2 succeeded at 240 (offset 6 lines).
1 out of 2 hunks FAILED -- saving rejects to file bootloader/common.c.rej
patching file bootloader/common.h
Hunk #1 succeeded at 46 with fuzz 1.
Title: Re: Philips Gogear SA9200
Post by: lowlight on October 20, 2010, 04:39:51 PM
Looks like you'll have to apply manually.  ;D
I can't look at it atm, but from what I remember, I was copying the untar() function from gigabeat-s.c to common.c. The changes to main-pp.c almost apply, so hopefully you can see where the last block fits.
Title: Re: Philips Gogear SA9200
Post by: jaylee on October 20, 2010, 11:56:32 PM
In TargetStatus wiki page,  it's described some clicks/pops during playback on SA9200, but I didn't hear any on my player. It's been solved?
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on October 21, 2010, 05:39:02 AM
Mine doesn't have any clicks or pops either. The wiki should be updated.

(EDIT) The wiki's been updated. Audio playback on the SA9x00 has been pop and click-free for some time now.
Title: Re: Philips Gogear SA9200
Post by: jaylee on November 17, 2010, 05:37:48 AM
a "cabbie" wps, uses the same artwork as the Strife89's version
Title: Re: Philips Gogear SA9200
Post by: uNreal on December 27, 2010, 04:54:32 PM
Hello, I have Philips SA9325 which looks very similar to 9200, but I have trouble getting the "16-mb-format" disk to appear. The player is recognized as a recovery device, but no flash disk is found.
Any ideas ?
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on December 28, 2010, 07:11:01 PM
Start a new thread for this device. AFAIK the SA9325 has different internal hardware compared to the SA9200.
Title: Re: Philips Gogear SA9200
Post by: LambdaCalculus on February 25, 2011, 12:39:20 PM
The SA9200 is now a usable target, so I'm going to lock this thread.

Any further development info can be discussed in IRC or on the -dev mailing list.