Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 16:07:28 +0300
From:      "Ain" <freebsd@luftivennad.com>
To:        freebsd-mips@freebsd.org
Subject:   Building image for Routerstation Pro
Message-ID:  <9c83a480a3f456a711411e7b458fdd41.squirrel@webmail.equix.ee>

next in thread | raw e-mail | index | archive | help
Hello!

I am trying get big picture, what is needed to make standalone, all in
onboard flash installation. I found some good pointers, like Adrian Chadd
patched utilities and README at http://people.freebsd.org/~adrian/rspro/
But something seems to missing, from example, i don't get, why  mfs writes
mdroot in kernel and then  mkfwimage (used by mkflash script) combines new
kernel with mdroot file again.
Second thing is (if i understand correctly) 13 MB is allowed RSPRO image
size.
My  temporary file system image size is 13-14 MB (created by  Adrian mfs
script, named /tmp/mfsroot).
mkfwimage raports  combined image filesize 19MB (i added little printing
statement in create_image_layout, before if (filelength(rootfsfile) +
kernel->partition_length > p->firmware_max_length) ).
What is needed to make system smaller? Sources are 8. june CURRENT, kernel
options MD_ROOT_SIZE=8192

Any pointers or questions are welcomed,

Ain




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9c83a480a3f456a711411e7b458fdd41.squirrel>