image-fitimage.conf 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Possible options for fitImage generation, mainly
  2. # related to signing of the fitImage content.
  3. # Description string
  4. FIT_DESC ?= "Kernel fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}"
  5. # Kernel fitImage Hash Algo
  6. FIT_HASH_ALG ?= "sha256"
  7. # Kernel fitImage Signature Algo
  8. FIT_SIGN_ALG ?= "rsa2048"
  9. # Kernel / U-Boot fitImage Padding Algo
  10. FIT_PAD_ALG ?= "pkcs-1.5"
  11. # Generate keys for signing Kernel fitImage
  12. FIT_GENERATE_KEYS ?= "0"
  13. # Size of private keys in number of bits
  14. FIT_SIGN_NUMBITS ?= "2048"
  15. # args to openssl genrsa (Default is just the public exponent)
  16. FIT_KEY_GENRSA_ARGS ?= "-F4"
  17. # args to openssl req (Default is -batch for non interactive mode and
  18. # -new for new certificate)
  19. FIT_KEY_REQ_ARGS ?= "-batch -new"
  20. # Standard format for public key certificate
  21. FIT_KEY_SIGN_PKCS ?= "-x509"
  22. # Sign individual images as well
  23. FIT_SIGN_INDIVIDUAL ?= "0"
  24. FIT_CONF_PREFIX ?= "conf-"
  25. FIT_CONF_PREFIX[doc] = "Prefix to use for FIT configuration node name"
  26. FIT_SUPPORTED_INITRAMFS_FSTYPES ?= "cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst cpio.gz ext2.gz cpio"
  27. # Allow user to select the default DTB for FIT image when multiple dtb's exists.
  28. FIT_CONF_DEFAULT_DTB ?= ""
  29. # length of address in number of <u32> cells
  30. # ex: 1 32bits address, 2 64bits address
  31. FIT_ADDRESS_CELLS ?= "1"
  32. # Keys used to sign individually image nodes.
  33. # The keys to sign image nodes must be different from those used to sign
  34. # configuration nodes, otherwise the "required" property, from
  35. # UBOOT_DTB_BINARY, will be set to "conf", because "conf" prevails on "image".
  36. # Then the images signature checking will not be mandatory and no error will be
  37. # raised in case of failure.
  38. # UBOOT_SIGN_IMG_KEYNAME = "dev2" # keys name in keydir (eg. "dev2.crt", "dev2.key")
  39. # Additional environment variables or a script which can be sourced by u-boot
  40. # can be packaged into the fitImage. An example is documented here:
  41. # https://docs.u-boot.org/en/latest/usage/cmd/source.html#fit-image
  42. # Machine configurations needing such a script file should include it in the
  43. # SRC_URI of the kernel recipe and set the FIT_UBOOT_ENV parameter.
  44. FIT_UBOOT_ENV ?= ""