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 3A9E1C4338F for ; Tue, 17 Aug 2021 22:03:23 +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 AE16E6102A for ; Tue, 17 Aug 2021 22:03:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AE16E6102A 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 32A9682D2D; Wed, 18 Aug 2021 00:02:23 +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 B09E682DA3; Tue, 17 Aug 2021 18:03:23 +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 01F1782D81 for ; Tue, 17 Aug 2021 18:03:16 +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 G1YVm98ItslQjG1Yam7EM0; Tue, 17 Aug 2021 18:03:16 +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 17HG3BnP019757 for ; Tue, 17 Aug 2021 18:03:11 +0200 Received: (from osk@localhost) by server.osk.ch (8.15.2/8.15.2/Submit) id 17HG3AUq019756 for u-boot@lists.denx.de; Tue, 17 Aug 2021 18:03:10 +0200 X-Authentication-Warning: server.osk.ch: osk set sender to armbian@osk.ch using -f Date: Tue, 17 Aug 2021 18:03:10 +0200 From: ChrisO To: u-boot@lists.denx.de Subject: u-boot & ZFS Message-ID: <20210817160310.GA19707@server> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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]); Tue, 17 Aug 2021 18:03:11 +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]); Tue, 17 Aug 2021 18:03:11 +0200 (CEST) X-CMAE-Envelope: MS4xfCoXoqgbvHeYqi8bh6DbCDmDTFowKtRoC9jgKr3E+F7VTOOdY08eiEbT58hy70Qg3SFjx6mPbzvEcaZ/bzNlxBfk3a9j3JvKyLLhnA+bdlhtvd9W1SeZ dg2a9D3L775dhP3GvPXdghLAqb7lizVXDVuwqnbB2IVuNjFUCNeZT2OG X-Mailman-Approved-At: Wed, 18 Aug 2021 00:02:21 +0200 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 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. Regards. Chris