summaryrefslogtreecommitdiff
path: root/doc/test-runner.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-04 13:30:10 -0700
committerMarcel Holtmann <marcel@holtmann.org>2015-04-04 13:33:13 -0700
commitb29bcb6e1bd9942147dcfa809a4f5323edf85409 (patch)
treeeeb739b3a4827c709e13adcd8529cbeacbacb727 /doc/test-runner.txt
parentb8b4a516900e1104ce6c976e6cd727b368ddad40 (diff)
downloadbluez-b29bcb6e1bd9942147dcfa809a4f5323edf85409.tar.gz
doc: Add minimal sample kernel config for test-runner tool
Diffstat (limited to 'doc/test-runner.txt')
-rw-r--r--doc/test-runner.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/test-runner.txt b/doc/test-runner.txt
new file mode 100644
index 000000000..421cd22ed
--- /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.