I'm interested in learning how to compile builds

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

Post Reply
CarpeNoctem
Posts: 51
Joined: Fri Mar 06, 2015 11:15 am

I'm interested in learning how to compile builds

Post by CarpeNoctem »

I've been a member of this amazing community for about 3 months and I have re-learned a lot about routing, QoS and networking in general.

I want to be more helpful to the members, so I'd love to refresh my Linux-Fu and learn how to compile custom Gargoyle builds, specially if it means I can integrate features from other firmwares like CeroWRT in my ongoing pursuit for the perfect latency (I know, I know, no such thing, but a geek can dream).

I'd love some replies from folks who have the patience or resources to help me in my quest.

Thanks in advance.

PS: In hindsight, this post might be better suited in Gargoyle Development. Mods, feel free to move it.

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: I'm interested in learning how to compile builds

Post by tapper »

moved mate.

Sorry i cant help you out. I have never mest about with Linux much. I wood like to but the screenreaders in Linux are crap! lolThat's why i mes about with router firmware. all thow
i brake more than i fix lol
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

CarpeNoctem
Posts: 51
Joined: Fri Mar 06, 2015 11:15 am

Re: I'm interested in learning how to compile builds

Post by CarpeNoctem »

tapper wrote:moved mate.

Sorry i cant help you out. I have never mest about with Linux much. I wood like to but the screenreaders in Linux are crap! lolThat's why i mes about with router firmware. all thow
i brake more than i fix lol
No worries, I'm sure if I keep breaking 'em eventually I'll learn to make 'em hehe

Lantis
Moderator
Posts: 6920
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: I'm interested in learning how to compile builds

Post by Lantis »

The documentation for this is actually really well written. I got it to work on my second attempt. Attempt 1 I didn't give enough virtual hard drive space to my VM lol.

Start here. http://www.gargoyle-router.com/wiki/dok ... umentation

1. Set up a Linux distro to work in. I picked Ubuntu under VM in Windows.
2. git clone http://github.com/ericpaulbishop/gargoyle.git
3. You need to get all the tools to build, run the relevant sudo apt-get for your machine.
4. Change directory to /gargoyle
5. Do a "make FULL_BUILD=true ar71xx.usb_large" or whichever is relevant to your router.
6. Set computer to not sleep.
7. Walk away. My first build which produced only the images for usb large ar71xx took 4-5 hours.

Obviously if you want to make code changes then do all this before step 5.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: I'm interested in learning how to compile builds

Post by nworbnhoj »

Thanks - I will have a play around with this too at some stage. However, currently I am on a small (18GB/mth), expensive, 3G Internet connection feeding a family with 2 teenagers. On a brighter note, there is a shiny new NBN fixed wireless tower within view :) but still dark :(

I have a couple of plugin ideas ...
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

Lantis
Moderator
Posts: 6920
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: I'm interested in learning how to compile builds

Post by Lantis »

Your first build will need to download a bunch of stuff. I didn't measure it, but if I had to guess, 2GB. Can't confirm though.

I have a few plugin ideas too but life keeps getting in the way :P
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

CarpeNoctem
Posts: 51
Joined: Fri Mar 06, 2015 11:15 am

Re: I'm interested in learning how to compile builds

Post by CarpeNoctem »

Thanks for the replies.

If in theory I wanted to include code from another firmware, say the SQM component of CeroWRT, would I have to download both images?

Lantis
Moderator
Posts: 6920
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: I'm interested in learning how to compile builds

Post by Lantis »

Probably easiest and then you can manually play with it.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply