Config.in.qemu 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. config ADK_QEMU_ARGS
  2. string
  3. default "-nographic" if ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  4. menu "Qemu configuration"
  5. depends on ADK_HARDWARE_QEMU
  6. choice
  7. prompt "Use a Bootloader"
  8. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_LINUX_X86
  9. config ADK_TARGET_QEMU_WITHOUT_BOOTLOADER
  10. boolean "do not use bootloader"
  11. config ADK_TARGET_QEMU_WITH_BOOTLOADER
  12. boolean "use bootloader"
  13. select ADK_PACKAGE_GRUB if ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_LINUX_X86
  14. endchoice
  15. choice
  16. prompt "Qemu MICROBLAZE Emulation"
  17. depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE || ADK_TARGET_SYSTEM_QEMU_MICROBLAZEEL
  18. config ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  19. boolean "Xilinx Spartan S3ADSP1800"
  20. config ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605
  21. boolean "Xilinx ml605"
  22. endchoice
  23. choice
  24. prompt "Qemu ARM Emulation"
  25. depends on ADK_TARGET_SYSTEM_QEMU_ARM || ADK_TARGET_SYSTEM_QEMU_ARMHF
  26. config ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9
  27. boolean "ARM Ltd. Versatile Express for Cortex-A9"
  28. select ADK_CPU_CORTEX_A9
  29. config ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
  30. boolean "ARM Ltd. Versatile/PB"
  31. select ADK_soft_float
  32. select ADK_eabi
  33. select ADK_CPU_ARM926EJ_S
  34. depends on ADK_TARGET_SYSTEM_QEMU_ARM
  35. config ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  36. boolean "Xscale PXA270 Spitz PDA"
  37. select ADK_soft_float
  38. select ADK_eabi
  39. select ADK_CPU_XSCALE
  40. select ADK_TARGET_QEMU_WITH_GRAPHIC
  41. depends on ADK_TARGET_SYSTEM_QEMU_ARM
  42. endchoice
  43. choice
  44. prompt "Qemu Emulation with permanent storage device (disk/flash)"
  45. depends on ADK_HARDWARE_QEMU
  46. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_ARCHIVE
  47. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_SQUASHFS
  48. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_JFFS2
  49. config ADK_TARGET_QEMU_WITHOUT_BLOCK
  50. boolean "disabled"
  51. config ADK_TARGET_QEMU_WITH_BLOCK
  52. boolean "enabled"
  53. select ADK_KERNEL_SCSI_SYM53C8XX_2 if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
  54. select ADK_KERNEL_MTD_M25P80 if ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605 || ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  55. select ADK_KERNEL_ATA_PIIX if ADK_LINUX_MIPS || ADK_LINUX_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  56. select ADK_KERNEL_PATA_MACIO if ADK_TARGET_SYSTEM_QEMU_PPC
  57. select ADK_KERNEL_SCSI_IBMVSCSI if ADK_TARGET_SYSTEM_QEMU_PPC64
  58. select ADK_KERNEL_SCSI_SUNESP if ADK_TARGET_SYSTEM_QEMU_SPARC
  59. select ADK_KERNEL_PATA_PLATFORM if ADK_LINUX_SH
  60. endchoice
  61. choice
  62. prompt "Qemu Emulation with graphical output"
  63. depends on ADK_HARDWARE_QEMU
  64. default ADK_TARGET_QEMU_WITH_GRAPHIC if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  65. config ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  66. boolean "disabled"
  67. config ADK_TARGET_QEMU_WITH_GRAPHIC
  68. boolean "enabled"
  69. select ADK_KERNEL_VT
  70. select ADK_KERNEL_VT_CONSOLE
  71. select ADK_KERNEL_FONTS
  72. select ADK_KERNEL_FONT_8x16
  73. select ADK_KERNEL_FB
  74. select ADK_KERNEL_FRAMEBUFFER_CONSOLE
  75. select ADK_KERNEL_FB_SM501 if ADK_LINUX_SH
  76. select ADK_KERNEL_FB_CIRRUS if ADK_LINUX_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  77. select ADK_KERNEL_FB_PXA if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  78. select ADK_KERNEL_INPUT
  79. select ADK_KERNEL_INPUT_KEYBOARD
  80. select ADK_KERNEL_KEYBOARD_ATKBD if ADK_LINUX_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  81. select ADK_KERNEL_USB_HID if ADK_LINUX_SH
  82. select ADK_KERNEL_USB_OHCI_HCD_PLATFORM if ADK_LINUX_SH
  83. endchoice
  84. choice
  85. prompt "Qemu Emulation using VirtIO drivers"
  86. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64 || \
  87. ADK_TARGET_SYSTEM_QEMU_I686 || \
  88. ADK_TARGET_SYSTEM_QEMU_X86_64
  89. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_SPARC64
  90. config ADK_TARGET_QEMU_WITHOUT_VIRTIO
  91. boolean "disabled"
  92. config ADK_TARGET_QEMU_WITH_VIRTIO
  93. boolean "enabled"
  94. select ADK_KERNEL_BLK_DEV
  95. select ADK_KERNEL_VIRTIO
  96. select ADK_KERNEL_VIRTIO_PCI
  97. select ADK_KERNEL_VIRTIO_NET
  98. select ADK_KERNEL_VIRTIO_BLK
  99. endchoice
  100. endmenu