1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
5 prompt "Filesystem / Image type" if !ADK_TARGET_CHOOSE_ARCH
6 depends on !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_OS_BAREMETAL
7 default ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK if ADK_TARGET_QEMU || ADK_TARGET_SIM
8 default ADK_TARGET_ROOTFS_ARCHIVE
10 config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
11 bool "initramfs filesystem included into kernel image"
12 select ADK_TARGET_ARCH_INITRAMFS_BUILTIN
16 ADK_TARGET_ARCH_AARCH64 || \
17 ADK_TARGET_ARCH_ALPHA || \
18 ADK_TARGET_ARCH_ARC || \
19 ADK_TARGET_ARCH_ARM || \
20 ADK_TARGET_ARCH_H8300 || \
21 ADK_TARGET_ARCH_HPPA || \
22 ADK_TARGET_ARCH_M68K || \
23 ADK_TARGET_ARCH_MICROBLAZE || \
24 ADK_TARGET_ARCH_MIPS || \
25 ADK_TARGET_ARCH_MIPS64 || \
26 ADK_TARGET_ARCH_PPC || \
27 ADK_TARGET_ARCH_SH || \
28 ADK_TARGET_ARCH_SPARC || \
29 ADK_TARGET_ARCH_X86 || \
30 ADK_TARGET_ARCH_X86_64
31 depends on !ADK_TARGET_VBOX
32 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
34 create an read-only initramfs system.
36 config ADK_TARGET_ROOTFS_INITRAMFS
37 bool "initramfs filesystem"
40 ADK_TARGET_ARCH_ALPHA || \
41 ADK_TARGET_ARCH_ARM || \
42 ADK_TARGET_ARCH_M68K || \
43 ADK_TARGET_ARCH_MICROBLAZE || \
44 ADK_TARGET_ARCH_MIPS || \
45 ADK_TARGET_ARCH_MIPS64 || \
46 ADK_TARGET_ARCH_PPC || \
47 ADK_TARGET_ARCH_SH || \
48 ADK_TARGET_ARCH_SPARC || \
49 ADK_TARGET_ARCH_X86 || \
50 ADK_TARGET_ARCH_X86_64
51 depends on !ADK_TARGET_VBOX
52 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
53 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
54 depends on !ADK_TARGET_SYSTEM_QEMU_METAG
55 select ADK_LINUX_KERNEL_BLK_DEV_INITRD if ADK_TARGET_OS_LINUX
56 select ADK_WALDUX_KERNEL_BLK_DEV_INITRD if ADK_TARGET_OS_WALDUX
58 create an read-only initramfs system.
60 config ADK_TARGET_ROOTFS_SQUASHFS
61 bool "Compressed read-only root filesystem (squashfs)"
62 select ADK_KERNEL_SQUASHFS
63 select ADK_HOST_NEED_SQUASHFS
64 select ADK_HOST_NEED_QEMU if ADK_TARGET_QEMU
65 select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
66 depends on ADK_TARGET_WITH_MTD \
67 || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
68 || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
70 highly compressed read-only filesystem for MTD flash systems.
72 config ADK_TARGET_ROOTFS_JFFS2
73 bool "Compressed read-write root filesystem (jffs2)"
74 select ADK_LINUX_KERNEL_JFFS2_FS if ADK_TARGET_OS_LINUX
75 select ADK_WALDUX_KERNEL_JFFS2_FS if ADK_TARGET_OS_WALDUX
76 select ADK_HOST_NEED_MTD_UTILS
77 select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
78 depends on ADK_TARGET_WITH_MTD \
79 || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
80 || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
82 compressed read-write filesystem for MTD flash systems.
84 config ADK_TARGET_ROOTFS_UBIFS
85 bool "UBIFS root filesystem (NAND)"
86 select ADK_LINUX_KERNEL_UBIFS_FS if ADK_TARGET_OS_LINUX
87 select ADK_WALDUX_KERNEL_UBIFS_FS if ADK_TARGET_OS_WALDUX
88 select ADK_HOST_NEED_MTD_UTILS
89 select ADK_HOST_NEED_KERNEL2MINOR
90 depends on ADK_TARGET_WITH_NAND
92 Root filesystem on NAND flash with UBI.
94 config ADK_TARGET_ROOTFS_NFSROOT
96 select ADK_LINUX_KERNEL_NETWORK_FILESYSTEMS if ADK_TARGET_OS_LINUX
97 select ADK_LINUX_KERNEL_SUNRPC if ADK_TARGET_OS_LINUX
98 select ADK_LINUX_KERNEL_NFS_FS if ADK_TARGET_OS_LINUX
99 select ADK_LINUX_KERNEL_NFS_V3 if ADK_TARGET_OS_LINUX
100 select ADK_LINUX_KERNEL_ROOT_NFS if ADK_TARGET_OS_LINUX
101 select ADK_LINUX_KERNEL_NFS_COMMON if ADK_TARGET_OS_LINUX
102 select ADK_LINUX_KERNEL_IP_PNP if ADK_TARGET_OS_LINUX
103 select ADK_LINUX_KERNEL_IP_PNP_DHCP if ADK_TARGET_OS_LINUX
104 select ADK_WALDUX_KERNEL_NETWORK_FILESYSTEMS if ADK_TARGET_OS_WALDUX
105 select ADK_WALDUX_KERNEL_SUNRPC if ADK_TARGET_OS_WALDUX
106 select ADK_WALDUX_KERNEL_NFS_FS if ADK_TARGET_OS_WALDUX
107 select ADK_WALDUX_KERNEL_NFS_V3 if ADK_TARGET_OS_WALDUX
108 select ADK_WALDUX_KERNEL_ROOT_NFS if ADK_TARGET_OS_WALDUX
109 select ADK_WALDUX_KERNEL_NFS_COMMON if ADK_TARGET_OS_WALDUX
110 select ADK_WALDUX_KERNEL_IP_PNP if ADK_TARGET_OS_WALDUX
111 select ADK_WALDUX_KERNEL_IP_PNP_DHCP if ADK_TARGET_OS_WALDUX
112 depends on !ADK_TARGET_QEMU && \
114 !ADK_TARGET_VBOX && \
115 !ADK_TARGET_SYSTEM_ARANYM_M68K && \
116 !ADK_TARGET_SYSTEM_FOXBOARD_LX832 && \
117 !ADK_TARGET_SYSTEM_LINKSYS_NSLU2
119 Root filesystem mounted via NFS. (DHCP)
121 config ADK_TARGET_ROOTFS_USB
122 bool "Boot from USB stick"
123 select ADK_LINUX_KERNEL_NLS if ADK_TARGET_OS_LINUX
124 select ADK_LINUX_KERNEL_SCSI if ADK_TARGET_OS_LINUX
125 select ADK_LINUX_KERNEL_BLK_DEV_SD if ADK_TARGET_OS_LINUX
126 select ADK_LINUX_KERNEL_USB if ADK_TARGET_OS_LINUX
127 select ADK_LINUX_KERNEL_USB_EHCI_HCD if ADK_TARGET_OS_LINUX
128 select ADK_LINUX_KERNEL_USB_OHCI_HCD if ADK_TARGET_OS_LINUX
129 select ADK_LINUX_KERNEL_USB_UHCI_HCD if ADK_TARGET_OS_LINUX
130 select ADK_LINUX_KERNEL_USB_STORAGE if ADK_TARGET_OS_LINUX
131 select ADK_WALDUX_KERNEL_NLS if ADK_TARGET_OS_WALDUX
132 select ADK_WALDUX_KERNEL_SCSI if ADK_TARGET_OS_WALDUX
133 select ADK_WALDUX_KERNEL_BLK_DEV_SD if ADK_TARGET_OS_WALDUX
134 select ADK_WALDUX_KERNEL_USB if ADK_TARGET_OS_WALDUX
135 select ADK_WALDUX_KERNEL_USB_EHCI_HCD if ADK_TARGET_OS_WALDUX
136 select ADK_WALDUX_KERNEL_USB_OHCI_HCD if ADK_TARGET_OS_WALDUX
137 select ADK_WALDUX_KERNEL_USB_UHCI_HCD if ADK_TARGET_OS_WALDUX
138 select ADK_WALDUX_KERNEL_USB_STORAGE if ADK_TARGET_OS_WALDUX
139 select ADK_PACKAGE_ADKINSTALL
140 depends on ADK_TARGET_WITH_USB_BOOT \
141 || ADK_TARGET_GENERIC
143 Boot system from USB stick.
145 config ADK_TARGET_ROOTFS_ISO
147 select ADK_LINUX_KERNEL_ISO9660_FS if ADK_TARGET_OS_LINUX
148 select ADK_LINUX_KERNEL_JOLIET if ADK_TARGET_OS_LINUX
149 select ADK_LINUX_KERNEL_SCSI if ADK_TARGET_OS_LINUX
150 select ADK_LINUX_KERNEL_BLK_DEV_SR if ADK_TARGET_OS_LINUX
151 select ADK_WALDUX_KERNEL_ISO9660_FS if ADK_TARGET_OS_WALDUX
152 select ADK_WALDUX_KERNEL_JOLIET if ADK_TARGET_OS_WALDUX
153 select ADK_WALDUX_KERNEL_SCSI if ADK_TARGET_OS_WALDUX
154 select ADK_WALDUX_KERNEL_BLK_DEV_SR if ADK_TARGET_OS_WALDUX
155 select ADK_HOST_NEED_CDRTOOLS
156 select ADK_HOST_NEED_SYSLINUX
157 depends on ADK_TARGET_ARCH_X86
159 Use this option to create a bootable ISO image.
161 config ADK_TARGET_ROOTFS_INITRAMFSARCHIVE
162 bool "Archive usable for initramfs creation"
163 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
164 && !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 \
165 && !ADK_TARGET_SYSTEM_QEMU_METAG \
167 select ADK_LINUX_KERNEL_BLK_DEV_INITRD if ADK_TARGET_OS_LINUX
168 select ADK_WALDUX_KERNEL_BLK_DEV_INITRD if ADK_TARGET_OS_WALDUX
170 Use this option if your planning to create a initramfs.
172 config ADK_TARGET_ROOTFS_ARCHIVE
173 bool "Archive usable for ext4 filesystems"
174 select ADK_HOST_NEED_GENEXT2FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX
175 select ADK_LINUX_KERNEL_EXT4_FS if ADK_TARGET_OS_LINUX
176 select ADK_WALDUX_KERNEL_EXT4_FS if ADK_TARGET_OS_WALDUX
177 select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
178 depends on !ADK_TARGET_SIM \
179 && !ADK_TARGET_ARCH_NDS32 \
180 && !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 \
181 && !ADK_TARGET_SYSTEM_QEMU_METAG
183 Use this option if your root filesystem is ext4 and you use
184 for example install.sh to install firmware on a block device
185 connected to your development machine.
187 config ADK_TARGET_ROOTFS_GENIMAGE
188 bool "Create a disk image for the target"
189 select ADK_LINUX_KERNEL_EXT4_FS if ADK_TARGET_OS_LINUX
190 select ADK_LINUX_KERNEL_VFAT_FS if ADK_TARGET_OS_LINUX
191 select ADK_WALDUX_KERNEL_EXT4_FS if ADK_TARGET_OS_WALDUX
192 select ADK_WALDUX_KERNEL_VFAT_FS if ADK_TARGET_OS_WALDUX
193 select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
194 select ADK_TARGET_QEMU_WITH_BOOTLOADER if ADK_TARGET_QEMU
195 select ADK_HOST_BUILD_GENIMAGE
196 depends on ADK_TARGET_ARCH_X86_64
198 Create a complete disk image for the target with genimage.
202 config ADK_TARGET_ROOTDEV
203 string "Root device name"
204 depends on ADK_TARGET_ROOTFS_GENIMAGE
207 If you a embedded device with multiple block devices and want to
208 set the root device name.
210 config ADK_TARGET_DUAL_BOOT
211 bool "Activate dual-boot partition layout"
212 depends on ADK_TARGET_ROOTFS_GENIMAGE
213 select ADK_PACKAGE_FWUPDATE
214 select ADK_PACKAGE_GRUB if ADK_TARGET_ARCH_X86_64 || ADK_TARGET_ARCH_X86
215 select ADK_PACKAGE_GRUB_TOOLS if ADK_TARGET_ARCH_X86_64 || ADK_TARGET_ARCH_X86
217 Activate dual-boot partition scheme for simple full updates into
218 a second unused partition. You can use fwupdate on the target to
219 update your system. A firmware update tar archive is created in
220 firmware output directory together with the full image.
222 config ADK_TARGET_GENIMAGE_FILENAME
224 default "genimage-efi-dual.cfg" if ADK_PACKAGE_GRUB_EFI_X86_64 || ADK_PACKAGE_GRUB_EFI_X86 && ADK_TARGET_DUAL_BOOT
225 default "genimage-efi.cfg" if ADK_PACKAGE_GRUB_EFI_X86_64 || ADK_PACKAGE_GRUB_EFI_X86
226 default "genimage-dual.cfg" if ADK_TARGET_DUAL_BOOT
227 default "genimage.cfg"