From nobody Tue Sep 20 03:48:42 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MWnbC72yMz4cwNF for ; Tue, 20 Sep 2022 03:48:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MWnbC0q3Zz3P1l for ; Tue, 20 Sep 2022 03:48:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vs1-xe31.google.com with SMTP id h1so1695107vsr.11 for ; Mon, 19 Sep 2022 20:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=vqA2tuiL8aQFPHwEOWnG5piTMu70UpnCFstBni/5GTY=; b=X/kq75ZJoz4VMMcpeRT4fRZgTapotm8dBfv68DNC8Y/3KbBIgCTslvTDP+SSFO8LEc 2jxedXnnlcq21bnCVIemPkIP+c8lGG4gpEYrvI5/AwBUw5shaJbMSBEenrmnJNq5tlUO Wub/XAcFj4JuaM3rptYfmGE9ehLxW4K7UqS0uYGaTQMJeX0DePzqVAi3QXl5vRtFB3TP fPOhICbRQUYTdLWzUdPSrt0tCH6zQnblTdJurRJCUmFhG3BWfsCxzozf0RevRiSYVOUn AyoreIcTkkrGDeF3g1Uo/GwMujcuBrug4U9V3Qrx5+9RePmZeytJRNR0CCjNEIGHvwet CilA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=vqA2tuiL8aQFPHwEOWnG5piTMu70UpnCFstBni/5GTY=; b=JL+adxjcIxkYquJ9+8LzdD9FmnjaxY+UKFfj3tzlVwpz2RIU/CK7NwRjLmasyvIB5/ dIDt1QBcako4GULmqRMeis5DAEF6rNCQSpbhghfPK9PlooiwycK0jaeTDJfi6k6esKrt gz5KW3uedMkbx9jTBMwxabGRT0CMzBYRFMgfKtfaF+4zGbSa6QkeZbvjrnkxLfWn/vna B7ZdkqZPHiYmE/cWxOC+ZYUptrGXm/Pa+QiJxbSdFRvlD+IyfiiamaIMUvbGXDuYxHQN CuQZ3vXPtwE1s0S0ntAiSXt7efZuvhYDJpXznKn0RZjGwiUiCidenBAebLwtOLBkr6/Y 8DYA== X-Gm-Message-State: ACrzQf3AlA1FxvOKOvh8ofTJOB4YYGRazgomvu/D9sLV0LXSAf4f1bAj pHb1KkJiYvBQu+j+mWiF7QhcRYOPWEnokQWUBahH1SMd7ATLQw== X-Google-Smtp-Source: AMsMyM7Uww8W0iK45rHDW4l+BWH9nEsq9jvtHQ1/g7oF7ttMc++c+B+nV85V6s858S2lfSNw5RP8bz23TH8QsYSCn3E= X-Received: by 2002:a67:fb8a:0:b0:398:9d72:bddf with SMTP id n10-20020a67fb8a000000b003989d72bddfmr7367717vsr.38.1663645733535; Mon, 19 Sep 2022 20:48:53 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 19 Sep 2022 21:48:42 -0600 Message-ID: Subject: Re: following -current on rpi4 with zfs-on-root To: "freebsd-arm@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000fadb8905e913b4ed" X-Rspamd-Queue-Id: 4MWnbC0q3Zz3P1l X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b="X/kq75ZJ"; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::e31) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.95 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.95)[-0.951]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_DN_EQ_ADDR_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e31:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[bsdimp.com]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --000000000000fadb8905e913b4ed Content-Type: text/plain; charset="UTF-8" On Mon, Sep 19, 2022 at 8:31 PM void wrote: > Hi, > > In /usr/src/UPDATING, there's this concerning > zroot booting after buildworld kernel cycle: > > +++++ > 2.) update the ZFS boot block on your boot drive > > The following example updates the ZFS boot block on the > freebsd-boot partition of a GPT partitioned drive ada0: > "gpart bootcode -p /boot/gptzfsboot -i $N ada0" > The value $N will typically be 1 (if booting from BIOS) or 2 (if > booting from EFI). > +++++ > > BIOS in a rpi4 context I read as u-boot. I thought it hands the boot > process > over to bootaa64.efi, which I thought was efi. Is this correct? > Its initial boot screen shows u-boot. Is this bios or efi? > I've updated UPDATING in https://reviews.freebsd.org/D36629. Please review. Warner > TIA, > -- > > --000000000000fadb8905e913b4ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Sep 19, 2022 at 8:31 PM void = <void@f-m.fm> wrote:
Hi,

In /usr/src/UPDATING, there's this concerning
zroot booting after buildworld kernel cycle:

+++++
2.) update the ZFS boot block on your boot drive

=C2=A0 =C2=A0 The following example updates the ZFS boot block on the
=C2=A0 =C2=A0 freebsd-boot partition of a GPT partitioned drive ada0:
=C2=A0 =C2=A0 "gpart bootcode -p /boot/gptzfsboot -i $N ada0"
=C2=A0 =C2=A0 The value $N will typically be 1 (if booting from BIOS) or 2 = (if
=C2=A0 =C2=A0 booting from EFI).
+++++

BIOS in a rpi4 context I read as u-boot. I thought it hands the boot proces= s
over to bootaa64.efi, which I thought was efi. Is this correct?
Its initial boot screen shows u-boot. Is this bios or efi?
=

I've updated UPDATING in=C2=A0https://reviews.freebsd.org/D36629. Please re= view.

Warner
=C2=A0
TIA,
--

--000000000000fadb8905e913b4ed--