From owner-freebsd-arm@freebsd.org Sat Jul 28 18:28:40 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 6BB7D1059699; Sat, 28 Jul 2018 18:28:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AC7E779120; Sat, 28 Jul 2018 18:28:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 4480a98d; Sat, 28 Jul 2018 20:28:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=TOKSQbC/nbtMpiXP8RDIWN8NoRE=; b=LFlvJTH/v7k2314K5nocDV/jPVlh xBDf6ZYB6u5vObrq9FSYxo1XAUPd1o4gHhhogD0G8MdSQI5UXBMaEDvUhXQtALuX gdds5u2K62ke9/SWYNV8qgttdipO6jyN8ARifDflc/i1Y/xlB1g9p346n+jsCKRo wZVigYTuTTW5UWA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=IexAdoD7PEnTea9ajb6/qkLcqymFdM/1uzrvAnNR3iqCcTFNCBB9zeKM xwX1HzFu5LtDQpebZGDrU8zw2mevdckMUPiFUyBno+ne+TxgloU764AkWvM/OShy 9r3O+cLOCCXreC1mwFRRjoQTJNNh34lXGUA10+M96l+3ITl8VDM= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id b6f3ea70 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 28 Jul 2018 20:28:31 +0200 (CEST) Date: Sat, 28 Jul 2018 20:28:30 +0200 From: Emmanuel Vadot To: Shawn Webb Cc: freebsd-current@freebsd.org, imp@freebsd.org, freebsd-arm@freebsd.org Subject: Re: Booting arm64 uefi broken Message-Id: <20180728202830.5ff22ce7b88c6cbf2cf25e18@bidouilliste.com> In-Reply-To: <20180728171745.e5g6dfrcjdn2mtg4@mutt-hbsd> References: <20180728171745.e5g6dfrcjdn2mtg4@mutt-hbsd> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2018 18:28:40 -0000 On Sat, 28 Jul 2018 13:17:45 -0400 Shawn Webb wrote: > It appears with the latest 12-CURRENT/arm64, booting is broken. The > boot process gets stuck after the "Using DTB provided by..." message. > > This is on my SoftIron OverDrive 1000: > > >> FreeBSD EFI boot block > Loader path: /boot/loader.efi > > Initializing modules: ZFS UFS > Load Path: \EFI\BOOT\BOOTAA64.EFI > Load Device: PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/USB(0x2,0x0)/HD(1,GPT,73365FD5-9260-11E8-9F00-0026B93F5298,0x3,0x640) > BootCurrent: 0002 > BootOrder: 0001 0005 0006 0000 0002[*] > Probing 7 block devices......+..* done > ZFS found the following pools: rpool > UFS found 1 partition > Consoles: EFI console > FreeBSD/arm64 EFI loader, Revision 1.1 > (Sat Jul 28 11:32:06 UTC 2018 root@nyi-01.build.hardenedbsd.org) > > Command line arguments: loader.efi > EFI version: 2.60 > EFI Firmware: SoftIron Overdrive 1000 (rev 1.00) > Console: efi (0) > Load Path: HD(2,GPT,73365FE7-9260-11E8-9F00-0026B93F5298,0x643,0x107D00) > Load Device: PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/USB(0x2,0x0)/HD(2,GPT,73365FE7-9260-11E8-9F00-0026B93F5298,0x643,0x107D00) > BootCurrent: 0002 > BootOrder: 0001 0005 0006 0000 0002[*] > BootInfo Path: PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/USB(0x2,0x0) > Ignoring Boot0002: Only one DP found > Trying ESP: PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/USB(0x2,0x0)/HD(2,GPT,73365FE7-9260-11E8-9F00-0026B93F5298,0x643,0x107D00) > Setting currdev to disk1p2: > Loading /boot/defaults/loader.conf > /boot/kernel/kernel text=0x8a7169 data=0x1384d0+0x7d39fc syms=[0x8+0x11d108+0x8+0x10e646] > /boot/entropy size=0x1000 > efi-autoresizecons: Neither Graphics Output Protocol nor Universal Graphics Adapter present > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by EFI at 0x801fe00000. > > Thanks, > > -- > Shawn Webb > Cofounder and Security Engineer > HardenedBSD > > Tor-ified Signal: +1 443-546-8752 > Tor+XMPP+OTR: lattera@is.a.hacker.sx > GPG Key ID: 0x6A84658F52456EEE > GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE Latest kernel works for me : FreeBSD od1000.home.blih.net 12.0-CURRENT FreeBSD 12.0-CURRENT #3 r336834: Sat Jul 28 20:23:33 CEST 2018 root@od1000.home.blih.net:/usr/o bj/usr/src/arm64.aarch64/sys/GENERIC arm64 I'll try with latest loader.efi -- Emmanuel Vadot