-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Config.in
114 lines (90 loc) · 2.17 KB
/
Config.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
menu "Emulator options"
config QEMU_ARCH
string
default "arm" if BR2_arm926t
default "aarch64" if BR2_aarch64
default "x86_64" if BR2_x86_64
default BR2_ARCH
config QEMU_MACH
string "Machine"
default "q35,accel=kvm -cpu host -enable-kvm" if BR2_x86_64
default "virt -cpu cortex-a53" if BR2_aarch64
default "virt,highmem=off" if BR2_cortex_a9 || BR2_cortex_a5
default "versatilepb -dtb versatile-pb.dtb" if BR2_arm926t
default ""
help
The arch specific machine (CPU board) to emulate and any specific args.
config QEMU_SMP
string "SMP number of cores"
help
Number of CPU cores for SMP operation.
config QEMU_MEM
string "RAM size"
default "256M"
help
Amount of RAM for board.
config QEMU_EXTRA
string "Extra args"
default " -device i6300esb -rtc clock=host"
choice
bool "Network mode"
default QEMU_NET_BRIDGE
help
Select Qemu network mode.
config QEMU_NET_BRIDGE
bool "bridge"
help
Bridged with, e.g., host virbr0
config QEMU_NET_TAP
bool "tap"
help
Creates qtapN interface(s), see QEMU_N_NICS
config QEMU_NET_USER
bool "user"
help
Qemu user networking -- non-root option
endchoice
config QEMU_NET
string
default "bridge" if QEMU_NET_BRIDGE
default "tap" if QEMU_NET_TAP
default "user" if QEMU_NET_USER
if ! QEMU_NET_USER
config QEMU_N_NICS
int "Number of Ethernet interfaces"
default 1
help
Number of Ethernet interfaces to emulate.
endif
config QEMU_NIC
string "Ethernet NIC model"
default "virtio-net-pci"
help
Ethernet NIC to emulate.
config QEMU_SCSI
string "Disk controller"
default "virtio-scsi-pci"
help
SCSI disk interface to emulate.
config QEMU_GDB
bool "Enable GDB console"
default n
help
Enable GDB socket with hvc1 console for gdbserver.
config QEMU_KERNEL
string
default "bzImage" if BR2_LINUX_KERNEL_BZIMAGE
default "zImage" if BR2_LINUX_KERNEL_ZIMAGE
default "Image" if BR2_LINUX_KERNEL_IMAGE
config QEMU_DISK
string
default "rootfs.ext2" if BR2_TARGET_ROOTFS_EXT2
default ""
config QEMU_INITRD
string
default "rootfs.squashfs" if BR2_TARGET_ROOTFS_SQUASHFS
default ""
endmenu
menu Packages
source "$BR2_EXTERNAL_MYLINUX_PATH/package/Config.in"
endmenu