From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68B95C4338F for ; Wed, 18 Aug 2021 10:26:22 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 661D060BD3 for ; Wed, 18 Aug 2021 10:26:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 661D060BD3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3CEE182CDE; Wed, 18 Aug 2021 12:26:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1629282379; bh=MwsKMlNz/Z2o5BQltzeTuqoCcBPOy9Ny9FMwo78Fslc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=F8zWIAjOkiwjFUMwWnrLmKgFIoMp7IMBv5MpwhUTrCst3AfxBqbXK8LegHJWJLlYs tuXw4Ru4UNWat9kBgPxZRTc8/KFb8J8UgbYPX6DHSOZumdvMNnI6VUx9I8ng4qJwOn tEY4X4ODaAQ9+tXSj2l/5EPMuY0j8wnjP74xnwdwtJX4RgwdNvqaPQIwlLZQ6nsQxR JaRiPPK07Zc+GMAnzdL3kxVneO46WLN9Eq5S66e+p0fiqv6qQELh0xZ/31wI9JJHm5 F5Rx3e9BDCeo9I2mwdaZyy5dVLl5eBfuQADEi/LuAR4V++rWHsRBBQkIegmOTYwBQL TWjfASeG/PxZA== Received: from ktm (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 3FEC682C89; Wed, 18 Aug 2021 12:26:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1629282377; bh=MwsKMlNz/Z2o5BQltzeTuqoCcBPOy9Ny9FMwo78Fslc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nO0MZH+xR6fMuVNoYNi+NaUYA0OLbIbzPJDsUI4ASAO84O+VS/D1o+qI67CQCcYQE XsOuvZx96V6OCxDVhvLXjc+f6++6M8qZMJPP/t4dLN09B3PFqtv7Ym8Eguc6uNlqzz AenfNJ1tWzSaZ79lFCgm8tILuWHfvfFYwa0r39lPIXNQBFi8vOIco+4/stUhsxEGeW TukhSC64tjfDnoGryq4Guz8953k61WO7lJRoOuNtDrpF4+LgndYME+9O3c5tMt3gaS UjrZVbHFR7ybKTH12mYEPYZ6sLwP/5Gw++H5tMbPsvkk9bLbqr+T6psANVF0GoAwkD i3V/o0hONIbng== Date: Wed, 18 Aug 2021 12:26:11 +0200 From: Lukasz Majewski To: ChrisO Cc: u-boot@lists.denx.de, Tom Rini Subject: Re: u-boot & ZFS Message-ID: <20210818122611.756d7634@ktm> In-Reply-To: <20210818094155.GA22377@server> References: <20210817160310.GA19707@server> <20210818003514.GO858@bill-the-cat> <20210818094155.GA22377@server> Organization: denx.de X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/W6eJ0UHZa7FPJ8D9V7ghmhg"; protocol="application/pgp-signature" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --Sig_/W6eJ0UHZa7FPJ8D9V7ghmhg Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi ChrisO, > On Tue, Aug 17, 2021 at 08:35:14PM -0400, Tom Rini wrote: > > On Tue, Aug 17, 2021 at 06:03:10PM +0200, ChrisO wrote: > > =20 > > > Hi > > >=20 > > > I searched for u-boot ZFS references and all I found was several > > > years old, but I suppose u-boot can cope with ZFS. So, my > > > question is: is it possible to boot Linux from ZFS or at least > > > boot from let's say SD-card with ext4 FS and mount a ZFS volume > > > as root filesystem? I had a look at Armbian, installed all > > > needed, user-space and kernel modules. After booting from SD card > > > I can use ZFS on attached SATA SSD w/o any problem. I also see > > > ZFS libs and kernel modules in initrd, so it looks like the > > > necessary things are there. Don't know where to start. I would be > > > very thankful for any help. =20 > >=20 > > The general easy answer is to have /boot that is separate from the > > rootfs and using a filesystem more commonly supported. > >=20 > > --=20 > > Tom =20 >=20 > Sounds like: go away kid, play with your old toys ;-) > I was doing it the traditional way for long time, now wanted to try > something new. Isn't it how we progress? I came to this list hoping > to get an answer to my question. I know, most of you on this list > have more important things to do. But giving me some advice could > possibly result in me giving something back. >=20 Similar question I saw on OpenEmbedded/Yocto ML recenly. The answer there was that "ZFS or ZOL is _not_ [*] commonly used on embedded systems, so no support was needed"=20 If find this topic interesting, then the community will try to help when you provide any patches for review. However, considering the above, it may be hard for any _exact_ guidelines. Note: [*] - Personally, I didn't saw any usage of ZFS on embedded systems. > Thanks, > Chris Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/W6eJ0UHZa7FPJ8D9V7ghmhg Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAmEc4EMACgkQAR8vZIA0 zr39kQf/eQIl8AEvpSFwvKs11S1FSOfsQllhiuJeviAGM+BVPy+R1j7SdA03ZxVR ac9EdAVqxFuyYGGbXRGyXgWyQhbXlao9zIHR8FRbDq+K/iaH3cjhLSVNxWlmGF16 WkfScB2ZBy3XxUhmyiUEQSOkCTNLYxxpYwyrEwE+ysLXgthlUvVT59tk6Wd4QC4k i2wrzt4C8jSVD7U7tUeUZ/Ozy/r4UuyaOUSLWpwdBbYzwKyrKqpdtZLH3xfhH5GB +sQOwDvvu+HKq+nsuZr+XTdLJq3iX1xvRw5oRQn4OKJ/42sL1cm/3Zyo1RynkvXz Y0eSjK7dHvKz7F1w7L+AvRBfUtoyzg== =+ewE -----END PGP SIGNATURE----- --Sig_/W6eJ0UHZa7FPJ8D9V7ghmhg--