test-runner.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Notes for test-runner usage
  2. ***************************
  3. Kernel configuration
  4. ====================
  5. The test-runner tool requires a kernel that is at least build with these
  6. minimal options for a successful boot.
  7. CONFIG_VIRTIO=y
  8. CONFIG_VIRTIO_PCI=y
  9. CONFIG_NET=y
  10. CONFIG_INET=y
  11. CONFIG_NET_9P=y
  12. CONFIG_NET_9P_VIRTIO=y
  13. CONFIG_9P_FS=y
  14. CONFIG_9P_FS_POSIX_ACL=y
  15. CONFIG_SERIAL_8250=y
  16. CONFIG_SERIAL_8250_CONSOLE=y
  17. CONFIG_SERIAL_8250_PCI=y
  18. CONFIG_SERIAL_8250_NR_UARTS=4
  19. CONFIG_TMPFS=y
  20. CONFIG_TMPFS_POSIX_ACL=y
  21. CONFIG_TMPFS_XATTR=y
  22. CONFIG_DEVTMPFS=y
  23. CONFIG_DEBUG_FS=y
  24. For Bluetooth functionality:
  25. CONFIG_BT=y
  26. CONFIG_BT_BREDR=y
  27. CONFIG_BT_RFCOMM=y
  28. CONFIG_BT_BNEP=y
  29. CONFIG_BT_HIDP=y
  30. CONFIG_BT_LE=y
  31. CONFIG_BT_HCIVHCI=y
  32. CONFIG_CRYPTO_CMAC=y
  33. CONFIG_CRYPTO_USER_API=y
  34. CONFIG_CRYPTO_USER_API_HASH=y
  35. CONFIG_CRYPTO_USER_API_SKCIPHER=y
  36. CONFIG_UNIX=y
  37. CONFIG_UHID=y
  38. These options should be installed as .config in the kernel source directory
  39. followed by this command.
  40. make olddefconfig
  41. After that a default kernel with the required options can be built. More
  42. option (like the Bluetooth subsystem) can be enabled on top of this.
  43. Lock debuging
  44. -------------
  45. To catch locking related issues the following set of kernel config
  46. options may be useful:
  47. CONFIG_LOCKDEP_SUPPORT=y
  48. CONFIG_DEBUG_SPINLOCK=y
  49. CONFIG_DEBUG_LOCK_ALLOC=y
  50. CONFIG_PROVE_LOCKING=y
  51. CONFIG_LOCKDEP=y
  52. CONFIG_DEBUG_MUTEXES=y