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