1
0

Config.in.qemuopts 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. config ADK_QEMU_ARGS
  4. string
  5. default "-vga std" if ADK_TARGET_QEMU_WITH_GRAPHIC
  6. default "" if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  7. default "-nographic"
  8. config ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  9. bool
  10. select ADK_TARGET_WITH_VGA
  11. depends on ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ || ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
  12. config ADK_TARGET_QEMU_WITH_BLOCK
  13. bool
  14. select ADK_TARGET_WITH_BLOCK
  15. select ADK_LINUX_KERNEL_SCSI_SYM53C8XX_2 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
  16. select ADK_LINUX_KERNEL_MTD_M25P80 if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  17. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
  18. select ADK_LINUX_KERNEL_ATA_PIIX if ADK_TARGET_SYSTEM_QEMU_MIPS \
  19. || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
  20. || ADK_TARGET_SYSTEM_QEMU_X86 \
  21. || ADK_TARGET_SYSTEM_QEMU_X86_64
  22. select ADK_LINUX_KERNEL_PATA_MACIO if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
  23. || ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  24. select ADK_LINUX_KERNEL_SCSI_IBMVSCSI if ADK_TARGET_SYSTEM_QEMU_PPC64
  25. select ADK_LINUX_KERNEL_SCSI_MAC_ESP if ADK_TARGET_SYSTEM_QEMU_M68K_Q800
  26. select ADK_LINUX_KERNEL_SCSI_SUNESP if ADK_TARGET_SYSTEM_QEMU_SPARC
  27. select ADK_LINUX_KERNEL_PATA_CMD64X if ADK_TARGET_SYSTEM_QEMU_SPARC64
  28. select ADK_LINUX_KERNEL_PATA_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  29. select ADK_LINUX_KERNEL_PATA_PXA if ADK_TARGET_QEMU_ARM_SPITZ \
  30. || ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
  31. select ADK_LINUX_KERNEL_MMC_ARMMMCI if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  32. select ADK_LINUX_KERNEL_BLK_DEV_CMD64X if ADK_TARGET_SYSTEM_QEMU_ALPHA
  33. select ADK_WALDUX_KERNEL_SCSI_SYM53C8XX_2 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
  34. select ADK_WALDUX_KERNEL_MTD_M25P80 if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  35. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
  36. select ADK_WALDUX_KERNEL_ATA_PIIX if ADK_TARGET_SYSTEM_QEMU_MIPS \
  37. || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
  38. || ADK_TARGET_SYSTEM_QEMU_X86 \
  39. || ADK_TARGET_SYSTEM_QEMU_X86_64
  40. select ADK_WALDUX_KERNEL_PATA_MACIO if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
  41. || ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  42. select ADK_WALDUX_KERNEL_SCSI_IBMVSCSI if ADK_TARGET_SYSTEM_QEMU_PPC64
  43. select ADK_WALDUX_KERNEL_SCSI_MAC_ESP if ADK_TARGET_SYSTEM_QEMU_M68K_Q800
  44. select ADK_WALDUX_KERNEL_SCSI_SUNESP if ADK_TARGET_SYSTEM_QEMU_SPARC
  45. select ADK_WALDUX_KERNEL_PATA_CMD64X if ADK_TARGET_SYSTEM_QEMU_SPARC64
  46. select ADK_WALDUX_KERNEL_PATA_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  47. select ADK_WALDUX_KERNEL_PATA_PXA if ADK_TARGET_QEMU_ARM_SPITZ \
  48. || ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
  49. select ADK_WALDUX_KERNEL_MMC_ARMMMCI if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  50. select ADK_WALDUX_KERNEL_BLK_DEV_CMD64X if ADK_TARGET_SYSTEM_QEMU_ALPHA
  51. menu "Qemu system configuration"
  52. depends on ADK_TARGET_QEMU && (ADK_TARGET_SYSTEM_QEMU_X86_64 \
  53. || ADK_TARGET_SYSTEM_QEMU_RISCV32 \
  54. || ADK_TARGET_SYSTEM_QEMU_RISCV64 \
  55. || ADK_TARGET_SYSTEM_QEMU_CSKY_CK610 \
  56. || ADK_TARGET_SYSTEM_QEMU_CSKY_CK807 \
  57. || ADK_TARGET_SYSTEM_QEMU_CSKY_CK810 \
  58. || ADK_TARGET_SYSTEM_QEMU_X86 \
  59. || ADK_TARGET_SYSTEM_QEMU_AARCH64 \
  60. || ADK_TARGET_SYSTEM_QEMU_SPARC64)
  61. choice
  62. prompt "Bootloader"
  63. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  64. config ADK_TARGET_QEMU_WITHOUT_BOOTLOADER
  65. bool "do not use bootloader"
  66. config ADK_TARGET_QEMU_WITH_BOOTLOADER
  67. bool "use bootloader"
  68. select ADK_PACKAGE_GRUB if ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  69. endchoice
  70. choice
  71. prompt "Qemu Emulation with graphical output"
  72. depends on ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
  73. || ADK_TARGET_SYSTEM_QEMU_SH \
  74. || ADK_TARGET_SYSTEM_QEMU_X86_64 \
  75. || ADK_TARGET_SYSTEM_QEMU_X86
  76. config ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  77. bool "disabled"
  78. config ADK_TARGET_QEMU_WITH_GRAPHIC
  79. bool "enabled"
  80. select ADK_TARGET_WITH_VGA
  81. select ADK_LINUX_KERNEL_VT
  82. select ADK_LINUX_KERNEL_VT_CONSOLE
  83. select ADK_LINUX_KERNEL_FONTS
  84. select ADK_LINUX_KERNEL_FONT_8x16
  85. select ADK_LINUX_KERNEL_FB
  86. select ADK_LINUX_KERNEL_FRAMEBUFFER_CONSOLE
  87. select ADK_LINUX_KERNEL_INPUT
  88. select ADK_LINUX_KERNEL_INPUT_KEYBOARD
  89. select ADK_LINUX_KERNEL_INPUT_MOUSE
  90. select ADK_LINUX_KERNEL_INPUT_MOUSEDEV
  91. select ADK_LINUX_KERNEL_PLAT_VERSATILE_CLCD if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  92. select ADK_LINUX_KERNEL_FB_SM501 if ADK_TARGET_SYSTEM_QEMU_SH
  93. select ADK_LINUX_KERNEL_DRM_BOCHS if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  94. select ADK_LINUX_KERNEL_KEYBOARD_ATKBD if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  95. select ADK_LINUX_KERNEL_MOUSE_PS2 if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  96. select ADK_LINUX_KERNEL_USB_HID if ADK_TARGET_SYSTEM_QEMU_SH
  97. select ADK_LINUX_KERNEL_USB_OHCI_HCD_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  98. select ADK_WALDUX_KERNEL_VT
  99. select ADK_WALDUX_KERNEL_VT_CONSOLE
  100. select ADK_WALDUX_KERNEL_FONTS
  101. select ADK_WALDUX_KERNEL_FONT_8x16
  102. select ADK_WALDUX_KERNEL_FB
  103. select ADK_WALDUX_KERNEL_FRAMEBUFFER_CONSOLE
  104. select ADK_WALDUX_KERNEL_INPUT
  105. select ADK_WALDUX_KERNEL_INPUT_KEYBOARD
  106. select ADK_WALDUX_KERNEL_INPUT_MOUSE
  107. select ADK_WALDUX_KERNEL_INPUT_MOUSEDEV
  108. select ADK_WALDUX_KERNEL_PLAT_VERSATILE_CLCD if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  109. select ADK_WALDUX_KERNEL_FB_SM501 if ADK_TARGET_SYSTEM_QEMU_SH
  110. select ADK_WALDUX_KERNEL_DRM_BOCHS if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  111. select ADK_WALDUX_KERNEL_KEYBOARD_ATKBD if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  112. select ADK_WALDUX_KERNEL_MOUSE_PS2 if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  113. select ADK_WALDUX_KERNEL_USB_HID if ADK_TARGET_SYSTEM_QEMU_SH
  114. select ADK_WALDUX_KERNEL_USB_OHCI_HCD_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  115. endchoice
  116. choice
  117. prompt "Qemu Emulation using VirtIO drivers"
  118. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64 || \
  119. ADK_TARGET_SYSTEM_QEMU_AARCH64 || \
  120. ADK_TARGET_SYSTEM_QEMU_RISCV32 || \
  121. ADK_TARGET_SYSTEM_QEMU_RISCV64 || \
  122. ADK_TARGET_SYSTEM_QEMU_CSKY_CK610 || \
  123. ADK_TARGET_SYSTEM_QEMU_CSKY_CK807 || \
  124. ADK_TARGET_SYSTEM_QEMU_CSKY_CK810 || \
  125. ADK_TARGET_SYSTEM_QEMU_X86 || \
  126. ADK_TARGET_SYSTEM_QEMU_X86_64
  127. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_AARCH64
  128. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_CSKY_CK610
  129. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_CSKY_CK807
  130. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_CSKY_CK810
  131. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_RISCV32
  132. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_RISCV64
  133. config ADK_TARGET_QEMU_WITHOUT_VIRTIO
  134. bool "disabled"
  135. config ADK_TARGET_QEMU_WITH_VIRTIO
  136. bool "enabled"
  137. select ADK_LINUX_KERNEL_VIRTIO
  138. select ADK_LINUX_KERNEL_VIRTIO_MENU
  139. select ADK_LINUX_KERNEL_VIRTIO_PCI
  140. select ADK_LINUX_KERNEL_VIRTIO_NET
  141. select ADK_LINUX_KERNEL_VIRTIO_BLK
  142. select ADK_LINUX_KERNEL_VIRTIO_CONSOLE
  143. select ADK_WALDUX_KERNEL_VIRTIO
  144. select ADK_WALDUX_KERNEL_VIRTIO_PCI
  145. select ADK_WALDUX_KERNEL_VIRTIO_NET
  146. select ADK_WALDUX_KERNEL_VIRTIO_BLK
  147. select ADK_WALDUX_KERNEL_VIRTIO_CONSOLE
  148. endchoice
  149. choice
  150. prompt "Qemu Emulation with audio support"
  151. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  152. config ADK_TARGET_QEMU_WITHOUT_AUDIO
  153. bool "disabled"
  154. config ADK_TARGET_QEMU_WITH_AUDIO
  155. bool "enabled"
  156. endchoice
  157. endmenu