Config.in.qemuopts 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. menu "Qemu configuration"
  4. depends on ADK_TARGET_QEMU
  5. config ADK_QEMU_ARGS
  6. string
  7. default "-nographic" if ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  8. choice
  9. prompt "Use a Bootloader"
  10. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  11. config ADK_TARGET_QEMU_WITHOUT_BOOTLOADER
  12. boolean "do not use bootloader"
  13. config ADK_TARGET_QEMU_WITH_BOOTLOADER
  14. boolean "use bootloader"
  15. select ADK_PACKAGE_GRUB if ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  16. endchoice
  17. choice
  18. prompt "Qemu Emulation with permanent storage device (disk/flash)"
  19. depends on ADK_TARGET_QEMU
  20. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_ARCHIVE
  21. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_SQUASHFS
  22. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_JFFS2
  23. config ADK_TARGET_QEMU_WITHOUT_BLOCK
  24. boolean "disabled"
  25. config ADK_TARGET_QEMU_WITH_BLOCK
  26. boolean "enabled"
  27. select ADK_KERNEL_SCSI_SYM53C8XX_2 if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
  28. select ADK_KERNEL_MTD_M25P80 if ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605 || ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  29. select ADK_KERNEL_ATA_PIIX if ADK_TARGET_SYSTEM_QEMU_MIPS || ADK_TARGET_SYSTEM_QEMU_MIPS64 || ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  30. select ADK_KERNEL_PATA_MACIO if ADK_TARGET_SYSTEM_QEMU_PPC
  31. select ADK_KERNEL_SCSI_IBMVSCSI if ADK_TARGET_SYSTEM_QEMU_PPC64
  32. select ADK_KERNEL_SCSI_SUNESP if ADK_TARGET_SYSTEM_QEMU_SPARC
  33. select ADK_KERNEL_PATA_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH4
  34. endchoice
  35. choice
  36. prompt "Qemu Emulation with graphical output"
  37. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_QEMU_ARM_MODEL_SPITZ || ADK_TARGET_SYSTEM_QEMU_SH4
  38. default ADK_TARGET_QEMU_WITH_GRAPHIC if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  39. config ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  40. boolean "disabled"
  41. config ADK_TARGET_QEMU_WITH_GRAPHIC
  42. boolean "enabled"
  43. select ADK_KERNEL_VT
  44. select ADK_KERNEL_VT_CONSOLE
  45. select ADK_KERNEL_FONTS
  46. select ADK_KERNEL_FONT_8x16
  47. select ADK_KERNEL_FB
  48. select ADK_KERNEL_FRAMEBUFFER_CONSOLE
  49. select ADK_KERNEL_FB_SM501 if ADK_TARGET_SYSTEM_QEMU_SH4
  50. select ADK_KERNEL_FB_CIRRUS if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  51. select ADK_KERNEL_FB_PXA if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  52. select ADK_KERNEL_INPUT
  53. select ADK_KERNEL_INPUT_KEYBOARD
  54. select ADK_KERNEL_KEYBOARD_ATKBD if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  55. select ADK_KERNEL_USB_HID if ADK_TARGET_SYSTEM_QEMU_SH4
  56. select ADK_KERNEL_USB_OHCI_HCD_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH4
  57. endchoice
  58. choice
  59. prompt "Qemu Emulation using VirtIO drivers"
  60. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64 || \
  61. ADK_TARGET_SYSTEM_QEMU_X86 || \
  62. ADK_TARGET_SYSTEM_QEMU_X86_64
  63. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_SPARC64
  64. config ADK_TARGET_QEMU_WITHOUT_VIRTIO
  65. boolean "disabled"
  66. config ADK_TARGET_QEMU_WITH_VIRTIO
  67. boolean "enabled"
  68. select ADK_KERNEL_VIRTIO
  69. select ADK_KERNEL_VIRTIO_PCI
  70. select ADK_KERNEL_VIRTIO_NET
  71. select ADK_KERNEL_VIRTIO_BLK
  72. endchoice
  73. endmenu