Re: FreeBSD's embedded agenda

Dario Freni <[email protected]>
Newsgroups gmane.os.freebsd.devel.small
Message-ID <[email protected]>
Poul-Henning Kamp wrote:
> FreeSBIE is interesting in the upper size of embedded systems,
> and it is gaining flexibility and features fast.  If you have
> rotating media available, FreeSBIE is probably what you should
> look at.
> 
> NanoBSD caters only to the "run read-only from flash" area, call
> it if you will the "soekris" area.  I need to investigate if it
> makes sense to use the FreeSBIE framework to build nanobsd images.

For what I've seen, imho NanoBSD could be built with FreeSBIE toolkit
simply tweaking the img.sh/flash.sh scripts to reflect its partitioning
scheme. The toolkit is also ready to welcome user-overridden scripts.

> It was generally agreed that we lacked a framework for doing really
> small systems.  NanoBSD uses a subtractive approach ("WITOUT_THIS,
> WITHOUT_THAT etc") and this breaks down below 32-64 MB storage.
> 
> For smaller systems, an additive approach would make more sense
> ("I want /bin/sh, /bin/ls ...") where the framework would do the
> nasty work of figuring out dependencies (necessary libraries and
> other files) and most of all, issue a comprehensive report that
> tells why a particular file was necessary ("/usr/share/termpcap
> is necessary because of /usr/bin/top").

FreeSBIE toolkit let you choose (optionally) which file the system must
contain in two ways: an additive approach and a substractive one. The
first approach consists in a text file containing every file which must
be copied to the system, the second one is the opposite: you can specify
in a txt which files/directories will be removed from the system.

For example pfsense build system use the second approach:

http://pfsense.com/cgi-bin/cvsweb.cgi/tools/builder_scripts/remove.list

The only problem is that selected files must be compatible with
compilation option (i.e.: you can't exclude libraries which you've
choose to link binaries with, but atm the toolkit let you do that
anyway). The improvements on the build-option survey have been a great
step forward.

> Right now we do nearly nothing.
> 
> For our "reference platforms" we need two part webpages.
> 
> The first half: "to get FreeBSD running on this kit, download
> this and do that", with pictures, arrows and config file lines etc.
> 
> The second half: "Here is how to build this image on your own"
> 
> We also need white-papers, HOW-TO's, magazine articles and so on.
> 
> Nobody really owned up to any of this.
> 
> We did however agree that we have the small@ mailing list and that
> we should use it more (Therefore this email).

Agree. I can write some HOWTOs about FreeSBIE or NanoBSD if it is
needed. We only have a very primordial wiki documentation at
wiki.freesbie.org.

-- 
Dario Freni ([email protected])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEdbswymi72IiShysRAq9BAKChkPrD3HZID3sxORYUYXPbca2I5ACgnhON
iDTwSL4tdygnzOtgdWMKZC8=
=TdJS
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.