svn commit: r285095 - in head/sys: boot/fdt/dts/mips mips/conf
Ruslan Bukin
br at FreeBSD.org
Fri Jul 3 14:46:58 UTC 2015
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 at 0 {
+ compatible = "beri,virtio_mmio_platform";
+ interrupts = <1>;
+ interrupt-parent = <&beripic0>;
+ };
+
+ virtio_block at 7f020000 {
+ compatible = "virtio,mmio";
+ reg = <0x7f020000 0x1000>;
+ platform = <&virtio_mmio_platform0>;
+ };
+
sdcard at 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\"
More information about the svn-src-head
mailing list