From b29bcb6e1bd9942147dcfa809a4f5323edf85409 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 4 Apr 2015 13:30:10 -0700 Subject: [PATCH] doc: Add minimal sample kernel config for test-runner tool --- Makefile.am | 4 +++- doc/test-runner.txt | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 doc/test-runner.txt diff --git a/Makefile.am b/Makefile.am index b6beb42a8..7360f4946 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 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. -- 2.47.3