mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 04:53:01 +02:00
On amd64, we use grub instead of U-Boot, because yours truly can't figure out how to handle ACPI handover to the kernel. The resulting image is now called disk.img instead of the old mmc.img, since we can use it over any interface (e.g. virtio or SCSI).
71 lines
1.6 KiB
Plaintext
71 lines
1.6 KiB
Plaintext
comment "Image Signing"
|
|
|
|
choice
|
|
prompt "Signing key source"
|
|
default SIGN_SRC_DIR
|
|
|
|
config SIGN_SRC_DIR
|
|
bool "Directory"
|
|
|
|
config SIGN_SRC_PKCS11
|
|
bool "PKCS#11 URL"
|
|
|
|
endchoice
|
|
|
|
config SIGN_KEY
|
|
string "Signing key"
|
|
default "${BR2_EXTERNAL_INFIX_PATH}/board/common/dev-key" if SIGN_SRC_DIR
|
|
|
|
comment "Additional Artifacts"
|
|
|
|
menuconfig DISK_IMAGE
|
|
bool "Disk image"
|
|
help
|
|
Compose a full disk image with redundant firmware partitions,
|
|
configuration partition, etc.
|
|
|
|
This is useful when:
|
|
- Bringing up a blank system during manufacturing
|
|
- Creating a GNS3 appliance
|
|
- Developing/debugging issues in the boot process in QEMU
|
|
|
|
config DISK_IMAGE_SIZE
|
|
string "Image size"
|
|
depends on DISK_IMAGE
|
|
default "512M"
|
|
help
|
|
Create a disk image of this size. Suffixes like K/M/G may be
|
|
used to multiply by powers of 1024. Suffixes like KB/MB/GB may
|
|
be used to multiply by powers of 1000.
|
|
|
|
Minimum supported size is 512M.
|
|
|
|
config GNS3_APPLIANCE
|
|
bool "GNS3 Appliance"
|
|
select DISK_IMAGE
|
|
default y if BR2_x86_64
|
|
help
|
|
Create a GNS3 appliance description that, together with the
|
|
disk image, can be imported into GNS3.
|
|
|
|
menuconfig FIT_IMAGE
|
|
bool "Traditional FIT image"
|
|
help
|
|
Create a "regular" FIT image where the kernel and DTBs are
|
|
stored in the FIT rather than inside the rootfs (like it
|
|
normally is in Infix).
|
|
|
|
This is useful when trying out Infix on targets whose
|
|
bootloader might not be capable of booting a raw Squash, but
|
|
is able to handle an FIT.
|
|
|
|
config FIT_ARCH
|
|
string
|
|
depends on FIT_IMAGE
|
|
default "arm64" if BR2_aarch64
|
|
|
|
config FIT_KERNEL_LOAD_ADDR
|
|
string "Kernel load address"
|
|
depends on FIT_IMAGE
|
|
|