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