README
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
13but do be careful if things are interrupted. There may still be
14bugs lurking that cause your entire FreeBSD tree to disappear.
15
16Some features:
17
18Image size is minimal, we grow the last partition on first boot to
19fill the media.
20
21Images are both as easy as possible to construct, as well as easy as
22possible to expand.
23
24Config Short description
25beaglebone.cfg Create a bootable beaglebone image
26qemu-amd64.cfg Create a bootable amd64 image for qemu (W)
27qemu-i386.cfg Create a bootable i386 image for qemu (W)
28qemu-mips.cfg Create a bootable mips malta board image for
29 qemu
30qemu-mips64.cfg Create a bootable mips malta board (64-bit
31 mode) image for qemu
32qemu-powerpc.cfg Create a bootable 32-bit powerpc image for
33 qemu
34qemu-powerpc64.cfg Create a bootable 64-bit IBM-flavor image for
35 qemu
36qemu-sparc64.cfg Create a bootable sparc64 image for qemu
37rpi.cfg Create a bootable image for Raspberry Pi B
38rpi2.cfg Create a bootable image for Raspberry Pi2
39sam9260ek.cfg Create a bootable image for an Atmel SAM9260-EK
40 evaluation board (still needs a kenrel loaded
41 into dataflash or NAND, so experimental).
42sam9g20ek.cfg Create a bootable image for an Atmel SAM9G20-EK
43 evaluation board (still needs a kenrel loaded
44 into dataflash or NAND, so experimental). Also
45 works on many after-market boards that are somewhat
46 compatible with the refernce board.
47
48QEMU command lines for serial console access
49
50i386: qemu-system-i386 -m 512 -hda _.disk.image.qemu-i386.qcow2 -nographic
51amd64: qemu-system-amd64 -m 512 -hda _.disk.image.qemu-amd64.qcow2 -nographic
52