| Message ID | 20230725035101.281325-3-abbaraju.manojsai@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-amarula+bncBC63LVWFWQIBBNUN7WSQMGQEEMBIICQ@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id EB5E43F37D for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 25 Jul 2023 05:51:19 +0200 (CEST) Received: by mail-il1-f197.google.com with SMTP id e9e14a558f8ab-348cc2cc7ebsf15797945ab.0 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 24 Jul 2023 20:51:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690257079; cv=pass; d=google.com; s=arc-20160816; b=j8e5aHaaaRtXtrx5RRn2a9a70+8buwduE5On0BstGPMVuIf2Ph+X0hihDotjuCTaG0 TY8jvF8r80WI2uz4ohOsyT5zI9cyRUWvX2ohI4nmg8S6KTxgnJ1X7v/Ddmoc2K22gD1L d4eMB2TJ4xOkrN7lguA8nG9quISNy9QwYR6H2WOyJHJKNA8Yiho5WSexXRtof45Rx8hw e3aobqrphp0QPPLJsCRUR9BplTCX0NVTiJgkh15fpNHHCRgB7V0oXJ6mwDPXPuvi+y8e cH/HLNZjaviuOW39aU/EdBDnNGEgdgqCV9zOSAWWGqs1CMA36VFR4UC8TYc/gykoJQiv sTbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Wq8nhYLGBkqE0efgfZYy53iheD4wxiAySjca+/JEo7I=; fh=ZtU/xXInpIejK4L8YauyoYBdqqK+nRzYacYy4t7Zzbc=; b=PLkoOtRk/iP2bi4gHAPQSfvzSD1dxnxQyy9Lke1R/RacRHF5Ivt2+AbEQYhBEqK/zZ esOloNYL7JnsgKW5PDuhuatwySerFfMPF3rlVZ9ho5fMj0/qclGtq26+e2ePloXhPTP2 KV3N00G5AWJLOTqpIbs2tuPwyJ7w4sqDm56D18NeMv2Haw9XBsGEpSxbYLAMtgjfkCcN YZ1mJ1iAdTXX3QQy/U6B73VtFpxaNHVY8RNyYkV05J7nCbri7fl7PhMjFMeXdJofasej EZBQKQn4HVboTeyY0xP/k4pcTNhflEuqlYxcMwAFeJVOwHsWyMHnGVTrKWiYki1c27Um wrQA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ISiuCPFd; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1690257079; x=1690861879; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Wq8nhYLGBkqE0efgfZYy53iheD4wxiAySjca+/JEo7I=; b=QLKi1jzn7hh3i4B/4mc7Yf/kOkMYxAg5UKbipmIZxkWFYg3nC7hYmMpgTfK5ak1oGh 5XzSUBC2MCSzl3kIHWGit6fN9zI7yH3ngGhgQX6Z5gsb0w9O4ruDNad5oeq0hgQywgj+ f7g+H2EEoccjwlQhuzZ8qxpfFNulHEB1ET7aY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690257079; x=1690861879; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Wq8nhYLGBkqE0efgfZYy53iheD4wxiAySjca+/JEo7I=; b=Eaww7zcFFNLAWVIA7vlOE+oINmXUZzmt5cHkmV2ePH5VKYShysOiSR7KFlX3eAkkAK cJuuTb/ukkcgyJCQu6tSGgzzqj6lVZpHt1Qv1t9iLo6aNTCVG4C/V7KyaM2nGmPr5wnd qlGOPZk2dgxhUd1NEWToJy82Hut72a1OTywli5XTQCE1X5oyqTHPttneT6HHnfc7bvSx 5dWstQ0hivTZBYF26BG9Pnkh8O05BshG+n/6UTUqBB/avNNKKl3zcoypwXp9qz2dUkt+ cZQG/51fdT7Ai5wc3JlahIORAglzeGgMqIIJQi0eweET6AjMugo7WkiAFQxp3i+KoRkQ 7cjQ== X-Gm-Message-State: ABy/qLYGh6sxkFqdKJVeuQie3jn8RW7k0uBc6MJmSiy3pnz+NoWSyWCF 0uD4A7/GSqyBRGfSAwY99Lx14+YRLUoWWYvT X-Google-Smtp-Source: APBJJlELs9x5gsQyV+G2hzez+0w0uNhE6hxor64rljWhXFt6weVUwtaKuCSbcyVKb3IxJ+QslQOsMw== X-Received: by 2002:a05:6e02:11a8:b0:348:ccd2:ce19 with SMTP id 8-20020a056e0211a800b00348ccd2ce19mr1535817ilj.29.1690257078787; Mon, 24 Jul 2023 20:51:18 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a92:950b:0:b0:33f:e2d6:58e6 with SMTP id y11-20020a92950b000000b0033fe2d658e6ls907563ilh.1.-pod-prod-05-us; Mon, 24 Jul 2023 20:51:18 -0700 (PDT) X-Received: by 2002:a05:6e02:1a4c:b0:346:c04e:ca25 with SMTP id u12-20020a056e021a4c00b00346c04eca25mr1967806ilv.14.1690257078106; Mon, 24 Jul 2023 20:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690257078; cv=none; d=google.com; s=arc-20160816; b=MHcdrURfroRmB6nBmAcD/2S7cLnoTY3bUwrzXhrNxSk+antR6gpH3hsPvMxCv7jdSc KKdNaD5/WGiAHi102QdYur7khNmySKzp1QwP5x5b6RHtJgt2s7WLjhipfzFmeO6ZtOUO q2ygliuQiNBhdQt4wO8Kd6E8zwZunMIeAPGLY0Fx4DZRWrYyDYxRevmAps/1QYIhurL/ ErKiN6kltjj9ViTjloL49SNMCgv1hBt4BhpPF1MJlkn5a7Da4/0W4RiIHCWe/9Q2Qe+S KAMwv9GR1kxwales4FyVNi1kJV/l06YkMRsozU23UXuVN2DDugZdQaKSgtytBno8SdMl GXYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=wGmQRCOv5KndXdVKBwlS7DDsH2J1pMMArHwkkLw2Q18=; fh=ZtU/xXInpIejK4L8YauyoYBdqqK+nRzYacYy4t7Zzbc=; b=BoK322caU2DKVobR/tFXDOxt8tDdfXhYPdRbOh+89QBh8JimfqUxBVb7BvfW0VET5w +oK6k7DTS/B+4eZxP/LwOdEZpRv7Mqj4UWYyggvLJpWECRO1CJFD7IOBYidRH1YtzbiL l3NidNlO342tRkZKRX17pA91qAukfK88aXGlA9/RiyqcFrge8cWJu5cz/O4tNZJQcTzR OIDO/0iJghRsIL4noKCA2KBDGtmCe+XCMxB5CZivMCr1J8zEmaLhCWI66zaSPU/PJL60 bSRauKG9yaI4fi3syadU7r3fCHQ4kkFZafr93hEufiSZTPxT/e+F1P29HViB35gEOMqE KwHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ISiuCPFd; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id y23-20020a626417000000b00668738aa037sor3285667pfb.8.2023.07.24.20.51.18 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Mon, 24 Jul 2023 20:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6a00:c89:b0:67a:b045:e295 with SMTP id a9-20020a056a000c8900b0067ab045e295mr13280173pfv.0.1690257077574; Mon, 24 Jul 2023 20:51:17 -0700 (PDT) Received: from localhost.localdomain ([49.204.25.25]) by smtp.gmail.com with ESMTPSA id j18-20020aa78d12000000b00679fef56287sm8658399pfe.147.2023.07.24.20.51.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 20:51:17 -0700 (PDT) From: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> To: Simon Glass <sjg@chromium.org>, Philipp Tomsich <philipp.tomsich@vrull.eu>, Kever Yang <kever.yang@rock-chips.com>, u-boot@lists.denx.de Cc: Da Xue <da.xue@libretech.co>, dsx724 <da@lessconfused.com>, linux-amarula@amarulasolutions.com, Jagan Teki <jagan@amarulasolutions.com>, Suniel Mahesh <sunil@amarulasolutions.com>, Manoj Sai <abbaraju.manojsai@amarulasolutions.com> Subject: [PATCH v2 2/4] rockchip: Add support to generate LZMA compressed U-boot binary Date: Tue, 25 Jul 2023 09:20:59 +0530 Message-Id: <20230725035101.281325-3-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230725035101.281325-1-abbaraju.manojsai@amarulasolutions.com> References: <20230630121146.513345-1-abbaraju.manojsai@amarulasolutions.com> <20230725035101.281325-1-abbaraju.manojsai@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: abbaraju.manojsai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ISiuCPFd; spf=pass (google.com: domain of abbaraju.manojsai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=abbaraju.manojsai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
| Series |
support for booting the compressed U-boot binary on Rockchip based ARM64 SOC's
|
|
Commit Message
Manoj Sai
July 25, 2023, 3:50 a.m. UTC
Add support for generating a LZMA-compressed U-boot binary with the
help of binman, if CONFIG_SPL_LZMA is selected.
Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com>
---
arch/arm/dts/rockchip-u-boot.dtsi | 4 ++++
1 file changed, 4 insertions(+)
Comments
On Mon, 24 Jul 2023 at 21:51, Manoj Sai <abbaraju.manojsai@amarulasolutions.com> wrote: > > Add support for generating a LZMA-compressed U-boot binary with the > help of binman, if CONFIG_SPL_LZMA is selected. > > Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> > --- > arch/arm/dts/rockchip-u-boot.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) Reviewed-by: Simon Glass <sjg@chromium.org>
On 2023/7/25 11:50, Manoj Sai wrote: > Add support for generating a LZMA-compressed U-boot binary with the > help of binman, if CONFIG_SPL_LZMA is selected. > > Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Thanks, - Kever > --- > arch/arm/dts/rockchip-u-boot.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi > index 524d638e5b..34282bdfb2 100644 > --- a/arch/arm/dts/rockchip-u-boot.dtsi > +++ b/arch/arm/dts/rockchip-u-boot.dtsi > @@ -50,6 +50,8 @@ > arch = "arm64"; > #if defined(CONFIG_SPL_GZIP) > compression = "gzip"; > +#elif defined(CONFIG_SPL_LZMA) > + compression = "lzma"; > #else > compression = "none"; > #endif > @@ -58,6 +60,8 @@ > u-boot-nodtb { > #if defined(CONFIG_SPL_GZIP) > compress = "gzip"; > +#elif defined(CONFIG_SPL_LZMA) > + compress = "lzma"; > #endif > }; > #ifdef CONFIG_SPL_FIT_SIGNATURE
diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi index 524d638e5b..34282bdfb2 100644 --- a/arch/arm/dts/rockchip-u-boot.dtsi +++ b/arch/arm/dts/rockchip-u-boot.dtsi @@ -50,6 +50,8 @@ arch = "arm64"; #if defined(CONFIG_SPL_GZIP) compression = "gzip"; +#elif defined(CONFIG_SPL_LZMA) + compression = "lzma"; #else compression = "none"; #endif @@ -58,6 +60,8 @@ u-boot-nodtb { #if defined(CONFIG_SPL_GZIP) compress = "gzip"; +#elif defined(CONFIG_SPL_LZMA) + compress = "lzma"; #endif }; #ifdef CONFIG_SPL_FIT_SIGNATURE