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_M68K || \
22 ADK_TARGET_ARCH_MICROBLAZE || \
23 ADK_TARGET_ARCH_MIPS || \
24 ADK_TARGET_ARCH_MIPS64 || \
25 ADK_TARGET_ARCH_PPC || \
26 ADK_TARGET_ARCH_SH || \
27 ADK_TARGET_ARCH_SPARC || \
28 ADK_TARGET_ARCH_X86 || \
29 ADK_TARGET_ARCH_X86_64
30 depends on !ADK_TARGET_VBOX
31 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
33 create an read-only initramfs system.
35 config ADK_TARGET_ROOTFS_INITRAMFS
36 bool "initramfs filesystem"
39 ADK_TARGET_ARCH_ALPHA || \
40 ADK_TARGET_ARCH_ARM || \
41 ADK_TARGET_ARCH_M68K || \
42 ADK_TARGET_ARCH_MICROBLAZE || \
43 ADK_TARGET_ARCH_MIPS || \
44 ADK_TARGET_ARCH_MIPS64 || \
45 ADK_TARGET_ARCH_PPC || \
46 ADK_TARGET_ARCH_SH || \
47 ADK_TARGET_ARCH_SPARC || \
48 ADK_TARGET_ARCH_X86 || \
49 ADK_TARGET_ARCH_X86_64
50 depends on !ADK_TARGET_VBOX
51 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
52 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
53 depends on !ADK_TARGET_SYSTEM_QEMU_METAG
54 select ADK_KERNEL_BLK_DEV_INITRD
56 create an read-only initramfs system.
58 config ADK_TARGET_ROOTFS_SQUASHFS
59 bool "Compressed read-only root filesystem (squashfs)"
60 select ADK_KERNEL_SQUASHFS
61 select ADK_HOST_NEED_SQUASHFS
62 select ADK_HOST_NEED_QEMU if ADK_TARGET_QEMU
63 select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
64 depends on ADK_TARGET_WITH_MTD \
65 || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
66 || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
68 highly compressed read-only filesystem for MTD flash systems.
70 config ADK_TARGET_ROOTFS_JFFS2
71 bool "Compressed read-write root filesystem (jffs2)"
72 select ADK_KERNEL_JFFS2_FS
73 select ADK_HOST_NEED_MTD_UTILS
74 select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
75 depends on ADK_TARGET_WITH_MTD \
76 || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
77 || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
79 compressed read-write filesystem for MTD flash systems.
81 config ADK_TARGET_ROOTFS_UBIFS
82 bool "UBIFS root filesystem (NAND)"
83 select ADK_KERNEL_UBIFS_FS
84 select ADK_HOST_NEED_MTD_UTILS
85 select ADK_HOST_NEED_KERNEL2MINOR
86 depends on ADK_TARGET_WITH_NAND
88 Root filesystem on NAND flash with UBI.
90 config ADK_TARGET_ROOTFS_NFSROOT
92 select ADK_KERNEL_NETWORK_FILESYSTEMS
93 select ADK_KERNEL_SUNRPC
94 select ADK_KERNEL_NFS_FS
95 select ADK_KERNEL_NFS_V3
96 select ADK_KERNEL_ROOT_NFS
97 select ADK_KERNEL_NFS_COMMON
98 select ADK_KERNEL_IP_PNP
99 select ADK_KERNEL_IP_PNP_DHCP
100 depends on !ADK_TARGET_QEMU && \
102 !ADK_TARGET_VBOX && \
103 !ADK_TARGET_SYSTEM_ARANYM_M68K && \
104 !ADK_TARGET_SYSTEM_FOXBOARD_LX832 && \
105 !ADK_TARGET_SYSTEM_LINKSYS_NSLU2
107 Root filesystem mounted via NFS. (DHCP)
109 config ADK_TARGET_ROOTFS_USB
110 bool "Boot from USB stick"
111 select ADK_KERNEL_NLS
112 select ADK_KERNEL_SCSI
113 select ADK_KERNEL_BLK_DEV_SD
114 select ADK_KERNEL_USB
115 select ADK_KERNEL_USB_EHCI_HCD
116 select ADK_KERNEL_USB_OHCI_HCD
117 select ADK_KERNEL_USB_UHCI_HCD
118 select ADK_KERNEL_USB_STORAGE
119 select ADK_PACKAGE_ADKINSTALL
120 depends on ADK_TARGET_WITH_USB_BOOT \
121 || ADK_TARGET_GENERIC
123 Boot system from USB stick.
125 config ADK_TARGET_ROOTFS_ISO
127 select ADK_KERNEL_ISO9660_FS
128 select ADK_KERNEL_JOLIET
129 select ADK_KERNEL_SCSI
130 select ADK_KERNEL_BLK_DEV_SR
131 select ADK_HOST_NEED_CDRTOOLS
132 select ADK_HOST_NEED_SYSLINUX
133 depends on ADK_TARGET_ARCH_X86
135 Use this option to create a bootable ISO image.
137 config ADK_TARGET_ROOTFS_INITRAMFSARCHIVE
138 bool "Archive usable for initramfs creation"
139 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
140 && !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 \
141 && !ADK_TARGET_SYSTEM_QEMU_METAG \
143 select ADK_KERNEL_BLK_DEV_INITRD
145 Use this option if your planning to create a initramfs.
147 config ADK_TARGET_ROOTFS_ARCHIVE
148 bool "Archive usable for ext4 filesystems"
149 select ADK_HOST_NEED_GENEXT2FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX
150 select ADK_KERNEL_EXT4_FS
151 select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
152 depends on !ADK_TARGET_SIM \
153 && !ADK_TARGET_ARCH_NDS32 \
154 && !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 \
155 && !ADK_TARGET_SYSTEM_QEMU_METAG
157 Use this option if your root filesystem is ext4 and you use
158 for example install.sh to install firmware on a block device
159 connected to your development machine.
161 config ADK_TARGET_ROOTFS_GENIMAGE
162 bool "Create a disk image for the target"
163 select ADK_KERNEL_EXT4_FS
164 select ADK_KERNEL_VFAT_FS
165 select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
166 select ADK_TARGET_QEMU_WITH_BOOTLOADER if ADK_TARGET_QEMU
167 select ADK_HOST_BUILD_GENIMAGE
169 Create a complete disk image for the target with genimage.
173 config ADK_TARGET_ROOTDEV
174 string "Root device name"
175 depends on ADK_TARGET_ROOTFS_GENIMAGE
178 If you a embedded device with multiple block devices and want to
179 set the root device name.
181 config ADK_TARGET_DUAL_BOOT
182 bool "Activate dual-boot partition layout"
183 depends on ADK_TARGET_ROOTFS_GENIMAGE
184 select ADK_PACKAGE_FWUPDATE
185 select ADK_PACKAGE_GRUB if ADK_TARGET_ARCH_X86_64 || ADK_TARGET_ARCH_X86
186 select ADK_PACKAGE_GRUB_TOOLS if ADK_TARGET_ARCH_X86_64 || ADK_TARGET_ARCH_X86
188 Activate dual-boot partition scheme for simple full updates into
189 a second unused partition. You can use fwupdate on the target to
190 update your system. A firmware update tar archive is created in
191 firmware output directory together with the full image.
193 config ADK_TARGET_GENIMAGE_FILENAME
195 default "genimage-efi-dual.cfg" if ADK_PACKAGE_GRUB_EFI_X86_64 || ADK_PACKAGE_GRUB_EFI_X86 && ADK_TARGET_DUAL_BOOT
196 default "genimage-efi.cfg" if ADK_PACKAGE_GRUB_EFI_X86_64 || ADK_PACKAGE_GRUB_EFI_X86
197 default "genimage-dual.cfg" if ADK_TARGET_DUAL_BOOT
198 default "genimage.cfg"