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.3 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,USER_AGENT_SANE_1 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 9C081C4338F for ; Wed, 18 Aug 2021 00:35:27 +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 A45C960FA0 for ; Wed, 18 Aug 2021 00:35:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A45C960FA0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com 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 7BCD080C8A; Wed, 18 Aug 2021 02:35:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="oeUBvrYV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B55E582C03; Wed, 18 Aug 2021 02:35:22 +0200 (CEST) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 80CA08020E for ; Wed, 18 Aug 2021 02:35:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x731.google.com with SMTP id p22so1030419qki.10 for ; Tue, 17 Aug 2021 17:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4jxMy+P4QpKstx7bq37+x16EfnQ/1e/bP82Trn0anFQ=; b=oeUBvrYVN8JugyuHkznxVZTSCg5psLSTm7p+j2iZ+Yi5olxbK9x/HixfXQ+4aJ6pkm 3X3+LTQv0GugsXoyadUHFFICMwdc2C7DnvVRExbb2+y0LHm1NWJ0ZuXRtvgG/HCAG4Rd LyTMNxmhRUsvTJVgiC19rU9E+HZY95DKjWmkE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4jxMy+P4QpKstx7bq37+x16EfnQ/1e/bP82Trn0anFQ=; b=TkDnMviWFqR/MOh/ZamGWYl707+nCdv1QtS0aApRvvbXlw5L/swGyiEdvkkdA/2PS7 UZM7Xy7wOPJjjaKohYHDIMsNtFBPKIYrbZE51axdsyrLK5j2AKGU35sgqZhb8tJ7Z/Nu 4+VRw1PN4s4I1dmhA9I85du8F14eefk1p9VHEy+rYU623wfkzxSgg3LJQBU3ukUCw2ht dVw3sk8z+X7EMecFUF0uaS3pnqgHEfSKqrEQlnKT3TCrnwg2P9QC/+O1++clyvb1qq4n h8I9phJusJZfoyvRsnqb5HlY4pYf3x/uz271ewlNFKtlEeP2QFxetaByvya+11XnHqPx HVXQ== X-Gm-Message-State: AOAM533u9XAMatXfA/nWxujgIylRXmo+wQDw8/LPToGEO0qwDZCra5PT em/BxQ77UW1NQBmVtVQlSgoRoQ== X-Google-Smtp-Source: ABdhPJxjDFCazVEjejVocni4hTMUqCq9dlUvAjL/WTdvHiTNJ5qxGQtSmuMXYFgbl4plAuXrPAFGbQ== X-Received: by 2002:ae9:f81a:: with SMTP id x26mr6868341qkh.196.1629246917310; Tue, 17 Aug 2021 17:35:17 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-f93a-0b29-d1e6-92fc.res6.spectrum.com. [2603:6081:7b01:cbda:f93a:b29:d1e6:92fc]) by smtp.gmail.com with ESMTPSA id d16sm1887808qte.3.2021.08.17.17.35.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Aug 2021 17:35:16 -0700 (PDT) Date: Tue, 17 Aug 2021 20:35:14 -0400 From: Tom Rini To: ChrisO Cc: u-boot@lists.denx.de Subject: Re: u-boot & ZFS Message-ID: <20210818003514.GO858@bill-the-cat> References: <20210817160310.GA19707@server> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TLryreJvNc5+tOdm" Content-Disposition: inline In-Reply-To: <20210817160310.GA19707@server> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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 --TLryreJvNc5+tOdm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 17, 2021 at 06:03:10PM +0200, ChrisO wrote: > Hi >=20 > I searched for u-boot ZFS references and all I found was several years ol= d, but I suppose u-boot can cope with ZFS. > So, my question is: is it possible to boot Linux from ZFS or at least boo= t from let's say SD-card with ext4 FS and mount a ZFS volume as root filesy= stem? > I had a look at Armbian, installed all needed, user-space and kernel modu= les. 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 n= ecessary things are there. > Don't know where to start. > I would be very thankful for any help. The general easy answer is to have /boot that is separate from the rootfs and using a filesystem more commonly supported. --=20 Tom --TLryreJvNc5+tOdm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEcVb8ACgkQFHw5/5Y0 tyzVOAv+MkdophzmUG+0l5TRL2Lx6ksp77hU1rLAa4dobhss2gSZHAvPIFm5QRwK O5s/5NPSP3MKjH718uMmjNOLy+ufpJFMMHSuckoLEzgZRwHTcaVqAVOtOJ6kBrwA pzAOcTTOf69l4ynfOHc1cfbelMvE8WJmjAcyyYgMB5qqtHlXNrHYvm/WGQ4r9Jex SyQ6fHp0YcQ61zVWjzxXwjJX67Qo59Or5RU+umv9EiqrMJIZThKS/wPeHUn6SdyA iiWppnWe/f49RmeKUgSccqW9i9whxPHWigXsF+LGBGnmGDWQ9/dFas/n2NvM1jYb DHX3efMIxibxPSXfhKssYsp+LUH2z8FojcTwuyEjIl6lgpbPpoQEv8t4NJ6KJjw7 Vd0r9U21mmzXQsgxamkkI4PpaTDgXoM7m/y/SFXy8/VbfBhvey+yp6qPffbs7Ykj HlIeI1DgPGEiANBCDq0M8R00y7CBhECmX1io8wPfOdT49XA+Nl1Mgmsa6PbkfTAT iwlwpcnu =Q580 -----END PGP SIGNATURE----- --TLryreJvNc5+tOdm--