]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/tools/nanobsd/embedded/README
Partial MFV r329753:
[FreeBSD/FreeBSD.git] / tools / tools / nanobsd / embedded / README
1 $FreeBSD$
2
3 Example for creating many different builds (including different
4 arch) from a common set of files, as well as building natively
5 using qemu user space emulation.
6
7 This creates a simple appliance that uses dnsmasq to serve DNS
8 and DHCPd.
9
10 This 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
14 Some features:
15
16 Image size is minimal, we grow the last partition on first boot to
17 fill the media.
18
19 Images are both as easy as possible to construct, as well as easy as
20 possible to expand.
21
22 Config                  Short description
23 beaglebone.cfg          Create a bootable beaglebone image
24 qemu-amd64.cfg          Create a bootable amd64 image for qemu (W)
25 qemu-i386.cfg           Create a bootable i386 image for qemu (W)
26 qemu-mips.cfg           Create a bootable mips malta board image for
27                         qemu
28 qemu-mips64.cfg         Create a bootable mips malta board (64-bit
29                         mode) image for qemu
30 qemu-powerpc.cfg        Create a bootable 32-bit powerpc image for
31                         qemu
32 qemu-powerpc64.cfg      Create a bootable 64-bit IBM-flavor image for
33                         qemu
34 qemu-sparc64.cfg        Create a bootable sparc64 image for qemu
35 rpi.cfg                 Create a bootable image for Raspberry Pi B
36 rpi2.cfg                Create a bootable image for Raspberry Pi2
37 sam9260ek.cfg           Create a bootable image for an Atmel SAM9260-EK
38                         evaluation board (still needs a kernel loaded
39                         into dataflash or NAND, so experimental).
40 sam9g20ek.cfg           Create a bootable image for an Atmel SAM9G20-EK
41                         evaluation board (still needs a kernel loaded
42                         into dataflash or NAND, so experimental). Also
43                         works on many after-market boards that are somewhat
44                         compatible with the references board.
45
46 QEMU command lines for serial console access
47
48 i386: qemu-system-i386 -m 512 -hda _.disk.image.qemu-i386.qcow2 -nographic
49 amd64: qemu-system-amd64 -m 512 -hda _.disk.image.qemu-amd64.qcow2 -nographic