Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: JdGordon on July 23, 2006, 01:18:31 AM

Title: Build Your Own Rockbox!!
Post by: JdGordon on July 23, 2006, 01:18:31 AM
ok, so i have been a bit bored and decided to give this a try.

You can now have your very own version of rockbox compiled for you while you wait with any patches you want to apply.

Before i give the link, i have to make this clear. There is NO support for builds done by this script. DO NOT ask for help making the patches work.

http://jdgordon.mine.nu:8080/byorb/byorb.php
You need to supply your email address, then choose which rockbox target you want, then put a list of patches you want added into the box and press Submit.

Because this will stress my server a fair bit so it only runs every few hours, (Builds are done at 1am,2am,3am,4am,5am,6am,9am,1pm,3pm,7pm,11pm (all GMT +10)) which shouldnt really be a problem  because most ppl are wide awake during the 1am-9am slot when im sound asleep :D .

Oh, When the build is done you will recive an email so it better be valid :D the email will have a link to the .zip which will be valid for 2 days. If anything fails you will get an email letting you know. DONOT bother replying to the email, its from a fake address.

So, Please use it, and let me know how it goes and what to fix,
I intend to add saving patches locally, and viewing all queued builds to speed everything for everyone.

and remeber.. NO SUPPORT FOR THOSE BUILDS IS AVAILABLE ANYWHERE!
Title: Re: Build Your Own Rockbox!!
Post by: Yotto on July 23, 2006, 08:55:39 AM
That's pretty damn cool.
Title: Re: Build Your Own Rockbox!!
Post by: JdGordon on July 23, 2006, 09:06:37 AM
oopsies...
ok, well, i just checked and there was about 6 builds queued up so i manually ran the script and there was a bug, so if you have placed a request and not got an email yet then redo it.

should be fixed now.
Title: Re: Build Your Own Rockbox!!
Post by: JdGordon on July 23, 2006, 09:13:35 PM
hehe, i had the wrong path in crontab which is why the builds didnt work last night.
So i changed it and its working, except all 6 queed builds failed, so I have finally put in a history keeper thingy so we can see why, presumerably its because the patches were not in sync with cvs.

btw, there is stats on the page now :)
Title: Re: Build Your Own Rockbox!!
Post by: dropandhop on July 23, 2006, 09:55:07 PM
jdgordon,

This is really cool and extrememly helpful for those of us that can't compile our own builds.

Thanks for your great work!

Take care,
A
Title: Re: Build Your Own Rockbox!!
Post by: gursikh on July 23, 2006, 11:30:42 PM
What would be really cool (and even better for lazy people) would be if you could incorporate some sort of "patch browser" so that you can get a nice view of patches on the tracker, easily browse, and then select the patch (check-box, or easy method of copy-paste) you want in "your" build.

A bit Unrealistic I know, but you never know what some people can accomplish.

Also, why is the short name, and Long name necessary?


gursikh
Title: Re: Build Your Own Rockbox!!
Post by: JdGordon on July 24, 2006, 12:34:55 AM
atm it downloads the patches every time a build is done which sux on a few levels (which is one reason short and long name is needed), i plan to change that so it stores them locally so it will give a list of known working patches.

Nothing is unrealistic :D
the compilation script is in perl and the web is php, so if anyone wants to get their hands dirty and add crazy stuff then lemme know (i thought about going the mysql route instead of what its doing now, but thats beyond me..)
Title: Re: Build Your Own Rockbox!!
Post by: JdGordon on July 24, 2006, 04:05:34 AM
ok, updates :)

there is now a list list of patches that are known to work above the text area, you can choose as many of those as u want (hold ctrl to select multiple items), you can also add your own like before...

You now dont need to put the short name for patches, and there is better erro checking in the build script, so that yukky stats number (presenlty 1:11 good:bad) can get better :)
Title: Re: Build Your Own Rockbox!!
Post by: lenny on July 24, 2006, 04:07:19 AM
so if anyone wants to get their hands dirty and add crazy stuff then lemme know
I'm not promising anything, but I'd like to look at your code and see what happens

I'll pm you my email
Title: Re: Build Your Own Rockbox!!
Post by: mightybrick on July 28, 2006, 07:31:16 AM
http://jdgordon.mine.nu:8080/byorb/byorb.php

Is your site down?
Title: Re: Build Your Own Rockbox!!
Post by: JdGordon on July 29, 2006, 04:35:07 AM
yes, i was having some technical problems and ive disabled it for the time being (seen as the only 2 successful compiles were both mine i didnt think it would be a huge loss taking it down.)
Title: Re: Build Your Own Rockbox!!
Post by: MU4L on July 29, 2006, 02:35:56 PM
Is there any possibility for this thread to be stickied?
Title: Re: Build Your Own Rockbox!!
Post by: Llorean on July 29, 2006, 05:16:58 PM
Why would we sticky it?
Title: Re: Build Your Own Rockbox!!
Post by: MU4L on July 29, 2006, 05:44:08 PM
It would save you replying with the 'SimpleGuideToCompiling' link to newbs wanting a build, for one  ;)

Secondly, I've a feeling this could be one of those ideas that gradually loses momentum because of lack of any real support or use, simply because it gets "trodden on"/pushed down the hierarchy by the numerous other threads which are usually questions that can be answered/dealt with simply and effectively with one post, but which invariably turn into 8 or 9 post affairs.

I know it's your choice whether it stays up top or is left to the natural order of things, but I just think this is an excellent opportunity to help those who are new to the world of Rockbox and/or those who simply haven't the time to compile things themselves and/or are a little lazy *looks around sheepishly*
Title: Re: Build Your Own Rockbox!!
Post by: Llorean on July 29, 2006, 05:49:06 PM
The world of Rockbox doesn't actually include compiling builds that we will not and cannot support.

I don't want this stickied for two reasons:
1) No matter how much it says in the post we won't support it, stickying it is a way of saying 'we want you to see this because we think it's useful to you' and to many people that signifies our approval of this. While it's not disapproved of, it is far far far from being official / supported.
2) Stickies are reserved for official things. Statements, FAQs, and means of supporting users of the official Rockbox resources. This would dilute that purpose.

You say 'new to the world of Rockbox' but the world of Rockbox isn't really about compiling your own build anyway.
Title: Re: Build Your Own Rockbox!!
Post by: MU4L on July 30, 2006, 09:29:00 AM
OK, no problems, I see where you're coming from  :) .

When I said 'new to the world of Rockbox', I was implying that compiling one's own build falls within that boundary ('the world of Rockbox' being much more than simply what Rockbox is (i.e. a 3rd party open-source firmware)).
Title: Re: Build Your Own Rockbox!!
Post by: LinusN on July 30, 2006, 09:52:59 AM
I would say that Rockbox is very much about compiling your own build. But that involves knowing what you are doing.
Title: Re: Build Your Own Rockbox!!
Post by: Bagder on July 30, 2006, 02:10:10 PM
... and I would say Rockbox is about compiling your own in the same way Linux is compiling your own.

The ones who really want to touch the metal do it, the ones who don't use prebuilds.
Title: Re: Build Your Own Rockbox!!
Post by: Llorean on July 30, 2006, 05:30:38 PM
Sorry, I guess my post should say 'blindly compiling your own build'.

My fear is that with this tool, every single person will have a very different patched build, and the possibility of supporting people will essentially halt. I would very much like it if people who want to compile their own build spend the (relatively little) time and effort to learn to compile it, just so that they're familiar with what is involved and hopefully are a little more aware of the pitfalls, as well as being absolutely conscious of the fact that they have _changed_ something.
Title: Re: Build Your Own Rockbox!!
Post by: JdGordon on July 30, 2006, 07:59:39 PM
isn this whole discussion mute since the webpage is actually down atm and probaably will for some time..?
Title: Re: Build Your Own Rockbox!!
Post by: MU4L on July 30, 2006, 08:01:15 PM
The ones who really want to touch the metal do it, the ones who don't use prebuilds.

Though this tool would give those people the opportunity to (partly, at least) do so too.


It's cool though; I completely understand Llorean's reasons.

On the other hand ( ;D), I would argue that if people noted the author of the patch, and instead got in contact with him/her, rather than jdgordon, it would (or rather 'should') help that patch no-end, and may even propel it toward CVS status ...
Title: Re: Build Your Own Rockbox!!
Post by: Llorean on July 30, 2006, 08:02:22 PM
I'm not against the webpage at all, really. I'm just against stickying it. That puts too much of an 'official' tilt to it, no matter how big your "NOT SUPPORTED" statement is. ;)

I actually hope you get it running soon. If it turns out really well, it could cut the precompiled builds down to a variety of self-made builds so maybe bugs can be tracked to individual patches more easily.
Title: Re: Build Your Own Rockbox!!
Post by: SilleeString on August 01, 2006, 04:56:23 PM
I'll be watching this thread closely, it went unnoticed to me before, but it's a great idea.  Thanks for putting your time into it  :)
Title: Re: Build Your Own Rockbox!!
Post by: mitt on August 17, 2006, 09:12:46 PM
Is the tool dead already or it's just temporary down? I find it great idea and hope to see it alive again.
Title: Re: Build Your Own Rockbox!!
Post by: MU4L on August 20, 2006, 09:52:25 AM
Is the tool dead already or it's just temporary down? I find it great idea and hope to see it alive again.

Well, according to BYORB's author, it's down and is likely to be, for some time.

Other than that, I echo your sentiments  :) ...
Title: Re: Build Your Own Rockbox!!
Post by: fatherfork on August 20, 2006, 10:54:44 PM
yeah, I'd like to try the expanded menu patch... I've got so much reading to do.

FF
Title: Re: Build Your Own Rockbox!!
Post by: JdGordon on August 21, 2006, 12:57:36 AM
well.. i can work on getting this going again... or finish the button action code stuff .. :p
Title: Re: Build Your Own Rockbox!!
Post by: momo_101 on August 21, 2006, 01:15:05 AM
Could you get the tool working again? it'd be great for those of us who can't compile on our computers. :-)
Title: Re: Build Your Own Rockbox!!
Post by: Llorean on August 21, 2006, 01:15:52 AM
That was his way of saying "I'm going to do the actually important stuff I'm working on first."
Title: Re: Build Your Own Rockbox!!
Post by: momo_101 on August 21, 2006, 01:21:14 AM
oh. ok (sorry for the off-topic remark. [this])
Title: Re: Build Your Own Rockbox!!
Post by: tempe on November 21, 2006, 10:04:32 AM
The site is still down, I guess... I just want to point out that I'd be very interested in it since I don't know if I'll be capable of doing this whole compiler stuff on my own. I'm no programmer, and in general I just want to attach one patch.

tempe

Title: Re: Build Your Own Rockbox!!
Post by: crzyboyster on November 22, 2007, 11:35:34 PM
Will this ever be working again?
Title: Re: Build Your Own Rockbox!!
Post by: psycho_maniac on November 23, 2007, 03:45:51 AM
No this will probably not work again, but i think he would be nice enough to give the code to somebody who would keep this up to date. I remember asking this same question and thats what he told me. Although I think if this was created we would have A LOT of unsupported builds and remember custom compiled builds are UNSUPPORTED.