1
0

Config.in.qemu 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. depends on ADK_TARGET_SYSTEM_QEMU_ARM
  41. endchoice
  42. choice
  43. prompt "Qemu Emulation with permanent storage device (disk/flash)"
  44. depends on ADK_HARDWARE_QEMU
  45. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_ARCHIVE
  46. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_SQUASHFS
  47. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_JFFS2
  48. config ADK_TARGET_QEMU_WITHOUT_BLOCK
  49. boolean "disabled"
  50. config ADK_TARGET_QEMU_WITH_BLOCK
  51. boolean "enabled"
  52. select ADK_KERNEL_SCSI_SYM53C8XX_2 if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
  53. select ADK_KERNEL_MTD_M25P80 if ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605 || ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  54. select ADK_KERNEL_ATA_PIIX if ADK_LINUX_MIPS || ADK_LINUX_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  55. select ADK_KERNEL_PATA_MACIO if ADK_TARGET_SYSTEM_QEMU_PPC
  56. select ADK_KERNEL_SCSI_IBMVSCSI if ADK_TARGET_SYSTEM_QEMU_PPC64
  57. select ADK_KERNEL_SCSI_SUNESP if ADK_TARGET_SYSTEM_QEMU_SPARC
  58. select ADK_KERNEL_PATA_PLATFORM if ADK_LINUX_SH
  59. endchoice
  60. choice
  61. prompt "Qemu Emulation with graphical output"
  62. depends on ADK_HARDWARE_QEMU
  63. config ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  64. boolean "disabled"
  65. config ADK_TARGET_QEMU_WITH_GRAPHIC
  66. boolean "enabled"
  67. select ADK_KERNEL_VT
  68. select ADK_KERNEL_VT_CONSOLE
  69. select ADK_KERNEL_FONTS
  70. select ADK_KERNEL_FONT_8x16
  71. select ADK_KERNEL_FB
  72. select ADK_KERNEL_FRAMEBUFFER_CONSOLE
  73. select ADK_KERNEL_FB_SM501 if ADK_LINUX_SH
  74. select ADK_KERNEL_FB_CIRRUS if ADK_LINUX_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  75. select ADK_KERNEL_FB_PXA if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  76. select ADK_KERNEL_INPUT
  77. select ADK_KERNEL_INPUT_KEYBOARD
  78. select ADK_KERNEL_KEYBOARD_ATKBD if ADK_LINUX_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  79. select ADK_KERNEL_USB_HID if ADK_LINUX_SH
  80. select ADK_KERNEL_USB_OHCI_HCD_PLATFORM if ADK_LINUX_SH
  81. endchoice
  82. choice
  83. prompt "Qemu Emulation using VirtIO drivers"
  84. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64 || \
  85. ADK_TARGET_SYSTEM_QEMU_I686 || \
  86. ADK_TARGET_SYSTEM_QEMU_X86_64
  87. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_SPARC64
  88. config ADK_TARGET_QEMU_WITHOUT_VIRTIO
  89. boolean "disabled"
  90. config ADK_TARGET_QEMU_WITH_VIRTIO
  91. boolean "enabled"
  92. select ADK_KERNEL_BLK_DEV
  93. select ADK_KERNEL_VIRTIO
  94. select ADK_KERNEL_VIRTIO_PCI
  95. select ADK_KERNEL_VIRTIO_NET
  96. select ADK_KERNEL_VIRTIO_BLK
  97. endchoice
  98. endmenu