buildroot_config_fragment 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. BR2_GLOBAL_PATCH_DIR="../global_patch_dir"
  2. BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="../busybox_config_fragment"
  3. BR2_PACKAGE_KERNEL_MODULE=y
  4. BR2_PACKAGE_OVERRIDE_FILE="../buildroot_override"
  5. BR2_PACKAGE_STRACE=y
  6. BR2_ROOTFS_OVERLAY="../rootfs_overlay"
  7. BR2_ROOTFS_POST_BUILD_SCRIPT="../rootfs_post_build_script"
  8. BR2_ROOTFS_USERS_TABLES="../user_table"
  9. # Generate output/images/rootfs.cpio
  10. BR2_TARGET_ROOTFS_CPIO=y
  11. # Host GDB
  12. BR2_GDB_VERSION="7.11.1"
  13. BR2_GDB_VERSION_7_10=n
  14. BR2_GDB_VERSION_7_11=y
  15. BR2_GDB_VERSION_7_12=n
  16. BR2_PACKAGE_HOST_GDB=y
  17. BR2_PACKAGE_HOST_GDB_PYTHON=y
  18. BR2_PACKAGE_HOST_GDB_SIM=y
  19. BR2_PACKAGE_HOST_GDB_TUI=y
  20. # gdbserver
  21. BR2_DEBUG_3=y
  22. BR2_ENABLE_DEBUG=y
  23. BR2_OPTIMIZE_0=y
  24. BR2_PACKAGE_GDB=y
  25. BR2_PTHREAD_DEBUG=y
  26. # QEMU
  27. BR2_PACKAGE_HOST_QEMU=y
  28. # False because otherwise we need the host to be as recent as guest, and the build fails with:
  29. # package/qemu/qemu.mk:110: *** "Refusing to build qemu-user: target Linux version newer than host's.". Stop.
  30. BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE=n
  31. BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
  32. BR2_PACKAGE_HOST_QEMU_VDE2=y
  33. # ftrace
  34. BR2_PACKAGE_TRACE_CMD=y
  35. # GPIO: lsgpio, gpio-event-mon, gpio-hammer
  36. # Breask MIPS build in 2017-02:
  37. # https://bugs.busybox.net/show_bug.cgi?id=10276
  38. BR2_PACKAGE_LINUX_TOOLS=y
  39. BR2_PACKAGE_LINUX_TOOLS_GPIO=y
  40. # DTC
  41. BR2_PACKAGE_DTC=y
  42. BR2_PACKAGE_DTC_PROGRAMS=y
  43. BR2_PACKAGE_HOST_DTC=y
  44. # Provides setpci and a lspci more advanced than Busybox's
  45. #
  46. # setpci can read and write to PCI configuration registers.
  47. #
  48. # Read is possible from Linux with:
  49. #
  50. # hexdump /sys/bus/pci/devices/0000:00:05.0/config
  51. #
  52. # and /dev/mem can of course do both reads and writes,
  53. # but setpci provies nice human readable register names, e.g.:
  54. #
  55. # setpci --dumpregs
  56. #
  57. # then and then get the values with either bus or device id:
  58. #
  59. # setpci -s 0000:00:05.0 BASE_ADDRESS_0
  60. # setpci -d 1234:11e9 BASE_ADDRESS_0
  61. #
  62. # Note however that BASE_ADDRESS_0 also appears when you do:
  63. #
  64. # lspci -v
  65. #
  66. # Then you can try messing with that address with:
  67. #
  68. # devmem2 0xfeb52000 w 0x12345678
  69. #
  70. # which for our pci_min device fires interrupts.
  71. #
  72. BR2_PACKAGE_PCIUTILS=y