From owner-freebsd-arm@freebsd.org Sat Nov 21 14:07:36 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34629468231 for ; Sat, 21 Nov 2020 14:07:36 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CdZxL2g3Rz4ljS for ; Sat, 21 Nov 2020 14:07:34 +0000 (UTC) (envelope-from ronald-lists@klop.ws) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=klop.ws; s=mail; h=In-Reply-To:Message-ID:From:Content-Transfer-Encoding:MIME-Version: Date:References:Subject:To:Content-Type:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GvhNWaZRz3CK9All8O7suMscptMS2HZk8bqNX++j9qw=; b=iVXZtVHuUCswbhbbYQqMKi8nPU VFwChsALTyObH7YsaVWQjZEVgDaAXmmofYb+RpgkqbGomsb4NhuZabY8smxidOS/nsF1OY8K9mgnw ULlZvuCHzmCd33im+bLgHQ3kMHgG7sfy3Jtn4OVlRLjt52g3y7IJTw66p0e2/VvJbSPo=; Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-arm@freebsd.org Subject: RPI4 boot with ZFS supported? (was: Re: rpi4 no boot 20201112 snapshot (success with 20201105)) References: <52C8B73F-05F1-4FD5-AA21-73D2ABC90E0A@googlemail.com> Date: Sat, 21 Nov 2020 15:07:27 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.greenhost.nl X-Spam-Level: --- X-Spam-Score: -3.1 X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF autolearn=disabled version=3.4.2 X-Scan-Signature: 448baf4759cd3283a5930955cc61e1db X-Rspamd-Queue-Id: 4CdZxL2g3Rz4ljS X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=mail header.b=iVXZtVHu; dmarc=pass (policy=none) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-3.37 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[195.190.28.88:from]; R_DKIM_ALLOW(-0.20)[klop.ws:s=mail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[195.190.28.88:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[195.190.28.88:from:127.0.2.255]; DKIM_TRACE(0.00)[klop.ws:+]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,none]; RCVD_IN_DNSWL_NONE(0.00)[195.190.28.88:from]; NEURAL_HAM_SHORT(-0.87)[-0.867]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; MAILMAN_DEST(0.00)[freebsd-arm]; SUBJECT_HAS_QUESTION(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2020 14:07:36 -0000 On Sat, 21 Nov 2020 09:05:04 +0100, Ronald Klop = wrote: > On Sat, 21 Nov 2020 00:14:48 +0100, Klaus Cucinauomo = > wrote: > >> >> >>> Am 20.11.2020 um 23:01 schrieb Ronald Klop : >>> =E2=80=A6. >>> Next step is connecting SSD and move the root fs. Don=E2=80=99t care= if = >>> /boot/msdos stays on the SD. =E2=80=A6. >> >> Hi, >> >> you could simply `dd=E2=80=98 the whole SD-card to xy.img and dd that= image to = >> SSD(or use e.g. BalenaEtcher or so). >> The 8GB model will boot straight from SSD(no SD-card needed) with : >> https://reviews.freebsd.org/D26853 >> see: >> https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5719 > > > Nice. Might try that. Can that also boot from ZFS? Or do I still need = a = > small UFS /boot than? > > Regards, > Ronald. I suppose it does support ZFS: [root@rpi4 /boot/msdos]# strings EFI/BOOT/bootaa64.efi | grep zfs zfs:%s zfs_be_root zfs-bootonce zfs_be_pages zfs_be_currpage list child datasets of a zfs dataset zfs:%s%s/%s org.open-zfs:large_blocks zfs bootonce: %s zfs: lszfs org.zfsonlinux:allocation_classes zfs:%s/%s zfs_be_active /usr/src/sys/contrib/openzfs/module/zstd/zfs_zstd.c org.zfsonlinux:large_dnode Regards, Ronald.