[PATCH 08/10] rockchip: Add GZIP compressed uboot raw binary to FIT image
Simon Glass
sjg at chromium.org
Sun Jul 2 17:34:37 CEST 2023
Hi Manoj,
On Fri, 30 Jun 2023 at 13:12, Manoj Sai
<abbaraju.manojsai at amarulasolutions.com> wrote:
>
> Add GZIP compressed uboot raw binary to FIT image.
>
> Signed-off-by: Manoj Sai <abbaraju.manojsai at amarulasolutions.com>
> Signed-off-by: Suniel Mahesh <sunil at amarulasolutions.com>
> ---
> arch/arm/dts/rockchip-u-boot.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi
> index 2878b80926..6e95738923 100644
> --- a/arch/arm/dts/rockchip-u-boot.dtsi
> +++ b/arch/arm/dts/rockchip-u-boot.dtsi
> @@ -48,11 +48,21 @@
> type = "standalone";
> os = "U-Boot";
> arch = "arm64";
> +#if defined(CONFIG_SPL_GZIP)
> + compression = "gzip";
> +#else
> compression = "none";
> +#endif
> load = <CONFIG_TEXT_BASE>;
> entry = <CONFIG_TEXT_BASE>;
> +#if defined(CONFIG_SPL_GZIP)
> + u-boot-nodtb-gzip {
> + };
> +#else
> u-boot-nodtb {
You should be able to do:
+#if defined(CONFIG_SPL_GZIP)
compress = "gzip";
#endif
> };
> +#endif
> +
> #ifdef CONFIG_SPL_FIT_SIGNATURE
> hash {
> algo = "sha256";
> --
> 2.25.1
>
Regards,
Simon
More information about the U-Boot
mailing list