1- menuconfig SIGN_ENABLED
2- bool "Image Signing"
3- default y
4-
5- choice
6- prompt "Signing key source"
7- depends on SIGN_ENABLED
8- default SIGN_SRC_DIR
9-
10- config SIGN_SRC_DIR
11- bool "Directory"
1+ menu "Images"
122
13- config SIGN_SRC_PKCS11
14- bool "PKCS#11 URL"
3+ source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-itb-rootfs/Config.in"
4+ source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-itb-aux/Config.in"
5+ source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-itb-qcow/Config.in"
6+ source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-itb-gns3a/Config.in"
7+ source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-itb-rauc/Config.in"
8+ source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-itb-dl-release/Config.in"
9+ source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-readme/Config.in"
1510
16- endchoice
11+ endmenu
1712
18- config SIGN_KEY
19- string "Signing key"
20- depends on SIGN_ENABLED
21- default "${BR2_EXTERNAL_INFIX_PATH}/board/common/signing-keys/development" if SIGN_SRC_DIR
13+ config QEMU_SCRIPTS
14+ bool "QEMU scripts"
15+ default y
16+ help
17+ Install QEMU scripts and related files in the images
18+ directory, which can be used to launch virtual Infix
19+ instances.
2220
2321menuconfig TRUSTED_KEYS
2422 bool "Trusted keys for image"
25- depends on SIGN_ENABLED
2623 help
2724 Keys that will be accepted for this image
2825
29-
3026config TRUSTED_KEYS_DEVELOPMENT
3127 bool "Development key"
3228 depends on TRUSTED_KEYS
@@ -39,130 +35,3 @@ config TRUSTED_KEYS_DEVELOPMENT_PATH
3935config TRUSTED_KEYS_EXTRA_PATH
4036 string "Path to extra keys to include in image"
4137 depends on TRUSTED_KEYS
42-
43- menuconfig DISK_IMAGE
44- bool "Disk image"
45- help
46- Compose a full disk image with redundant Linux OS partitions,
47- configuration partition, etc.
48-
49- This is useful when:
50- - Bringing up a blank system during manufacturing
51- - Creating a GNS3 appliance
52- - Developing/debugging issues in the boot process in QEMU
53-
54- menuconfig DISK_IMAGE_SIZE
55- string "Image size"
56- depends on DISK_IMAGE
57- default "512M"
58- help
59- Create a disk image of this size. A K/M/G suffix may be used
60- to multiply by powers of 1024. Suffixes like KB/MB/GB may be
61- used to multiply by powers of 1000. The image will be split
62- proportionally to fit the two rootfs, a kernel, a writable
63- /cfg and /var partiotions.
64-
65- Minimum supported size is 512M.
66-
67- choice
68- prompt "Bootloader"
69- depends on DISK_IMAGE
70- default DISK_IMAGE_BOOT_EFI if BR2_x86_64
71- default DISK_IMAGE_BOOT_NONE
72-
73- config DISK_IMAGE_BOOT_NONE
74- bool "None"
75- help
76- Do not create any bootloader partition in the disk image.
77-
78- config DISK_IMAGE_BOOT_EFI
79- bool "EFI"
80- help
81- Create a boot partition from a directory containing an EFI
82- boot application, e.g. GRUB.
83-
84- config DISK_IMAGE_BOOT_BIN
85- bool "Binary"
86- help
87- Create a boot partition from a raw image containing the boot
88- application, e.g. U-Boot.
89-
90- endchoice
91-
92- config DISK_IMAGE_BOOT_DATA
93- string "Bootloader data"
94- depends on DISK_IMAGE
95- depends on DISK_IMAGE_BOOT_EFI || DISK_IMAGE_BOOT_BIN
96- default "${BINARIES_DIR}/efi-part/EFI" if BR2_x86_64
97- help
98- Path to the directory or file holding the bootloader data.
99-
100- config DISK_IMAGE_BOOT_OFFSET
101- hex "Bootloader offset"
102- depends on DISK_IMAGE
103- depends on DISK_IMAGE_BOOT_EFI || DISK_IMAGE_BOOT_BIN
104- default 0x8000
105- help
106- Offset at which the bootloader partition is placed. Remember
107- to make sure that the GPT still fits at the start of the
108- image.
109-
110- config DISK_IMAGE_RELEASE_URL
111- string "Infix URL"
112- depends on DISK_IMAGE
113- depends on !BR2_TARGET_ROOTFS_SQUASHFS
114- default "https://github.com/kernelkit/infix/releases/download/latest/infix-${BR2_ARCH}.tar.gz"
115- help
116- In situations where Infix itself is not being built, but a
117- disk image is, i.e. when building a bootloader: place this
118- Infix release in the primary and secondary partitions.
119-
120- menuconfig GNS3_APPLIANCE
121- bool "GNS3 Appliance"
122- select DISK_IMAGE
123- default y
124- help
125- Create a GNS3 appliance description that, together with the
126- disk image, can be imported into GNS3.
127-
128- config GNS3_APPLIANCE_RAM
129- int "Reserved RAM (MiB)"
130- depends on GNS3_APPLIANCE
131- default "192"
132- help
133- Amount of host RAM reserved for an appliance instance.
134-
135- Minimum supported size is 192M.
136-
137- config GNS3_APPLIANCE_IFNUM
138- int "Number of interfaces"
139- depends on GNS3_APPLIANCE
140- default "1"
141- help
142- Number of Ethernet interfaces to create for an appliance instance.
143-
144- menuconfig FIT_IMAGE
145- bool "Traditional FIT image"
146- help
147- Create a "regular" FIT image where the kernel and DTBs are
148- stored in the FIT rather than inside the rootfs (like it
149- normally is in Infix).
150-
151- This is useful when trying out Infix on targets whose
152- bootloader might not be capable of booting a raw Squash, but
153- is able to handle an FIT.
154-
155- config FIT_ARCH
156- string
157- depends on FIT_IMAGE
158- default "arm64" if BR2_aarch64
159-
160- config FIT_KERNEL_LOAD_ADDR
161- string "Kernel load address"
162- depends on FIT_IMAGE
163-
164- config SDCARD_AUX
165- bool "Create SD-card aux partition"
166- help
167- Create and populate aux.ext4 with rootfs.itbh and rauc.status
168- For use with a static genimage.cfg for, e.g., SD-cards.
0 commit comments