From owner-freebsd-mips@FreeBSD.ORG Fri Aug 30 12:43:45 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 40027E1D for ; Fri, 30 Aug 2013 12:43:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B5FAF216F for ; Fri, 30 Aug 2013 12:43:44 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id m46so930235wev.20 for ; Fri, 30 Aug 2013 05:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=dVSzXA4Gt9OmkC2IKVttHJnPYgGz22oIEbIJGQOjYgM=; b=qsTr26WfgR/pE7t+hO8Ty7ApKXTeYk4/qV4G7DFu2OKAw6aIES50ucWxGSpBB2pC0u 6yVMgQQfPh+iSGxO9TuL0EJBS8WlGuqbkrWN+aMG/geTF4qk0RO1teFIetAefbBd/QPn eDkanhEuvKPetixhLl9PTz0mJTGMSzC6BUDlqo8/fzs3W0mw5rU0jmnqa0glEGYm6BxY bHS5sVYIhiaL2MvH9yIPMAGLkKujllq/eXJN6FUkUluG+b1ZpBN6hjRjbIUdVMrARgYQ 9pSeaVMQTbukcAjTcQXw8XIx0SD6bC4cDVlkZ7ER8L5XbGSuXoKBQzXlAgQ+TebEk5R4 mB1w== MIME-Version: 1.0 X-Received: by 10.194.176.163 with SMTP id cj3mr10747443wjc.8.1377866623097; Fri, 30 Aug 2013 05:43:43 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.146.2 with HTTP; Fri, 30 Aug 2013 05:43:43 -0700 (PDT) In-Reply-To: <59d6b005e19dfc803b06a607bd6dc984.squirrel@arroway.org> References: <04dc16e8adc42b571915e7fc51ec9a57.squirrel@arroway.org> <8FFD8F5B-FCE4-4062-B6B7-7A46943E91AE@bsdimp.com> <59d6b005e19dfc803b06a607bd6dc984.squirrel@arroway.org> Date: Fri, 30 Aug 2013 05:43:43 -0700 X-Google-Sender-Auth: nxgXa2HdbrZfxVBzkUPB1Y2wbuU Message-ID: Subject: Re: TP-Link 1043ND - its tme :) From: Adrian Chadd To: Nenhum_de_Nos Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 30 Aug 2013 12:43:45 -0000 AH_DEBUG_ALQ just adds some debugging bits to the ath/hal code to let you do live register tracing. It won't affect the rootfs size. -adrian On 30 August 2013 02:30, Nenhum_de_Nos wrote: > > On Thu, August 29, 2013 20:20, Nenhum_de_Nos wrote: > > > > On Thu, August 29, 2013 19:51, Warner Losh wrote: > >> > >> On Aug 29, 2013, at 4:06 PM, Warner Losh wrote: > >> > >>> > >>>> [mktplinkfw] *** error: rootfs image is too big > >>> > >>> OK. This isn't for root image, but to make the uncompressed kernel > ~685k smaller. So maybe 200k > >>> smaller after compression. > >>> > >>> http://people.freebsd.org/~imp/smalller-mips > >> > >> I've moved this to http://people.freebsd.org/~imp/smaller-mips.difffor nicer downloading, and > >> the > >> original link had too many l's in it... > >> > >>> basically it does EXTRA_FLAGS+=-fno-inline -Wno-inline -Os > -Wno-strict-aliasing while setting > >>> the inline limit to 0 and adding some libkern functions that need it. > Plus adding the canonical > >>> MUTEX/RWLOCK/SX_NOINLINE options. > >>> > >>> text data bss dec hex filename > >>> 3598994 270588 153056 4022638 3d616e kernel.debug with patch > >>> 4285106 270632 153056 4708794 47d9ba kernel.debug built > without > >>> > >>> Comments? > >> > >> Btw, the extra initialization is for a few places where -Os produces > different (and I think > >> spurious) warnings vs -O2. That's also the purpose of the > MIPS_SMALL_HACK option, so the three > >> shift routines that are normally inlined by the compiler have > definitions. But those few bytes > >> may > >> not be worth optimizing... > > > > I dont know if I got it. Should I try it or not ? :) > > > > and, I must find where to change it. Not yet familiar with the build > scripts and cfg files. > > > > thanks, > > > > matheus > > It will be hard to get it. > > Populating `/root/work/freebsd/head/src/../mfsroot-tl-wr1043nd_matheus.img' > Image `/root/work/freebsd/head/src/../mfsroot-tl-wr1043nd_matheus.img' > complete > *** Running mkuzip to create a compressed filesystem .. > *** Target Done. > *** Target : tplink > 3831+2 records in > 3831+1 records out > 1961523 bytes transferred in 1.025448 secs (1912845 bytes/sec) > [mktplinkfw] *** error: rootfs image is too big > root@dev:~ # > > I commented out some AH_DEBUG_ALQ. I imagine it is about ALTQ new > implementation. Am I right ? > > still not there yet :( > > matheus > > >> Warner > >> > >> > >>> Warner > >>> > >>> P.S. Don't have this hardware, so no test boots. > >>> > >> > >> > > > > > > -- > > We will call you Cygnus, > > The God of balance you shall be > > > > A: Because it messes up the order in which people normally read text. > > Q: Why is top-posting such a bad thing? > > > > http://en.wikipedia.org/wiki/Posting_style > > _______________________________________________ > > 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" > > > > > -- > We will call you Cygnus, > The God of balance you shall be > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > http://en.wikipedia.org/wiki/Posting_style > _______________________________________________ > 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" >