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-mips.cfg Create a bootable mips malta board image for 27 qemu 28qemu-mips64.cfg Create a bootable mips malta board (64-bit 29 mode) image for qemu 30qemu-powerpc.cfg Create a bootable 32-bit powerpc image for 31 qemu 32qemu-powerpc64.cfg Create a bootable 64-bit IBM-flavor image for 33 qemu 34qemu-sparc64.cfg Create a bootable sparc64 image for qemu 35rpi.cfg Create a bootable image for Raspberry Pi B 36rpi2.cfg Create a bootable image for Raspberry Pi2 37sam9260ek.cfg Create a bootable image for an Atmel SAM9260-EK 38 evaluation board (still needs a kenrel loaded 39 into dataflash or NAND, so experimental). 40sam9g20ek.cfg Create a bootable image for an Atmel SAM9G20-EK 41 evaluation board (still needs a kenrel loaded 42 into dataflash or NAND, so experimental). Also 43 works on many after-market boards that are somewhat 44 compatible with the refernce board. 45 46QEMU command lines for serial console access 47 48i386: qemu-system-i386 -m 512 -hda _.disk.image.qemu-i386.qcow2 -nographic 49amd64: qemu-system-amd64 -m 512 -hda _.disk.image.qemu-amd64.qcow2 -nographic 50