Anybody built gargoyle on OpenWrt trunk recently?

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

frederikv
Posts: 11
Joined: Sun Nov 15, 2009 7:43 am

Anybody built gargoyle on OpenWrt trunk recently?

Post by frederikv »

Did anybody succeed in building the gargoyle packages on OpenWrt's trunk recently? In order to install IPSec, I need a few extra kernel packages (see https://forum.openwrt.org/viewtopic.php?id=30982) Those are only being built in trunk at the moment, not in the Backfire branch.

Alternatively, can someone help me understand how I can apply the patches that enable these extra kernel modules to be built on Gargoyle's source?

frederikv
Posts: 11
Joined: Sun Nov 15, 2009 7:43 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by frederikv »

Two problems building gargoyle on trunk at the moment:

1. The first cyassl patch appears to be no longer necessary.
2. gargoyle_header_footer.c doesn't build, because uci_add_history_path isn't in uci.h anymore. Not sure what the purpose of that function was - it was used twice only. The package builds after commenting out those 2 lines.

Haven't tested whether the resulting build works...

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by DoesItMatter »

I just did a build this weekend of the latest Gargoyle git
and also used the latest trunk version
(blanked out the version # in the config file)

Seemed to compile fine for me without any issues.

I only compiled the AR71xx branch though.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

frederikv
Posts: 11
Joined: Sun Nov 15, 2009 7:43 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by frederikv »

Building things that way actually still results in kernel .32 being used - because that's the current one in the backfire branch, which doesn't have the ipsec patches referenced in the original post. Checking out trunk OpenWrt & building gargoyle on top of that does build both with those patches applied (using kernel 2.6.39) - but there's 2 problems doing the build.

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by DoesItMatter »

If you build the Atheros AR71xx builds, send me the 2 files for
the WZR-HP-G300NH. I'll try and test them out because if it goes bad,
I can do a serial recovery on mine, I already have the serial cable.

Not sure if you can send attachments here via PM, but I believe you
can add an attachment to the post, or upload it to some type
of Media fire location.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

frederikv
Posts: 11
Joined: Sun Nov 15, 2009 7:43 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by frederikv »

Thanks for the offer! I uploaded the factory.bin and the sysupgrade.bin for the G300NH to mediafire.

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by DoesItMatter »

frederikv wrote:Thanks for the offer! I uploaded the factory.bin and the sysupgrade.bin for the G300NH to mediafire.
OK...

Before I even download these things and try them, I notice something.

Every build I have compiled (and tested working)
as well as every build I've downloaded from here,
has been right at 5MB for the file, either sysupgrade or factory.

Your files are 3.88MB and I don't see any compression.

Have you changed anything else on the builds?
Thats a lot of stuff missing for a firmware build.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

frederikv
Posts: 11
Joined: Sun Nov 15, 2009 7:43 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by frederikv »

I'm not 100% sure the image actually includes the gargoyle interface. I know the packages have been built. I started of from OpenWrt trunk, and don't know whether I did things right to also include them in the image. Main thing to verify first is that this image actually boots into OpenWrt... If it has the gargoyle interface immediately, that's a nice-to-have.

Attached the .config for reference.
Attachments
config.rar
(18.88 KiB) Downloaded 457 times

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by DoesItMatter »

OK - yea, I see OpenWRT Backfire RC5

The WZR-HP-G300NH files are at 3.4MB

Your version is 3.8MB - so yea, most likely does not have
the Gargoyle interface included.

I will do this on Friday - won't have time until then.

Will flash it Friday night and post the results.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by DoesItMatter »

Frederikv,

I'm still learning the compiling, etc.

I have Ubuntu 10.10 - 64bit installed and can compile the basic
Gargoyle packages, but what I'm looking for is

1) Backfire RC5 or latest trunk for ADM8668 + Luci web gui
2) Gargoyle compiled with that same architecture.

I've tried compiling OpenWRT backfire RC5 from source and got
an image that flashes, but it doesn't include the Luci interface.

Do you know how to compile that in?
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

Post Reply