From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 09 Jun 2023 12:28:52 +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 1q7ZMT-00H26N-PK for lore@lore.pengutronix.de; Fri, 09 Jun 2023 12:28:52 +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 1q7ZMR-0001sW-Dp; Fri, 09 Jun 2023 12:28:51 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q7ZMM-0001r1-G9; Fri, 09 Jun 2023 12:28:46 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1q7ZML-006BAt-PN; Fri, 09 Jun 2023 12:28:45 +0200 Received: from localhost ([::1] helo=dude03.red.stw.pengutronix.de) by dude03.red.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1q7ZMK-00CAFT-NW; Fri, 09 Jun 2023 12:28:44 +0200 From: Johannes Zink Date: Fri, 09 Jun 2023 12:28:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230606-default_enable_fastboot_rock3a-v2-1-92606c4de9a9@pengutronix.de> References: <20230606-default_enable_fastboot_rock3a-v2-0-92606c4de9a9@pengutronix.de> In-Reply-To: <20230606-default_enable_fastboot_rock3a-v2-0-92606c4de9a9@pengutronix.de> To: distrokit@pengutronix.de X-Mailer: b4 0.12.2 Subject: [DistroKit] [PATCH v2 1/4] 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: Johannes Zink , 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 also generate rootfs as root.cpio.zstd, as this allows loading it as initramfs. Signed-off-by: Johannes Zink --- Changes: v1 -> v2: - worked in review feedback from Ahmad and Jan, thanks for your review: - dropped gzip generation, only generating zstd compressed cpio now --- configs/platform-v8a/platformconfig | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig index 4e479660f6b7..f7101139ee63 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 is not set +PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_MODE_ZSTD=y +# 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=".zst" +PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_UTIL="zstd -T0 -19" PTXCONF_IMAGE_ROOT_EXT=y PTXCONF_IMAGE_ROOT_EXT_SIZE="125%" # PTXCONF_IMAGE_ROOT_EXT_EXT2 is not set @@ -287,6 +295,7 @@ PTXCONF_IMAGE_XPKG_EXTRA_ARGS="" # end of image creation options # PTXCONF_CODE_SIGNING is not set +PTXCONF_HOST_CMAKE=y PTXCONF_HOST_E2FSPROGS=y PTXCONF_HOST_FLEX=y PTXCONF_HOST_GENEXT2FS=y @@ -301,6 +310,7 @@ PTXCONF_HOST_M4=y PTXCONF_HOST_OPENSSL=y PTXCONF_HOST_SYSTEM_BC=y PTXCONF_HOST_UTIL_LINUX=y +PTXCONF_HOST_ZSTD=y PTXCONF_FIRMWARE_IMX=y # PTXCONF_FIRMWARE_IMX_VPU_IMX27 is not set # PTXCONF_FIRMWARE_IMX_VPU_IMX51 is not set -- 2.39.2