From owner-freebsd-mips@FreeBSD.ORG Sat Aug 31 22:15:42 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2AC4961A; Sat, 31 Aug 2013 22:15:42 +0000 (UTC) (envelope-from harm@weites.com) Received: from server1.weites.net (mail.weites.com [89.188.29.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AAB282723; Sat, 31 Aug 2013 22:15:40 +0000 (UTC) Received: from [10.14.92.96] (5ED685D2.cm-7-7c.dynamic.ziggo.nl [94.214.133.210]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: harm@weites.com) by server1.weites.net (Postfix) with ESMTPSA id 4237872255; Sun, 1 Sep 2013 00:09:51 +0200 (CEST) Message-ID: <1377986990.2748.49.camel@manbearpig> Subject: Re: TP-Link 1043ND - its tme :) From: Harm Weites To: Adrian Chadd Date: Sun, 01 Sep 2013 00:09:50 +0200 In-Reply-To: References: <29fffe4d56621c3b61e64a4e37dbae50.squirrel@arroway.org> <1377974793.2748.33.camel@manbearpig> Content-Type: multipart/mixed; boundary="=-F1ew/C855zdSAnOBCKIA" X-Mailer: Evolution 3.8.4 (3.8.4-2.fc19) Mime-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2013 22:15:42 -0000 --=-F1ew/C855zdSAnOBCKIA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi, I am using the attached script as a base to build several ports I needed. It gets the job done, though sometimes requiring some patching of makefiles. This depends, ofcourse, on your toolchain and a checkout of HEAD. Regards Adrian Chadd schreef op za 31-08-2013 om 14:22 [-0700]: > Cool! How'd you build the MIPS versions of dropbear, etc? > > > > > On 31 August 2013 11:46, Harm Weites wrote: > Hi, > > For what its worth, this is my setup. I'm running 2 of the TP > Link units > configured as Quagga routers, though the kernel is already > running > behind quite a bit: > > FreeBSD 10.0-CURRENT #5 r249821M > > Mem: 10M Active, 2368K Inact, 11M Wired, 916K Cache, 1504K > Buf, 1340K > Free (yes, I also installed top) > > Processes: > - dropbear > - dhcprelya > - ospfd > - zebra > - ospf6d > - hostapd > - dhclient > > The other unit is running bgpd (which is a massive binary) > instead of > hostapd. I'm not using USB on either one them and I've removed > several > of the binaries from the rootfs created by Adrian's scripts. I > also left > out newfs stuff and the ability to do nfs mounts. > > Make sure you have MALLOC_PRODUCTION=YES in make.conf and > configure > bin/build_freebsd to use it: > __MAKE_CONF=/etc/tplinkmake.conf SRCCONF=/dev/null > > Some changes to the TP-Link kernel config > (sys/mips/conf/TP-WN1043ND): > > +options NBUF=128 > +nooptions INVARIANTS > +nooptions INVARIANT_SUPPORT > +nooptions WITNESS > +nooptions WITNESS_SKIPSPIN > +nooptions IEEE80211_DEBUG > +nooptions IEEE80211_SUPPORT_MESH > +nooptions IEEE80211_SUPPORT_TDMA > +nooptions IEEE80211_ALQ > +nooptions ATH_DEBUG > +nooptions ATH_DIAGAPI > +nooption ATH_ENABLE_11N > +nooption AH_DEBUG_ALQ > +nooptions AH_DEBUG > +nooption AH_DEBUG_ALQ > > Regards, > Harm > > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to > "freebsd-mips-unsubscribe@freebsd.org" > > > --=-F1ew/C855zdSAnOBCKIA--