doc: Add minimal sample kernel config for test-runner tool

This commit is contained in:
Marcel Holtmann 2015-04-04 13:30:10 -07:00
parent b8b4a51690
commit b29bcb6e1b
2 changed files with 44 additions and 1 deletions

View File

@ -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 \

41
doc/test-runner.txt Normal file
View File

@ -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.