busybox_config_fragment 701 B

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