From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 25 Jan 2024 11:43:22 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rSxCb-001Oru-1d for lore@lore.pengutronix.de; Thu, 25 Jan 2024 11:43:22 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rSxCb-0006J2-So; Thu, 25 Jan 2024 11:43:21 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rSxCZ-0006IP-DQ; Thu, 25 Jan 2024 11:43:19 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rSxCZ-002GMD-0e; Thu, 25 Jan 2024 11:43:19 +0100 Received: from localhost ([127.0.0.1]) by ptz.office.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1rSxCY-007kdO-2n; Thu, 25 Jan 2024 11:43:18 +0100 Message-ID: From: Jan =?ISO-8859-1?Q?L=FCbbe?= To: Michael Olbrich , Ahmad Fatoum Date: Thu, 25 Jan 2024 11:43:18 +0100 In-Reply-To: References: <20240117135625.2863370-1-m.olbrich@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 (by Flathub.org) MIME-Version: 1.0 Subject: Re: [DistroKit] [PATCH] platform-v8a: kernelconfig: cleanup 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: Marc Kleine-Budde , distrokit@pengutronix.de, Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , Lucas Stach 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Mon, 2024-01-22 at 16:57 +0100, Michael Olbrich wrote: > On Mon, Jan 22, 2024 at 04:01:36PM +0100, Ahmad Fatoum wrote: > > On 17.01.24 14:56, Michael Olbrich wrote: > > > -CONFIG_BLK_DEV_INITRD=3Dy > > > -CONFIG_INITRAMFS_SOURCE=3D"" > > > -# CONFIG_RD_GZIP is not set > > > -# CONFIG_RD_BZIP2 is not set > > > -# CONFIG_RD_LZMA is not set > > > -# CONFIG_RD_XZ is not set > > > -# CONFIG_RD_LZO is not set > > > -# CONFIG_RD_LZ4 is not set > > > -CONFIG_RD_ZSTD=3Dy > > > +# CONFIG_BLK_DEV_INITRD is not set > >=20 > > We want to keep CONFIG_BLK_DEV_INITRD, so DistroKit systems can easily > > boot common distros like Debian that ship with an initramfs. >=20 > I was not aware that this is a use-case for DistroKit. I'm not sure how > that is supposed to work but fine. On some boards, we've configured barebox's fastboot to allow upload of kern= el, initramfs and oftree to ramfs. That way, one can quickly boot a small test = setup via USB (such as those produced by kernelci). There's no need to write anyt= hing to flash, which would take time and potentially overwrite another useful ro= otfs. In the medium term, I'd like to have fastboot configured this way on all DistroKit boards with USB OTG, so that one can quickly boot a multi-arch ke= rnel on many boards. Jan --=20 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 |