Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2015 14:46:58 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285095 - in head/sys: boot/fdt/dts/mips mips/conf
Message-ID:  <201507031446.t63Ekwla055084@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Fri Jul  3 14:46:57 2015
New Revision: 285095
URL: https://svnweb.freebsd.org/changeset/base/285095

Log:
  o Add a description for virtio block device implemented
    in PISM (Bluespec C-interface device)
  o Add a kernel config
  
  Sponsored by:	HEIF5

Added:
  head/sys/mips/conf/BERI_SIM_VIRTIO   (contents, props changed)
Modified:
  head/sys/boot/fdt/dts/mips/beri-sim.dts

Modified: head/sys/boot/fdt/dts/mips/beri-sim.dts
==============================================================================
--- head/sys/boot/fdt/dts/mips/beri-sim.dts	Fri Jul  3 14:29:55 2015	(r285094)
+++ head/sys/boot/fdt/dts/mips/beri-sim.dts	Fri Jul  3 14:46:57 2015	(r285095)
@@ -128,6 +128,18 @@
 			reg = <0x7f002000 0x40>;
 		};
 
+		virtio_mmio_platform0: virtio_mmio_platform@0 {
+			compatible = "beri,virtio_mmio_platform";
+			interrupts = <1>;
+			interrupt-parent = <&beripic0>;
+		};
+
+		virtio_block@7f020000 {
+			compatible = "virtio,mmio";
+			reg = <0x7f020000 0x1000>;
+			platform = <&virtio_mmio_platform0>;
+		};
+
 		sdcard@7f008000 {
 			compatible = "altera,sdcard_11_2011";
 			reg = <0x7f008000 0x400>;

Added: head/sys/mips/conf/BERI_SIM_VIRTIO
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/mips/conf/BERI_SIM_VIRTIO	Fri Jul  3 14:46:57 2015	(r285095)
@@ -0,0 +1,20 @@
+#
+# BERI_SIM_VIRTIO -- Kernel for the SRI/Cambridge "BERI" (Bluespec Extensible
+# RISC Implementation) FPGA soft core, as configured for simulation.
+#
+# $FreeBSD$
+#
+
+include "BERI_SIM_BASE"
+
+ident		BERI_SIM_VIRTIO
+
+device		virtio
+device		virtio_blk
+device		virtio_mmio
+device		altera_pio
+
+#
+# This kernel expects to find its root filesystem on the SD Card.
+#
+options 	ROOTDEVNAME=\"ufs:/dev/vtbd0\"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507031446.t63Ekwla055084>