From owner-freebsd-arm@freebsd.org Sat Jul 28 19:50:28 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 7C8EA105BF29; Sat, 28 Jul 2018 19:50:28 +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 B88267CE61; Sat, 28 Jul 2018 19:50:27 +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 760810c6; Sat, 28 Jul 2018 21:50:25 +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=+VMEA4ZsaA23W7gU/m2rwuSGuGE=; b=sIQ6ozSy7cOlmpBi+kS9bu+gPhG+ ZtWpVL98wkUBT2ZkjOBXqXopxDGMQRLzTOl99pHgnN/Iswub+k47x8JUTdoA9zUY 0rppnftJTzmISBt8FqsxZU1QblgFWCo2IWPUAQCT+31xSNjiyaAgapdAn2Lk/jZB bGYLW1y0gA48FMQ= 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=aBIt9tPMqSSCqqFpq3Du5uZIo6owne22NZaNeu4WXTK9jFIRt9Sq4aGp fWkgbqbbIPBrDJk80kxS34ci9Jfl1YmWyBmjpHmyzgRi4I/NtrJvln+qReEIAGPq DC5ipT2AntYrthqCnMiirLbbhCHzpL0e8la+Qpqy+w/Q1waFFuw= 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 37850b65 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 28 Jul 2018 21:50:25 +0200 (CEST) Date: Sat, 28 Jul 2018 21:50:25 +0200 From: Emmanuel Vadot To: Warner Losh Cc: Shawn Webb , FreeBSD Current , imp@freebsd.org, freebsd-arm@freebsd.org Subject: Re: Booting arm64 uefi broken Message-Id: <20180728215025.f5acbac48ab0969eff2e7545@bidouilliste.com> In-Reply-To: References: <20180728171745.e5g6dfrcjdn2mtg4@mutt-hbsd> <20180728202830.5ff22ce7b88c6cbf2cf25e18@bidouilliste.com> <20180728203431.4cb39877c0e1a9c55daf9641@bidouilliste.com> <20180728205218.ef2661f72f27709c5d829708@bidouilliste.com> 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 19:50:28 -0000 On Sat, 28 Jul 2018 13:27:08 -0600 Warner Losh wrote: > Let me know the rev... all my fixes are in the tree... > > Warner Fixed by r336837 Thanks, > On Sat, Jul 28, 2018, 12:52 PM Emmanuel Vadot wrote: > > > On Sat, 28 Jul 2018 20:34:31 +0200 > > Emmanuel Vadot wrote: > > > > > On Sat, 28 Jul 2018 20:28:30 +0200 > > > Emmanuel Vadot wrote: > > > > > > > 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 > > > > _______________________________________________ > > > > freebsd-current@freebsd.org mailing list > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > > > To unsubscribe, send any mail to " > > freebsd-current-unsubscribe@freebsd.org" > > > > > > Latest loader.efi fails for me the same way, Shawn did you start > > > bisecting ? > > > > > > > Problem is between 20180709 and 20180719 > > > > -- > > Emmanuel Vadot > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Emmanuel Vadot