From nobody Sat Sep 24 02:30:14 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 4MZCfm20stz4dY0F for ; Sat, 24 Sep 2022 02:30:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MZCfl2P8Xz3FLW for ; Sat, 24 Sep 2022 02:30:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663986621; bh=hjdYHyKmNcFarL0dTyM0qRnr+K6LzAku17/gfMf4sZk=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=AyqQXP8/55LzaJoORNIjSymMrLGPHia73xceMAO0b4dUUIWPb1OxfZv2wQ+FEZCh+I5qe1ifXamK+eE/nkJ4HLo8jzHaNcrXVbq1TJ+ipWOF3iy9F4oj/4WTYhfDCIku+qIYMT9Au7Aaq5EDrQGriqjJLn1kCPhf5hG5bOtY8tOj49WUZmTGZO3Mhjon/SUkSnbYWEGgNQpw79J6q7RmZ1QiaFeIPpK2S/wznZtYFUTw/fmTgiD0cPRjciKGuApaQCZxznvU1EFa5uCk2R3JTTYfbmnkb8Np8gX3FIQqV3coYPM4S2Kdqxry+41LNNCkTFyhypQIxb8I/cjiXs5COA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663986621; bh=ZdQlktypVayC/hzwX0ybmWZzsXWNavmUlBH3aZDPOnW=; h=X-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bRJEVPJ4jZsOo7XO.S6G7sYGOCrQoe8DmtsB8ZNmuR05nqxT7IFzG23ZlBZ t5F9HcjFZRE7WolZKR_QsKTFazpMsqKOxHhMyGP3Tta4_6yw5m.qk9.shFs80o.fyeK5X_o1B7aT YPDRHm6zajcOecVym.FpxK1BCh3iuLhFMaTCIow8Vadra3icL4cuuYjLcCInauG0.KaHb6qSPC.2 tZVeWAvHC0.9ynweiqVG8jhmszFAdB7UXBP.jc6VKNBdSjiExu7SaruFo2ct11TIURDE_qwLO4Kg NvsBz3HwRItAwEbvzZhXZDo0HOMinDqlOKeQ0JxrjdEgSc44tU9gN2PGxVvIeMK9_a7wpSeqXpCl qicSibcsgcXphtsKsri7S4Ju5Vybpi322qJvh7I1hOMi1TRozxHPaKBN5i66yNUmfDj1AXI91YRv fwyENCVo7_p8.VzjdesuqESw148WSRh80vn0109i82.8yiBt_wccX7YLd8ivBoMgXEACT2v4dCnm PwWo1o1IZLffuO4e57KLmYls0liAz32rlC2VoUxVJt_fqynbwdGOQ_SBdwgUq9vnPFhJrfcI- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sat, 24 Sep 2022 02:30:21 +0000 Received: by hermes--production-ne1-6dd4f99767-4dqfp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3d09c4f8621c5b958be7e8b8d3652fb8; Sat, 24 Sep 2022 02:30:15 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: following -current on rpi4 with zfs-on-root From: Mark Millard In-Reply-To: Date: Fri, 23 Sep 2022 19:30:14 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: void X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4MZCfl2P8Xz3FLW X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="AyqQXP8/"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_TO(0.00)[f-m.fm]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from] X-ThisMailContainsUnwantedMimeParts: N On 2022-Sep-23, at 16:32, void wrote: > On Tue, Sep 20, 2022 at 02:36:02PM -0600, Warner Losh wrote: >>> > >>> >> For EFI, there are many choices. The default installation places >>> >> loader.efi into the ESP in EFI\FREEBSD\LOADER.EFI. The following >>> >> updates it (assuming the ESP is on p1, and isn't already = mounted): >>> >> mount -t msdos /dev/ada0p1 /boot/efi >>> >> cp /boot/efi/loader.efi /boot/efi/efi/freebsd I expect that should reference ( unsure for EFI vs. efi ): cp /boot/loader.efi /boot/efi/EFI/freebsd/ The point being to copy from ZFS/UFS to the ESP for environments that use EFI\FREEBSD\LOADER.EFI . -t msdos vs. -t msdosfs ? >>> >> If you have a non-standard setup, please see the EFI notes = section. >=20 > Hi Warner, >=20 > On a freshly rebuilt system after make installworld (but before = anything else), >=20 > # mount | grep msdos >=20 > /dev/da0p1 on /boot/efi (msdosfs, local) >=20 > There is no loader.efi in /boot/efi on arm64.aarch64 for raspberry pi = 4 So far as I know /boot/efi/loader.efi is never the right path for ZFS, UFS, or the ESP under the msdosfs ( given mount -t msdos /dev/ada0p1 /boot/efi ). /dev/ada0p1 would contain an EFI directory that has more substructure. > bootaa64.efi is in /boot/efi/EFI/BOOT, so I followed Marek's = instructions and copied loader_lua.efi to bootaa64.efi from > /usr/obj/usr/src/arm64.aarch64/stand/efi/loader_lua/ After the install world, cp /boot/loader.efi /boot/efi/EFI/BOOT/ should work as well. ( /boot/loader.efi having been updated in ZFS/UFS. ) =3D=3D=3D Mark Millard marklmi at yahoo.com