busybox_config_fragment 717 B

123456789101112131415161718192021222324252627282930
  1. CONFIG_BASE64=y
  2. CONFIG_DEPMOD=y
  3. CONFIG_MODINFO=y
  4. CONFIG_NC=y
  5. CONFIG_NC_EXTRA=y
  6. CONFIG_NC_SERVER=y
  7. CONFIG_STAT=y
  8. # On ARM, with our lkmc_platform_device:
  9. #
  10. # devmem 0x101e9000 w 0x12345678
  11. #
  12. # Then on QEMU monitor, notice that the registers don't actually change value:
  13. #
  14. # xp/4 0x101e9000
  15. #
  16. # Uses /dev/mem.
  17. #
  18. # See also:
  19. #
  20. # - https://superuser.com/questions/71389/what-is-dev-mem/1214662#1214662
  21. # - https://unix.stackexchange.com/questions/4948/shell-command-to-read-device-registers
  22. # - man mem
  23. #
  24. # TODO: why with mmap MAP_PRIVATE (used in my previous custom naive version),
  25. # the entire register page is read?;
  26. #
  27. # TODO: have a look at: https://github.com/kaiwan/device-memory-readwrite
  28. CONFIG_DEVMEM=y