From owner-freebsd-arm@freebsd.org Sun Mar 18 17:50:24 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E72AF67324 for ; Sun, 18 Mar 2018 17:50:24 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (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 A2EEF7E1DC for ; Sun, 18 Mar 2018 17:50:23 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: d3c9a646-2ad4-11e8-91c6-33ffc249f3e8 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id d3c9a646-2ad4-11e8-91c6-33ffc249f3e8; Sun, 18 Mar 2018 17:50:22 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w2IHoGnV034804; Sun, 18 Mar 2018 11:50:16 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1521395416.99081.89.camel@freebsd.org> Subject: Re: RPi3 boot stops at Using DTB provided by EFI at 0x8004000. From: Ian Lepore To: bob prohaska , freebsd-arm@freebsd.org Date: Sun, 18 Mar 2018 11:50:16 -0600 In-Reply-To: <20180318171504.GA99158@www.zefox.net> References: <20180318171504.GA99158@www.zefox.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2018 17:50:24 -0000 On Sun, 2018-03-18 at 10:15 -0700, bob prohaska wrote: > An RPi3 hangs on boot with the console message > Using DTB provided by EFI at 0x8004000. > > The system just completed an OS build/install cycle on r331088, the > only obvious change is some additional console output, which ends > with > > > > > > > > > FreeBSD EFI boot block >    Loader path: /boot/loader.efi > >    Initializing modules: ZFS UFS >    Probing 5 block devices......** done >     ZFS found no pools >     UFS found 2 partitions > Consoles: EFI console   > Command line arguments: loader.efi > Image base: 0x379ad008 > EFI version: 2.05 > EFI Firmware: Das U-boot (rev 0.00) > > FreeBSD/arm64 EFI loader, Revision 1.1 > (Sun Mar 18 04:46:21 PDT 2018 bob@www.zefox.org) >    BootCurrent: 0000 >    BootOrder: 0004 0000[*] 0000[*] 0000[*] 5990 3af8 0000[*] 0000[*] > ed78 3ab2 0000[*] 0000[*] 28ec 3af6 0000[*] 0000[*] 0067 0000[*] > 0000[*] 0000[*] 02e0 3ab4 0000[*] 0000[*] 5000 3af8 0000[*] 0000[*] > ee20 3ab2 0000[*] 0000[*] 2a48 3af6 0000[*] 0000[*] 5990 3af8 0000[*] > 0000[*] 6000 3794 0000[*] 0000[*] 6000 3394 0000[*] 0000[*] 4000 > 0000[*] 0000[*] 0000[*] d520 3ab3 0000[*] 0000[*] 5000 3af8 0000[*] > 0000[*] 4000 0000[*] 0000[*] 0000[*] 1000 0000[*] 0000[*] 0000[*] > 6000 3394 0000[*] 0000[*] 0000[*] 0000[*] 0000[*] 0000[*] 0000[*] > 0000[*] 0000[*] 0000[*] 0000[*] 0000[*] 0000[*] 0000[*] 0000[*] > 0000[*] 0000[*] 0000[*] 02e0 3ab4 0000[*] 0000[*] 0000[*] 0000[*] > 0000[*] 0000[*] ff20 3ab3 0000[*] 0000[*] > Loading /boot/defaults/loader.conf > /boot/kernel/kernel text=0x4e1587 data=0xe7320+0x70243c > syms=[0x8+0x9e2b0+0x8+0x7e497] > /boot/entropy size=0x1000 > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]...                > Using DTB provided by EFI at 0x8004000. > > At this point the machine becomes stuck. Power-cycling allows an > older > kernel, built on r326343, to come up normally. Both the functional > and > non-functional kernels were built using a custom config file, which > can > be seen at http://www.zefox.net/~fbsd/rpi3/kernel_config/ZEFOX > > Thanks for reading, I'd be grateful for any workarounds. > > bob prohaska Are you sure it really stopped?  I thought the same thing was happening yesterday on my RPi-B while testing efi booting, and it turned out that I just had no console, so it appeared to go dead.  Then a couple minutes later I noticed I had a login prompt on the serial terminal. -- Ian