From owner-freebsd-mips@FreeBSD.ORG Thu Jan 20 06:12:04 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CA05106566C for ; Thu, 20 Jan 2011 06:12:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id D39248FC0C for ; Thu, 20 Jan 2011 06:12:03 +0000 (UTC) Received: by qwj9 with SMTP id 9so246321qwj.13 for ; Wed, 19 Jan 2011 22:12:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WW9IB6W3eyWUF1He5awOdKHsvy9nBNO4dW9lfFipQlg=; b=dGDfOvUppj0NP/bXsHUL8bVFdCzINsXWUWCPxpKeIERXkqAusQaJwBn3rcyH0D1lAM ZIMA0XtzAwGmph6BTcvp3zRcoEMb0F28CiDjxbq1sLaX9umNTpVbVObCsLrSgjPlL/WI S1Ne7dQ6J8eifd9OoGiBdkjVkARHMxEY1Hvf0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=FpFn4WwFZApPfjLTWb5I80ddAMdo9ZJ/8vG4DFw/mJqKLYD2RfkDg6ATy4MUq+Pn90 iSZ+n9eCl8jZplWC2fDFU92/LtVXY4jKrOEhMcs6eAyYVX0TbSH3/J6s9cpBdWGZDZ8w SG62BkhQ2xXiD1MDbJmQBPxAhqHcHh6o5TNZo= MIME-Version: 1.0 Received: by 10.224.67.18 with SMTP id p18mr1584302qai.20.1295503922984; Wed, 19 Jan 2011 22:12:02 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.220.198.203 with HTTP; Wed, 19 Jan 2011 22:12:02 -0800 (PST) In-Reply-To: References: Date: Thu, 20 Jan 2011 14:12:02 +0800 X-Google-Sender-Auth: mSyfnD4iRq6Wc7l5ALPWu-JqljI Message-ID: From: Adrian Chadd To: Outback Dingo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: RS / RSPRO FreeBSD X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2011 06:12:04 -0000 On 20 January 2011 13:24, Outback Dingo wrote: > Feasibly using this method and your recent bsdbox MFS kernel sounds most > logical size/space wise > as Im looking to do this without a usb stick/flash. simply small wireless > ap/pf =A0is all. I also looked at the > nanobsd stuff ... I considered an MFS kernel / bsdbox / integrated and > nanobsdized, also i looked at > the bsd router project which is a nano based stripped image + including 2 > packages. So it appears this > is probably the way ill=A0go. During the process Ill document and post sc= ripts > once i get a viable running > system. Sounds like=A0it would also be secure as once its rebooted being = mfs > all mods/changes go away > and the configuration once set is static so mfs would be ok. Gah, here, just use this. http://people.freebsd.org/~adrian/rspro/mfs-build.tar.gz There's two scripts to build an MFS root for my tplink AP. One builds a normal one, one builds one using bsdbox (and creates symlinks.) The important magic is: * the fudging to find the start/end offsets in the kernel for the MFS root; * using makefs with the -right- options (which took me a while!) to create an FFS which a MIPS big-endian kernel will understand; * shuffling all the right bits into the right place. Good luck! Adrian