xref: /freebsd/tools/tools/nanobsd/embedded/README (revision 2b833162)
1$FreeBSD$
2
3Example for creating many different builds (including different
4arch) from a common set of files, as well as building natively
5using qemu user space emulation.
6
7This creates a simple appliance that uses dnsmasq to serve DNS
8and DHCPd.
9
10This is a work in progress. Generally, to build this you should
11     cd tools/tools/nanobsd/embedded
12     sudo sh ../nanobsd.sh -c foo.cfg
13
14Some features:
15
16Image size is minimal, we grow the last partition on first boot to
17fill the media.
18
19Images are both as easy as possible to construct, as well as easy as
20possible to expand.
21
22Config			Short description
23beaglebone.cfg		Create a bootable beaglebone image
24qemu-amd64.cfg		Create a bootable amd64 image for qemu (W)
25qemu-i386.cfg		Create a bootable i386 image for qemu (W)
26qemu-powerpc.cfg	Create a bootable 32-bit powerpc image for
27			qemu
28qemu-powerpc64.cfg	Create a bootable 64-bit IBM-flavor image for
29			qemu
30rpi.cfg			Create a bootable image for Raspberry Pi B
31rpi2.cfg		Create a bootable image for Raspberry Pi2
32
33QEMU command lines for serial console access
34
35i386: qemu-system-i386 -m 512 -hda _.disk.image.qemu-i386.qcow2 -nographic
36amd64: qemu-system-amd64 -m 512 -hda _.disk.image.qemu-amd64.qcow2 -nographic
37