Diff between b8b4a516900e1104ce6c976e6cd727b368ddad40 and b29bcb6e1bd9942147dcfa809a4f5323edf85409

Changed Files

File Additions Deletions Status
Makefile.am +3 -1 modified
doc/test-runner.txt +41 -0 added

Full Patch

diff --git a/Makefile.am b/Makefile.am
index b6beb42..7360f49 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -238,7 +238,9 @@ endif
 EXTRA_DIST += $(test_scripts)
 
 EXTRA_DIST += doc/assigned-numbers.txt doc/supported-features.txt \
-				doc/test-coverage.txt doc/settings-storage.txt
+				doc/test-coverage.txt \
+				doc/test-runner.txt \
+				doc/settings-storage.txt
 
 EXTRA_DIST += doc/mgmt-api.txt \
 		doc/adapter-api.txt doc/device-api.txt \
diff --git a/doc/test-runner.txt b/doc/test-runner.txt
new file mode 100644
index 0000000..421cd22
--- /dev/null
+++ b/doc/test-runner.txt
@@ -0,0 +1,41 @@
+Notes for test-runner usage
+***************************
+
+
+Kernel configuration
+====================
+
+The test-runner tool requires a kernel that is at least build with these
+minimal options for a successful boot.
+
+	CONFIG_VIRTIO=y
+	CONFIG_VIRTIO_PCI=y
+
+	CONFIG_NET=y
+	CONFIG_INET=y
+
+	CONFIG_NET_9P=y
+	CONFIG_NET_9P_VIRTIO=y
+
+	CONFIG_9P_FS=y
+	CONFIG_9P_FS_POSIX_ACL=y
+
+	CONFIG_SERIAL_8250=y
+	CONFIG_SERIAL_8250_CONSOLE=y
+	CONFIG_SERIAL_8250_PCI=y
+	CONFIG_SERIAL_8250_NR_UARTS=4
+
+	CONFIG_TMPFS=y
+	CONFIG_TMPFS_POSIX_ACL=y
+	CONFIG_TMPFS_XATTR=y
+
+	CONFIG_DEVTMPFS=y
+	CONFIG_DEBUG_FS=y
+
+These options should be installed as .config in the kernel source directory
+followed by this command.
+
+	make olddefconfig
+
+After that a default kernel with the required options can be built. More
+option (like the Bluetooth subsystem) can be enabled on top of this.