From owner-freebsd-arm@freebsd.org Fri Sep 11 14:01:25 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 7E88B3DB797 for ; Fri, 11 Sep 2020 14:01:25 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bny900rb8z4NL2 for ; Fri, 11 Sep 2020 14:01:23 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.15.2/8.15.2) with ESMTPS id 08BE1LYZ065384 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 11 Sep 2020 16:01:21 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.15.2/8.15.2/Submit) id 08BE1LXP065383; Fri, 11 Sep 2020 16:01:21 +0200 (CEST) (envelope-from fuz) Date: Fri, 11 Sep 2020 16:01:21 +0200 From: Robert Clausecker To: greg@unrelenting.technology Cc: freebsd-arm@freebsd.org Subject: Re: Attempting to install on RPi4B w/ UEFI, having some problems Message-ID: <20200911140121.GA65117@fuz.su> References: <20200911114214.GA56507@fuz.su> <20200910201146.GA99827@fuz.su> <0E3AD53C-AA47-491B-B1C3-931C559CDC10@yahoo.com> <5a89c2a07da75b2f1bcbdae9741982cc@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5a89c2a07da75b2f1bcbdae9741982cc@unrelenting.technology> X-Rspamd-Queue-Id: 4Bny900rb8z4NL2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fuz@fuz.su designates 2001:41d0:8:e508::1 as permitted sender) smtp.mailfrom=fuz@fuz.su X-Spamd-Result: default: False [-2.24 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.022]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.02)[-1.015]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[fuz.su]; NEURAL_SPAM_SHORT(0.10)[0.101]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 14:01:25 -0000 On Fri, Sep 11, 2020 at 01:56:10PM +0000, greg@unrelenting.technology wrote: > September 11, 2020 2:42 PM, "Robert Clausecker" wrote: > > >> On 2020-Sep-10, at 13:11, Robert Clausecker wrote: > >> FYI: I use GPT partitioning. (No claim that you need to.) > > > > Ah, good to know that that works. I was afraid the UEFI code > > required an MBR scheme as the documentation indicated such. > > EDK2 UEFI not supporting GPT would be *very* weird. > I'm pretty sure the documentation was referring to the RPi early firmware. Possible. I may check this later tonight. The main thing is that the RPi4 firmware must be able to load UEFI's start4.elf from the EFI partition within a GPT partition table. Not sure if it can do that. > Maybe the update that added pure-USB boot added GPT support there as well! > > > But it appears that loading the DTB from the UEFI boot loader is not > > supported at all. In fact, when I configure UEFI to generate a DTB > > only (ACPI off), the kernel hangs during boot. > > Well that might be a FreeBSD side problem. Possibly. I'm not entirely sure if it's really a kernel hang; some other users suggested it might just be the kernel switching from serial console to video output for the system console (it does stay at the serial console when using ACPI). I can't really tell as I don't have a way to attach a screen ATM. Any idea about debugging this further? Yours, Robert Clausecker -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments