From nobody Fri Sep 23 23:32:30 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 4MZ7jc4YKkz4dCn0 for ; Fri, 23 Sep 2022 23:32:36 +0000 (UTC) (envelope-from void@f-m.fm) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4MZ7jb5JpJz3pGY for ; Fri, 23 Sep 2022 23:32:35 +0000 (UTC) (envelope-from void@f-m.fm) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8A75832008FA for ; Fri, 23 Sep 2022 19:32:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 23 Sep 2022 19:32:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1663975952; x=1664062352; bh=E+34k8gbIi h+qFKBuhjwTaDtj625PalWsCeHrJDKuLo=; b=DcUROMCkUHB8INBQXHKM7SqyIg 2Q//2hNeVozmzuNf6IiD0J3r0Cblwcjf46psfcsyh/XTmq+QMQerjU6McmfzS30A +kYSpwMAH8lO21M5vaBp4cRhs7khVQqrfkZVmk3jaU0T1dqD4mYNKLMVjuR+kGkL Vh+xO4yVJWZGn1dg9B4H4EK5GnmqnVSr00Z1d/UVyaxqhv9+SXnn0c7oNW0laATS 1tMkH/IQu+SxlPtmY1fqhLa/jVetCUamxjxKybDEKcmc6yFpqyqhRsBBRM0pIubG KUi93ukSr1BJKLWiSTC9pQ8fAm5L/g70VJaqLcwp16NRWMfrUT5hNm8U/Jpg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663975952; x=1664062352; bh=E+34k8gbIih+qFKBuhjwTaDtj625 PalWsCeHrJDKuLo=; b=jphpAKPfaZQc7riPP22A76+qJK48jUJPg22b0lN9GWKT +vBlvFwEEv9ItDGnWAc7ware2dx703+Bbb6sV5+KtSDpYqORECqDwSdyKHSMe8M4 r3w6DJ5RvLjKrZR174QmK7zOh3hmgu+dIXXmCgxF3quDsfCZFlWg00sjEkNb99jU 4qL5YKwgkxpzbqcpQG1pVP1nve1ovE4nmYtpLNJUV7kOfALUIrtBB24E/iqEQBER JYA7sS5t4/lPCi5y2icg6cJLCdS/rZ18xczO93Gjj6F5eA2NrCd8thexj1wlIcRo UK26JiKXeu10Pi3RZq88OIQOxK2Viz9BIggMuitIcA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefjedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgr thhtvghrnhepkeeluddvlefhieelfefggffhffektdehleelgfdugfdvgeekjeejuddthe ehgfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep vhhoihgusehfqdhmrdhfmh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 23 Sep 2022 19:32:32 -0400 (EDT) Date: Sat, 24 Sep 2022 00:32:30 +0100 From: void To: freebsd-arm@freebsd.org Subject: Re: following -current on rpi4 with zfs-on-root Message-ID: Mail-Followup-To: freebsd-arm@freebsd.org References: 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4MZ7jb5JpJz3pGY X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=DcUROMCk; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=jphpAKPf; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 64.147.123.21 as permitted sender) smtp.mailfrom=void@f-m.fm X-Spamd-Result: default: False [-5.10 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N 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 >> >> If you have a non-standard setup, please see the EFI notes section. Hi Warner, On a freshly rebuilt system after make installworld (but before anything else), # mount | grep msdos /dev/da0p1 on /boot/efi (msdosfs, local) There is no loader.efi in /boot/efi on arm64.aarch64 for raspberry pi 4 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/ --