From owner-svn-src-all@freebsd.org Mon Dec 7 05:13:31 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97EAE9B7143; Mon, 7 Dec 2015 05:13:31 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 584091070; Mon, 7 Dec 2015 05:13:31 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB75DU0k003365; Mon, 7 Dec 2015 05:13:30 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB75DTT0003357; Mon, 7 Dec 2015 05:13:29 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201512070513.tB75DTT0003357@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Mon, 7 Dec 2015 05:13:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291921 - head/tools/tools/nanobsd/embedded X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 05:13:31 -0000 Author: imp Date: Mon Dec 7 05:13:29 2015 New Revision: 291921 URL: https://svnweb.freebsd.org/changeset/base/291921 Log: Document the different config files. Document how to run qemu for the ones I've run. Use qcow2 for all qemu images. Modified: head/tools/tools/nanobsd/embedded/README head/tools/tools/nanobsd/embedded/qemu-amd64.cfg head/tools/tools/nanobsd/embedded/qemu-mips.cfg head/tools/tools/nanobsd/embedded/qemu-mips64.cfg head/tools/tools/nanobsd/embedded/qemu-powerpc.cfg head/tools/tools/nanobsd/embedded/qemu-powerpc64.cfg head/tools/tools/nanobsd/embedded/qemu-sparc64.cfg Modified: head/tools/tools/nanobsd/embedded/README ============================================================================== --- head/tools/tools/nanobsd/embedded/README Mon Dec 7 04:14:29 2015 (r291920) +++ head/tools/tools/nanobsd/embedded/README Mon Dec 7 05:13:29 2015 (r291921) @@ -12,3 +12,40 @@ This is a work in progress. Generally, t sudo sh ../nanobsd.sh -c foo.cfg but do be careful if things are interrupted. There may still be bugs lurking that cause your entire FreeBSD tree to disappear. + +Some features: + +Image size is minimal, we grow the last partition on first boot to +fill the media. + +Images are both as easy as possible to construct, as well as easy as +possible to expand. + +Config Short description +beaglebone.cfg Create a bootable beaglebone image +qemu-amd64.cfg Create a bootable amd64 image for qemu (W) +qemu-i386.cfg Create a bootable i386 image for qemu (W) +qemu-mips.cfg Create a bootable mips malta board image for + qemu +qemu-mips64.cfg Create a bootable mips malta board (64-bit + mode) image for qemu +qemu-powerpc.cfg Create a bootable 32-bit powerpc image for + qemu +qemu-powerpc64.cfg Create a bootable 64-bit IBM-flavor image for + qemu +qemu-sparc64.cfg Create a bootable sparc64 image for qemu +rpi.cfg Create a bootable image for Raspberry Pi B +rpi2.cfg Create a bootable image for Raspberry Pi2 +sam9260ek.cfg Create a bootable image for an Atmel SAM9260-EK + evaluation board (still needs a kenrel loaded + into dataflash or NAND, so experimental). +sam9g20ek.cfg Create a bootable image for an Atmel SAM9G20-EK + evaluation board (still needs a kenrel loaded + into dataflash or NAND, so experimental). Also + works on many after-market boards that are somewhat + compatible with the refernce board. + +QEMU command lines for serial console access + +i386: qemu-system-i386 -m 512 -hda _.disk.image.qemu-i386.qcow2 -nographic +amd64: qemu-system-amd64 -m 512 -hda _.disk.image.qemu-amd64.qcow2 -nographic Modified: head/tools/tools/nanobsd/embedded/qemu-amd64.cfg ============================================================================== --- head/tools/tools/nanobsd/embedded/qemu-amd64.cfg Mon Dec 7 04:14:29 2015 (r291920) +++ head/tools/tools/nanobsd/embedded/qemu-amd64.cfg Mon Dec 7 05:13:29 2015 (r291921) @@ -37,6 +37,7 @@ NANO_KERNEL=GENERIC NANO_DRIVE=ada0 NANO_NAME=qemu-amd64 +NANO_DISKIMAGE_FORMAT=qcow2 export EMBED_OMIT_FAT=t . common # Pull in common definitions, keep last Modified: head/tools/tools/nanobsd/embedded/qemu-mips.cfg ============================================================================== --- head/tools/tools/nanobsd/embedded/qemu-mips.cfg Mon Dec 7 04:14:29 2015 (r291920) +++ head/tools/tools/nanobsd/embedded/qemu-mips.cfg Mon Dec 7 05:13:29 2015 (r291921) @@ -37,6 +37,7 @@ NANO_KERNEL=MALTA NANO_DRIVE=ada0 NANO_NAME=qemu-mips +NANO_DISKIMAGE_FORMAT=qcow2 export EMBED_OMIT_FAT=t . common # Pull in common definitions, keep last Modified: head/tools/tools/nanobsd/embedded/qemu-mips64.cfg ============================================================================== --- head/tools/tools/nanobsd/embedded/qemu-mips64.cfg Mon Dec 7 04:14:29 2015 (r291920) +++ head/tools/tools/nanobsd/embedded/qemu-mips64.cfg Mon Dec 7 05:13:29 2015 (r291921) @@ -37,6 +37,7 @@ NANO_KERNEL=MALTA64 NANO_DRIVE=ada0 NANO_NAME=qemu-mips64 +NANO_DISKIMAGE_FORMAT=qcow2 export EMBED_OMIT_FAT=t . common # Pull in common definitions, keep last Modified: head/tools/tools/nanobsd/embedded/qemu-powerpc.cfg ============================================================================== --- head/tools/tools/nanobsd/embedded/qemu-powerpc.cfg Mon Dec 7 04:14:29 2015 (r291920) +++ head/tools/tools/nanobsd/embedded/qemu-powerpc.cfg Mon Dec 7 05:13:29 2015 (r291921) @@ -38,6 +38,7 @@ NANO_KERNEL=GENERIC NANO_DRIVE=ada0 NANO_NAME=qemu-powerpc +NANO_DISKIMAGE_FORMAT=qcow2 export EMBED_OMIT_FAT=t . common # Pull in common definitions, keep last Modified: head/tools/tools/nanobsd/embedded/qemu-powerpc64.cfg ============================================================================== --- head/tools/tools/nanobsd/embedded/qemu-powerpc64.cfg Mon Dec 7 04:14:29 2015 (r291920) +++ head/tools/tools/nanobsd/embedded/qemu-powerpc64.cfg Mon Dec 7 05:13:29 2015 (r291921) @@ -37,6 +37,7 @@ NANO_KERNEL=GENERIC64 NANO_DRIVE=ada0 NANO_NAME=qemu-powerpc64 +NANO_DISKIMAGE_FORMAT=qcow2 export EMBED_OMIT_FAT=t . common # Pull in common definitions, keep last Modified: head/tools/tools/nanobsd/embedded/qemu-sparc64.cfg ============================================================================== --- head/tools/tools/nanobsd/embedded/qemu-sparc64.cfg Mon Dec 7 04:14:29 2015 (r291920) +++ head/tools/tools/nanobsd/embedded/qemu-sparc64.cfg Mon Dec 7 05:13:29 2015 (r291921) @@ -37,6 +37,7 @@ NANO_KERNEL=GENERIC NANO_DRIVE=ada0 NANO_NAME=qemu-sparc64 +NANO_DISKIMAGE_FORMAT=qcow2 export EMBED_OMIT_FAT=t . common # Pull in common definitions, keep last