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=-5.3 required=3.0 tests=BAYES_00, 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 34BF0C4338F for ; Wed, 18 Aug 2021 09:42:16 +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 08FE360F39 for ; Wed, 18 Aug 2021 09:42:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 08FE360F39 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=osk.ch 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 631A482D52; Wed, 18 Aug 2021 11:42:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=osk.ch Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 24E4C807F3; Wed, 18 Aug 2021 11:42:10 +0200 (CEST) Received: from vimdzmsp-nwas02.bluewin.ch (vimdzmsp-nwas02.bluewin.ch [195.186.228.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 171B8807F3 for ; Wed, 18 Aug 2021 11:42:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=osk.ch Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=armbian@osk.ch Received: from mail.osk.ch ([85.5.40.34]) by vimdzmsp-nwas02.bluewin.ch Swisscom AG with ESMTP id GI5BmCCTpslQjGI5Gm7haA; Wed, 18 Aug 2021 11:42:06 +0200 Received: from server.osk.ch (localhost [127.0.0.1]) by mail.osk.ch (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTP id 17I9ftE6022591; Wed, 18 Aug 2021 11:41:55 +0200 Received: (from osk@localhost) by server.osk.ch (8.15.2/8.15.2/Submit) id 17I9ftXs022590; Wed, 18 Aug 2021 11:41:55 +0200 X-Authentication-Warning: server.osk.ch: osk set sender to armbian@osk.ch using -f Date: Wed, 18 Aug 2021 11:41:55 +0200 From: ChrisO To: u-boot@lists.denx.de Cc: Tom Rini Subject: Re: u-boot & ZFS Message-ID: <20210818094155.GA22377@server> References: <20210817160310.GA19707@server> <20210818003514.GO858@bill-the-cat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210818003514.GO858@bill-the-cat> X-message-flag: Using Microsoft software might be a security risk User-Agent: Mutt/1.10.1 (2018-07-13) X-Greylist: inspected by milter-greylist-4.5.11 (mail.osk.ch [127.0.0.1]); Wed, 18 Aug 2021 11:41:56 +0200 (CEST) for IP:'127.0.0.1' DOMAIN:'localhost' HELO:'server.osk.ch' FROM:'armbian@osk.ch' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.11 (mail.osk.ch [127.0.0.1]); Wed, 18 Aug 2021 11:41:56 +0200 (CEST) X-CMAE-Envelope: MS4xfL7CFcJ54euJk5Rp8lC+5k+9nL7NE9mAFZCj1ZsupcLQpjPckWdgyl5r+3jYwWfhU3WkcbLTUugzxqcyGgsGa9KhBXA2crUmubzgikCKE0ZAmFU/dVEb 4DLEIM1r+R/+XytUm0xiqmBr4QWvtrq0kl7o6BoYBK3tgeU9he01Ekph 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 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: > > > Hi > > > > 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. > > The general easy answer is to have /boot that is separate from the > rootfs and using a filesystem more commonly supported. > > -- > Tom 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. Thanks, Chris