RS / RSPRO FreeBSD
Adrian Chadd
adrian at freebsd.org
Thu Jan 20 06:12:04 UTC 2011
On 20 January 2011 13:24, Outback Dingo <outbackdingo at gmail.com> 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 is 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 go. During the process Ill document and post scripts
> once i get a viable running
> system. Sounds like it 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
More information about the freebsd-mips
mailing list