Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: goblue829 on July 22, 2008, 12:55:47 PM

Title: Where can I download the Rockbox Development Kit?
Post by: goblue829 on July 22, 2008, 12:55:47 PM
Where can I find the dev kit for patching available for download?  The only link I found was dead, I think the server moved. 

I need your help or else I can't patch!  :'(
Title: Re: Where can I download the Rockbox Development Kit?
Post by: tomkiewicz on July 22, 2008, 01:10:18 PM
are you talking about "current build -> source code"? If you don't have linux tools to patch and compile that, there is one distro: opensuse.org
Title: Re: Where can I download the Rockbox Development Kit?
Post by: goblue829 on July 22, 2008, 01:13:54 PM
What I need is the link to download the Development Kit for Rockbox as it says so in this beginners guide to patching.

http://rasher.dk/rockbox/WikiRescue/SimpleGuideToCompiling-r1.86%20-%2009-01.html

I'm a Rockbox n00b so try not to get to technical.   ;D
Title: Re: Where can I download the Rockbox Development Kit?
Post by: LambdaCalculus on July 22, 2008, 01:16:05 PM
Check out the CrossCompiler (http://www.rockbox.org/twiki/bin/view/Main/CrossCompiler) and DevelopmentGuide (http://www.rockbox.org/twiki/bin/view/Main/DevelopmentGuide) pages for more information.
Title: Re: Where can I download the Rockbox Development Kit?
Post by: goblue829 on July 22, 2008, 01:19:19 PM
I'm sorry.  I really am new to this.  I don't quiet understand these links you gave me.  I'm just going off of what the guide that I posted earlier said.

Is there a different, easy method to install patches that someone could tell me?  I really am confused on how to apply them.
Title: Re: Where can I download the Rockbox Development Kit?
Post by: Febs on July 22, 2008, 01:22:56 PM
What I need is the link to download the Development Kit for Rockbox as it says so in this beginners guide to patching.

http://rasher.dk/rockbox/WikiRescue/SimpleGuideToCompiling-r1.86%20-%2009-01.html

I'm a Rockbox n00b so try not to get to technical.   ;D

The link that you posted is to an archived web page that is almost three years old and substantially out of date.  Here is a link to the current version of that page:

http://www.rockbox.org/twiki/bin/view/Main/WorkingWithPatches?topic=SimpleGuideToCompiling
Title: Re: Where can I download the Rockbox Development Kit?
Post by: goblue829 on July 22, 2008, 01:28:06 PM
Will this method work?

 I copy and paste the patch code to my downloaded Rockbox source code at the bottom and put the source code into the root of my player's drive (F:/.rockbox)?

I know it's very simple but will it work?

If not try to explain how to patch in the simplest terms you can?

Please, I really want to learn how to patch but don't quite understand it all yet and need a slow start.
Title: Re: Where can I download the Rockbox Development Kit?
Post by: MarcGuay on July 22, 2008, 01:30:50 PM
Nope.  Read the page Febs provided a link to - it's a bit more involved than that.
Title: Re: Where can I download the Rockbox Development Kit?
Post by: goblue829 on July 22, 2008, 01:33:26 PM
O.k, I see I can use Cygwin or SVN, but installing and using these look very complicated.  I am new to this, you know.

Any other methods anyone can describe.

(P.S thanks for all the help and fast replies so far guys)
Title: Re: Where can I download the Rockbox Development Kit?
Post by: LambdaCalculus on July 22, 2008, 01:48:33 PM
If you're using Windows, you have to install Cygwin. It's not very complicated at all, and the Cygwin site has a lot of really good documentation to read:

http://www.cygwin.com
Title: Re: Where can I download the Rockbox Development Kit?
Post by: goblue829 on July 22, 2008, 02:22:51 PM
Yes!  Finnaly I understand it!  :D

Cygwin is installed and I learned how to use it.

One last thing is, when I have compiled the source code with all the patches I want in it, do I save it to my iPod's root in the .rockbox folder.   If so, any files I need to replace?
Title: Re: Where can I download the Rockbox Development Kit?
Post by: LambdaCalculus on July 22, 2008, 02:27:28 PM
If you read the SimpleGuideToCompiling wiki page, you'll see that you run ../tools/configure, set up your device as you need, then run "make && make zip". Once that's done, just open the resulting rockbox.zip file and extract it to the root of your iPod. Simple, no?
Title: Re: Where can I download the Rockbox Development Kit?
Post by: goblue829 on July 22, 2008, 02:40:48 PM
Yes, very simple.

Except, for some reason the cygwin bash shell won't recognize any of my commands.


What gives?  ???
Title: Re: Where can I download the Rockbox Development Kit?
Post by: LambdaCalculus on July 22, 2008, 02:41:41 PM
Did you follow the instructions on the CrossCompiler page?
Title: Re: Where can I download the Rockbox Development Kit?
Post by: goblue829 on July 22, 2008, 02:57:02 PM
Cygwin is now reading my commands.  ;D

But, the last problem is that when I downloaded the source code it's filename wasn't rockbox-daily-XXXXXXXX.tar.tar like its supposed to be.  It's rockbox.7z

What should I do?  Is there a different download link I'm supposed to click?

What I did was clicked on "current build" clicked on "source code" then saved the file.  Was that wrong?
Title: Re: Where can I download the Rockbox Development Kit?
Post by: stripwax on July 22, 2008, 03:14:18 PM
Nowhere in the instructions does it tell you to enter just cd, nor dir.  Are you sure you are following the right instructions?
I'm sure the commands you are entering are working:  cd on its own will not change directory, so will not output anything, so will give the appearance of doing nothing.  dir on its own will print out nothing, if you run it from a directory that is empty.

Please read this page:

http://www.rockbox.org/twiki/bin/view/Main/HowToCompile

If you've already downloaded the source code into a folder that you created, at the least you would need to cd into that directory first.  Also the instructions don't say to create a C: Rockbox folder, but you can create this folder anywhere you like.  If you got the source code from svn (i.e. the first section on the above page, and read the article UsingSVN if you don't know what that means), then it will download the source into the current directory so, again, if you create a new folder for the purpose of building rockbox, cd into that directory before running the svn command
Title: Re: Where can I download the Rockbox Development Kit?
Post by: goblue829 on July 22, 2008, 03:41:32 PM
Yes, Cygwin is reading all my commands except "daily".  so once i get past cd and dir it says daily is not a command.  I don't understand why this one doesn't work.
Title: Re: Where can I download the Rockbox Development Kit?
Post by: LambdaCalculus on July 22, 2008, 03:46:25 PM
daily isn't a command. I suggest that you start learning a little bit about how bash works before attempting anything else right now. This page (http://www.ss64.com/bash/) should get you started.
Title: Re: Where can I download the Rockbox Development Kit?
Post by: goblue829 on July 22, 2008, 03:48:33 PM
If daily is not a command, what are they talking about here:

http://www.rockbox.org/twiki/bin/view/Main/WorkingWithPatches?topic=SimpleGuideToCompiling

It says type daily filename.tar.tar after you type dir.
Title: Re: Where can I download the Rockbox Development Kit?
Post by: LambdaCalculus on July 22, 2008, 03:53:50 PM
If the tar file is too hard to work with, install subversion, and then you can just check out the source code by typing:

Code: [Select]
svn co svn://svn.rockbox.org/rockbox/trunk rockbox

This is much easier to work with, in my opinion.
Title: Re: Where can I download the Rockbox Development Kit?
Post by: cool_walking_ on July 22, 2008, 09:44:05 PM
It looks like someone's created a script called "daily" that's supposed to be there, but for some reason it isn't.  You should be able to extract the .7z file with "p7zip -d filename.7z", after installing p7zip from the Cygwin setup (under "Archive").

Or you could do the "svn" command that LambdaCalculus379 posted, which will take longer, but allow you to keep the source up to date with "svn up".