4db8642acf699ef203d20f28892dc826c4d5b5f8
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / boot / grub / Config.in
1 config BR2_TARGET_GRUB
2         bool "grub"
3         depends on BR2_i386 || BR2_x86_64
4         select BR2_HOSTARCH_NEEDS_IA32_COMPILER
5         help
6           The GRand Unified Bootloader for x86 systems.
7
8           Some notes on creating a disk image with Grub installed:
9             1. Create an empty disk image
10                dd if=/dev/zero of=disk.img bs=1M count=32
11             2. Create one primary partition
12                cfdisk -h 16 -s 63 disk.img
13             3. Set up a loop device
14                sudo losetup -f disk.img
15             4. Set up loop devices per partitions
16                sudo partx -a /dev/loop0
17             5. Create the ext2 filesystem
18                sudo mkfs.ext2 -L root /dev/loop0p1
19             6. Mount the filesystem
20                mount /dev/loop0p1 /mnt
21             7. Extract the root filesystem
22                sudo tar -C /mnt -xf output/images/rootfs.tar
23             8. Unmount the filesystem, clean up loop device
24                sudo umount /mnt
25                sudo partx -d /dev/loop0
26                sudo losetup -d /dev/loop0
27             9. Install grub
28                output/host/sbin/grub --device-map=/dev/null
29                and in the grub shell, enter:
30                 device (hd0) disk.img
31                 geometry (hd0) <cylinders> 16 63
32                 root (hd0,0)
33                 setup (hd0)
34             10. Image is ready
35                 Can be tested in Qemu, with:
36                   qemu-system-{i386,x86-64} -hda disk.img
37
38 if BR2_TARGET_GRUB
39
40 config BR2_TARGET_GRUB_SPLASH
41         bool "Splashimage support"
42         help
43           Add support for splashimage.
44
45           A splashimage is a 14-color indexed .xpm picture which is
46           displayed as background for the grub menu. See
47           http://www.katspace.org/computers/Grub_Splash/ for details
48           on how to generate a splashimage.
49
50 config BR2_TARGET_GRUB_DISKLESS
51         bool "diskless support"
52         help
53           enable diskless support
54
55 menu "filesystem drivers"
56
57 config BR2_TARGET_GRUB_FS_EXT2
58         bool "ext2"
59         default y
60         help
61           Enable support for the ext2 filesystem in Grub
62
63 config BR2_TARGET_GRUB_FS_FAT
64         bool "FAT"
65         default y
66         help
67           Enable support for the FAT filesystem in Grub.
68
69 config BR2_TARGET_GRUB_FS_ISO9660
70         bool "ISO9660"
71         help
72           Enable support for the ISO9660 filesystem in Grub.
73
74 config BR2_TARGET_GRUB_FS_JFS
75         bool "IBM JFS"
76         help
77           Enable support for the JFS filesystem in Grub.
78
79 config BR2_TARGET_GRUB_FS_REISERFS
80         bool "ReiserFS"
81         help
82           Enable support for the ReiserFS filesystem in Grub.
83
84 config BR2_TARGET_GRUB_FS_XFS
85         bool "SGI XFS"
86         help
87           Enable support for the XFS filesystem in Grub.
88
89 endmenu
90
91 menu "network drivers"
92
93 config BR2_TARGET_GRUB_3c595
94         bool "3Com595 driver"
95         help
96           enable 3Com595 driver
97
98 config BR2_TARGET_GRUB_3c90x
99         bool "3Com90x driver"
100         help
101           enable 3Com90x driver
102
103 config BR2_TARGET_GRUB_davicom
104         bool "Davicom driver"
105         help
106           enable Davicom driver
107
108 config BR2_TARGET_GRUB_e1000
109         bool "Etherexpress Pro/1000 driver"
110         help
111           enable Etherexpress Pro/1000 driver
112
113 config BR2_TARGET_GRUB_eepro100
114         bool "Etherexpress Pro/100 driver"
115         help
116           enable Etherexpress Pro/100 driver
117
118 config BR2_TARGET_GRUB_epic100
119         bool "SMC 83c170 EPIC/100 driver"
120         help
121           enable SMC 83c170 EPIC/100 driver
122
123 config BR2_TARGET_GRUB_forcedeth
124         bool "Nvidia Geforce driver"
125         help
126           enable Nvidia Geforce driver
127
128 config BR2_TARGET_GRUB_natsemi
129         bool "NatSemi DP8381x driver"
130         help
131           enable NatSemi DP8381x driver
132
133 config BR2_TARGET_GRUB_ns83820
134         bool "NS83820 driver"
135         help
136           enable NS83820 driver
137
138 config BR2_TARGET_GRUB_ns8390
139         bool "NE2000 PCI driver"
140         help
141           enable NE2000 PCI driver
142
143 config BR2_TARGET_GRUB_pcnet32
144         bool "AMD Lance/PCI PCNet/32 driver"
145         help
146           enable AMD Lance/PCI PCNet/32 driver
147
148 config BR2_TARGET_GRUB_pnic
149         bool "Bochs Pseudo Nic driver"
150         help
151           enable Bochs Pseudo Nic driver
152
153 config BR2_TARGET_GRUB_rtl8139
154         bool "Realtek 8139 driver"
155         help
156           enable Realtek 8139 driver
157
158 config BR2_TARGET_GRUB_r8169
159         bool "Realtek 8169 driver"
160         help
161           enable Realtek 8169 driver
162
163 config BR2_TARGET_GRUB_sis900
164         bool "SIS 900 and SIS 7016 driver"
165         help
166           enable SIS 900 and SIS 7016 driver
167
168 config BR2_TARGET_GRUB_tg3
169         bool "Broadcom Tigon3 driver"
170         help
171           enable Broadcom Tigon3 driver
172
173 config BR2_TARGET_GRUB_tulip
174         bool "Tulip driver"
175         help
176           enable Tulip driver
177
178 config BR2_TARGET_GRUB_tlan
179         bool "TI ThunderLAN driver"
180         help
181           enable TI ThunderLAN driver
182
183 config BR2_TARGET_GRUB_undi
184         bool "PXE UNDI driver"
185         help
186           enable PXE UNDI driver
187
188 config BR2_TARGET_GRUB_via_rhine
189         bool "Rhine-I/II driver"
190         help
191           enable Rhine-I/II driver
192
193 config BR2_TARGET_GRUB_w89c840
194         bool "Winbond W89c840 driver"
195         help
196           enable Winbond W89c840 driver
197
198 endmenu
199
200 endif # BR2_TARGET_GRUB