From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 06 Jun 2023 16:37:43 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q6Xof-00D9MP-0P for lore@lore.pengutronix.de; Tue, 06 Jun 2023 16:37:43 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1q6Xoc-0004iB-Hx; Tue, 06 Jun 2023 16:37:42 +0200 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1q6Xoa-0004hb-DL; Tue, 06 Jun 2023 16:37:40 +0200 Message-ID: <8a2453a6-e72f-7a0f-fae3-9f15037927c4@pengutronix.de> Date: Tue, 6 Jun 2023 16:37:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Content-Language: en-US To: Johannes Zink , distrokit@pengutronix.de References: <20230606-default_enable_fastboot_rock3a-v1-0-42195d538df2@pengutronix.de> <20230606-default_enable_fastboot_rock3a-v1-1-42195d538df2@pengutronix.de> From: Ahmad Fatoum In-Reply-To: <20230606-default_enable_fastboot_rock3a-v1-1-42195d538df2@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [DistroKit] [PATCH 1/5] v8a: enable initrd generation X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: patchwork-jzi@pengutronix.de Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On 06.06.23 16:31, Johannes Zink wrote: > also generate rootfs as cpio.gz, as this allows loading it as initramfs. You enable both CONFIG_RD_GZIP and CONFIG_RD_ZSTD (which I am fine with), but you decide here for cpio.gz. Any particular reason? > > Signed-off-by: Johannes Zink > --- > configs/platform-v8a/platformconfig | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig > index 4e479660f6b7..4d7dfeae9d66 100644 > --- a/configs/platform-v8a/platformconfig > +++ b/configs/platform-v8a/platformconfig > @@ -261,7 +261,15 @@ PTXCONF_IMAGE_KERNEL_INSTALL_EARLY=y > > # PTXCONF_IMAGE_RAUC is not set > PTXCONF_IMAGE_ROCK3A=y > -# PTXCONF_IMAGE_ROOT_CPIO is not set > +PTXCONF_IMAGE_ROOT_CPIO=y > +# PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_MODE_NONE is not set > +PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_MODE_GZ=y > +# PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_MODE_ZSTD is not set > +# PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_MODE_XZ is not set > +# PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_MODE_LZOP is not set > +# PTXCONF_IMAGE_ROOT_CPIO_CUSTOM_COMPRESSION is not set > +PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_SUFFIX=".gz" > +PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_UTIL="gzip" > PTXCONF_IMAGE_ROOT_EXT=y > PTXCONF_IMAGE_ROOT_EXT_SIZE="125%" > # PTXCONF_IMAGE_ROOT_EXT_EXT2 is not set > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |