Rockbox Technical Forums

Rockbox Development => New Ports => Topic started by: vcf on October 27, 2007, 06:17:11 AM

Title: iriver clix2 port
Post by: vcf on October 27, 2007, 06:17:11 AM
what do you think about this port?as i know clix2 has another platform then clix.....lets find some pictures of clix2 inside!
Title: Re: iriver clix2 port
Post by: markun on October 27, 2007, 06:58:53 AM
Here you go:

http://forum.mp3store.pl/index.php?showtopic=17685

Didn't find the original imp3.net page.

Same CPU as the Cowon D2 (Telechips TCC7801)
and another Wolfson code (WM8731S)

Best thing for you to do is start a page in the rockbox wiki, collect all the info there and find some other Clix2 owners to help you out with the port.

Good luck!
Title: Re: iriver clix2 port
Post by: vcf on October 27, 2007, 08:41:19 AM
thanks.but i am an absolout beginner!could you please tell me how to create wiki page?all users of clix2 please discuss this!
Title: Re: iriver clix2 port
Post by: linuxstb on October 27, 2007, 09:11:20 AM
You could also look at the thread discussing porting Rockbox to the Cowon D2:

http://forums.rockbox.org/index.php?topic=10164.0

Title: Re: iriver clix2 port
Post by: LambdaCalculus on October 27, 2007, 09:05:49 PM
vcf: Did you actually go to the #rockbox channel on IRC and ask for permission?
Title: Re: iriver clix2 port
Post by: saratoga on October 28, 2007, 02:50:18 AM
You need to request write permission to the wiki on the IRC channel.

Also, I swear, if you double post again I'm going to delete this entire thread.  Unless you're 12 theres no excuse for being so annoying.
Title: Re: iriver clix2 port
Post by: linuxstb on October 28, 2007, 06:11:19 AM
Looking at the firmware upgrade file for the Clix2, it appears to be in a completely different format to all the other Telechips devices, even the D2 (which uses the same CPU).

So the work done to reverse-engineer the Telechips firmware file format isn't going to help on the Clix2.

However, tcctool might still work - you need to find out if there is a way to enter USB boot mode.  This is normally done by holding a key when turning the player on.  You can recognise that the device is in USB boot mode because the LCD won't power on, but the device will still be recognised as a USB device (but not USB Mass Storage device) by a PC.
Title: Re: iriver clix2 port
Post by: vcf on October 29, 2007, 08:43:12 AM
well if you want to upgrade from to clix2 without frimware upgrader you should copy a file with .hex extincion in the players root as i know.
to enter USB boot mode which key should i hold  when turning the player on?
Title: Re: iriver clix2 port
Post by: linuxstb on October 29, 2007, 08:44:20 AM
to enter USB boot mode which key should i hold  when turning the player on?

That is something you need to discover.  It's possible that the Clix2 doesn't have such a button.
Title: Re: iriver clix2 port
Post by: vcf on October 29, 2007, 09:08:23 AM
no clix2 hasnt got this button.is there another way to enter usb boot mode?
Title: Re: iriver clix2 port
Post by: linuxstb on October 29, 2007, 09:22:20 AM
Did you try all possible buttons (and maybe combinations of buttons) ?

The Logik DAX player that I'm currently porting Rockbox to doesn't have a standard button to enter USB boot mode either.  I discovered two other ways to enter it:

1) Disassemble the player and physically disconnect the NAND flash from the main board.  The Telechips CPU appears to default to USB boot mode if there is no NAND flash available...

2) The main board on my player has some contacts near the CPU, marked "USB" and "NAND".  Normally the "NAND" contacts are soldered together.  By unsoldering them, and attaching a switch I am now able to choose either NAND or USB boot mode.  You can see these contacts on this photo of my player - just to the left of the CPU:

http://www.davechapman.f2s.com/logik/main_board.jpg
Title: Re: iriver clix2 port
Post by: vcf on October 29, 2007, 09:52:30 AM
it seems to me that one time i really opened usb boot mode!but the second time i tryed it the pc wont recognize clix2!when i choosed nand it worked like a usb mass storage again.but if we can turn clix2 into usb boot mode for what do we need that?we wont disassemble clix2 every time when we want to run rockbox,wont we?
Title: Re: iriver clix2 port
Post by: linuxstb on October 29, 2007, 10:19:08 AM
it seems to me that one time i really opened usb boot mode!but the second time i tryed it the pc wont recognize clix2!when i choosed nand it worked like a usb mass storage again.but if we can turn clix2 into usb boot mode for what do we need that?we wont disassemble clix2 every time when we want to run rockbox,wont we?

I'm sorry, I don't understand what you're saying.

You say that "one time i really opened usb boot mode" - exactly what did you do, and exactly what happened on your PC?   If you did it once, then that means your Clix2 has a way to access it.
Title: Re: iriver clix2 port
Post by: vcf on October 29, 2007, 10:26:08 AM
i did this 1) Disassemble the player and physically disconnect the NAND flash from the main board.  The Telechips CPU appears to default to USB boot mode if there is no NAND flash available...  but it worked only one time!the pc showed it like a usb device!oyher times i tryed this the pc didnt show anything!
all other people who are intersted in port to clix2 please try on of this ways to recognize usb boot mode to make sure that it works!
Title: Re: iriver clix2 port
Post by: vcf on October 29, 2007, 03:02:56 PM
yes!i did it!the pc recognizes clix2 like a usb device without nand flash(or whe usb is choosed)what does that give?is that important which way we use to enter usb boot mode? what should we do next?for what i was cheking the usb boot mode?are there pleers with telechips which havent got usb boot mode?
Title: Re: iriver clix2 port
Post by: vcf on October 31, 2007, 08:59:21 AM
linuxstb what way to acces do we have?
Title: Re: iriver clix2 port
Post by: Bagder on October 31, 2007, 10:28:42 AM
When the target boots in usb boot mode, you can use tcctool to transfer code to it that then is ran on the target. A good way to develop/test things for it...
Title: Re: iriver clix2 port
Post by: vcf on November 03, 2007, 11:04:18 AM
what is tcctoll?where can i download it?how to transfer the code?
Title: Re: iriver clix2 port
Post by: Bagder on November 03, 2007, 11:22:12 AM
tcctool is the Rockbox tool for transferring code to a tcc chip over usb:

http://svn.rockbox.org/viewvc.cgi/trunk/utils/tcctool/

It transfers code over usb. You build it yourself from source. You most probably use linux for both the build and the transfer/use of the tcctool.
Title: Re: iriver clix2 port
Post by: weswes on March 12, 2008, 05:43:37 AM
So, does any progress have been made? I'm waiting my clix2 8gb and when it arrives i can help.
Title: Re: iriver clix2 port
Post by: vcf on March 12, 2008, 09:16:04 AM
no there hasnt been any progress yet. i had clix2 but it died :( so now i am not intersted in this port. i asked arround iriver community and didnt find anyone hw wants the port. hope you will have more luck  ;D