Skip to contentSkip to conversation

ref-manual: variables: FIT_KERNEL_COMP_ALG: add lzo

PATCH In review [email protected] 2 participants 2 messages Feb 1, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: variables: FIT_KERNEL_COMP_ALG: add lzo

From: Richard Leitner <[email protected]>

OE-Core rev f1257d61b76d027d4ece734439993b6bf4e48907 introduced support for using lzo as compression algorithm for fitImage contained kernel images.
This patch adds the corresponding documentation to FIT_KERNEL_COMP_ALG and FIT_KERNEL_COMP_ALG_EXTENSION.

---
 documentation/ref-manual/variables.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
documentation/ref-manual/variables.rst +3 -2
index 725f5c54c..edc3aa652 100644
@@ -2892,13 +2892,14 @@ system and gives an overview of their function and contents.
 
    :term:`FIT_KERNEL_COMP_ALG`
       Compression algorithm to use for the kernel image inside the FIT Image.
-      At present, the only supported values are "gzip" (default) or "none"
+      At present, the only supported values are "gzip" (default), "lzo" or "none".
       If you set this variable to anything other than "none" you may also need
       to set :term:`FIT_KERNEL_COMP_ALG_EXTENSION`.
 
    :term:`FIT_KERNEL_COMP_ALG_EXTENSION`
       File extension corresponding to :term:`FIT_KERNEL_COMP_ALG`. The default
-      value is ".gz".
+      value is ".gz". If you set :term:`FIT_KERNEL_COMP_ALG` to "lzo",
+      you may want to set this variable to ".lzo".
 
    :term:`FIT_KEY_GENRSA_ARGS`
       Arguments to openssl genrsa for generating RSA private key for signing
Signature · 1 line
2.39.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Richard

Thanks for the patch!

Quoted 24 lines · Richard Leitner via lists.yoctoproject.org

From: Richard Leitner <[email protected]>

OE-Core rev f1257d61b76d027d4ece734439993b6bf4e48907 introduced support for using lzo as compression algorithm for fitImage contained kernel images.
This patch adds the corresponding documentation to FIT_KERNEL_COMP_ALG and FIT_KERNEL_COMP_ALG_EXTENSION.

---
  documentation/ref-manual/variables.rst | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
documentation/ref-manual/variables.rst +1 -1
index 725f5c54c..edc3aa652 100644
@@ -2892,13 +2892,14 @@ system and gives an overview of their function and contents.
 
     :term:`FIT_KERNEL_COMP_ALG`
        Compression algorithm to use for the kernel image inside the FIT Image.
-      At present, the only supported values are "gzip" (default) or "none"
+      At present, the only supported values are "gzip" (default), "lzo" or "none".
        If you set this variable to anything other than "none" you may also need

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 2905

Quoted 10 lines
documentation/ref-manual/variables.rst +2 -1
        to set :term:`FIT_KERNEL_COMP_ALG_EXTENSION`.
 
     :term:`FIT_KERNEL_COMP_ALG_EXTENSION`
        File extension corresponding to :term:`FIT_KERNEL_COMP_ALG`. The default
-      value is ".gz".
+      value is ".gz". If you set :term:`FIT_KERNEL_COMP_ALG` to "lzo",
+      you may want to set this variable to ".lzo".
 
     :term:`FIT_KEY_GENRSA_ARGS`
        Arguments to openssl genrsa for generating RSA private key for signing

... and merged into "master-next"

Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com