Re: NetBSD on embedded devices

[email protected] (Emmanuel Dreyfus) Sun, 4 Jun 2017 20:16:16 +0200
Newsgroups gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.general,gmane.os.netbsd.devel.embedded,gmane.os.netbsd.ports.i386,gmane.os.netbsd.devel.installation,gmane.os.netbsd.devel.userlevel
Message-ID <1n742wp.1jaa2tkjkw7jhM%[email protected]>
Thor Lancelot Simon <[email protected]> wrote:

> One key idea that may help you is not mine -- it's due to Matt Thomas.  It is
> the idea of, making an *additional* bunch of sets files specifying
> exactly and only the parts of the system you need.  Then install those
> (embedbase.txt, embedetc.tgz, etc.) rather than base, etc, and so forth.
> That will give you a simple, maintainable way to build a NetBSD that
> does what you need, is still a coherent whole rather than a pile of
> disjoint "system packages", and is much smaller.

One interesting feature is also to crunchgen(1) binaries to reduce
memory footprint, which is interesting when booting a kernel with
ramdisk. It works nicely, but is not documented very much.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
[email protected]