Please help, trying to compile for WRT

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
phythos
Posts: 3
Joined: Thu Mar 24, 2011 5:03 pm

Please help, trying to compile for WRT

Post by phythos »

Hello guys,

I really would appreciate your help..

I'm following the tutorial for compiling sources for OpenWRT, and though the basic code is compiling fine it refuses to install on my system. My router is atheros based (TL-741ND), catting cpuinfo gives:

Atheros AR7240 rev 2
MIPS 24Kc V7.4
mips16

I've tries almost all OpenWRT sdks including the one for ath7xx
Have also tried compiling my own kamikaze sdk for atheros devices and the same things happening, file is compiling fine but when I try to opkg on the router it says (package found but incompatible with architecture).

I tried adding an exception in opkg.conf to accept all, still the same error... once a compiled mipsel installed but it didn't run and produced many errors when executed (expected since the router is mips).

Please help, I really tried everything. Searched the make files for indicators for mips16 etc. options but didn't find any.

Your advice is so appreciated

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

Re: Please help, trying to compile for WRT

Post by DoesItMatter »

http://wiki.openwrt.org/toh/tp-link/tl-wr741nd

What hardware version do you have of the WR741ND ?

Check that page - if its the V2 - it looks like its starting to be
supported, but they are still working on it, and there is no
official OpenWRT image out for it yet - probably a new
Backfire release should have support for it.

I'll be trying to do some OpenWRT / Gargoyle compiling myself
this weekend, hopefully I can figure it out with some help!
: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

phythos
Posts: 3
Joined: Thu Mar 24, 2011 5:03 pm

Re: Please help, trying to compile for WRT

Post by phythos »

Yes mine is a V2 unfortunately.. Is there a possible workaround? Can I for example use MIPS's SDE compiler?

Thanks a lot

phythos
Posts: 3
Joined: Thu Mar 24, 2011 5:03 pm

Re: Please help, trying to compile for WRT

Post by phythos »

It's worth mentioning that the packages in here install fine:
http://downloads.openwrt.org/snapshots/ ... /packages/

I couldn't compile with the sdk in the parent directory (OpenWrt-SDK-ar71xx-for-Linux-x86_64) because its for 64bit computers.

Does this help, can I set some configuration for the ath7xx sdk to allow compiling installable packages?

Thanks again

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

Re: Please help, trying to compile for WRT

Post by DoesItMatter »

OK.

Looks like I got Gargoyle to compile.

I'm using Ubuntu 10.10 - 64-bit

It took a while to compile, like a couple of hours, and I only
compiled the "ar71xx" branch - no others.

Have to also add some extra programs for development in order
for the firmware images to compile.
: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