From owner-freebsd-arm@freebsd.org Sat Jul 28 18:37:11 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 5B24F1059CD7 for ; Sat, 28 Jul 2018 18:37:11 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7028379B76 for ; Sat, 28 Jul 2018 18:37:10 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-wm0-x243.google.com with SMTP id l2-v6so4757260wme.1 for ; Sat, 28 Jul 2018 11:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=c7p80zJtut5YpD+vey4bzPLDdMlbtfNfHnuuKjrTBKA=; b=D//UON6jyWbUwFsgM30etJ2VGp6D7eReaoFml+/iLMygNt+2nZGzN9vK2MoSzwXp1P CApEddvKz+FowuSerOIsb4znJ5kzo3gzLMOlTpi/Ed9Eab2LUEoMlHCG35z/f7WIGkGH 600f2MjQCwpzQprGqjGeFdK+xirYodVrW8X6R4ck1eCLBmt44dKOZz5b554mp26r8mGO XPhwkDes3lHm8RQRy+A11poKxVxmNeo2bFv9CoOgea2+bAqApxUJG1oj88+c9LasuJsD zYhYQCOdxvh1T+cec9X8K6OVuhh3eQ7QR1xl+HGegLkZyxX7gjIt50DaVl/wTsP5xNf7 5jfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=c7p80zJtut5YpD+vey4bzPLDdMlbtfNfHnuuKjrTBKA=; b=R7/7nuohbTCSvBxsayzdL4oeAObbqokgxNRVYfPVWKlolSHmgUYMljjx9dHLUsA+vC 3TFkh0Y28krIywSBwaI4sqvGSvpLIO9hzp5h+S/GkbjSxMd8RRPVLbJ2UZHKAC5oJuZd vosd2ziE6t8Ql63grmf08N7QMvF1pDmXfL76L/IvfjojZuKEt69jJhl2oatRaOxEFxK+ vCFcblxLvOr0lP667warsIhBQdxF5HEBhKo0McoaNCU3kpp/rnXsRak3xVq4aR4QksVs JI9tUQ5m/3VzznuO7Tq/wQaC8bzYuM8QAhzrID+d0rKytxOqEOv3ULmUcUQct3StnX/T wqgA== X-Gm-Message-State: AOUpUlGWey91mOHh1Mgd8VH/vJ266bFS8QyNWV5UvwmOQRknY9U20BfM yquik7+YNCoQdbEP8claAQ01MQ== X-Google-Smtp-Source: AAOMgpfTtYKtVExshjmnR1EwxlwGrpLny24nJrPaWergIqoCay9tXq02aQpO0WyzKF0w31/1sI03og== X-Received: by 2002:a1c:6c14:: with SMTP id h20-v6mr9257625wmc.138.1532803029276; Sat, 28 Jul 2018 11:37:09 -0700 (PDT) Received: from mutt-hbsd ([185.248.160.21]) by smtp.gmail.com with ESMTPSA id w4-v6sm1047208wrl.46.2018.07.28.11.37.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Jul 2018 11:37:08 -0700 (PDT) Date: Sat, 28 Jul 2018 14:36:29 -0400 From: Shawn Webb To: Emmanuel Vadot Cc: freebsd-current@freebsd.org, imp@freebsd.org, freebsd-arm@freebsd.org Subject: Re: Booting arm64 uefi broken Message-ID: <20180728183629.wxxabsnyrnqlmwog@mutt-hbsd> References: <20180728171745.e5g6dfrcjdn2mtg4@mutt-hbsd> <20180728202830.5ff22ce7b88c6cbf2cf25e18@bidouilliste.com> <20180728203431.4cb39877c0e1a9c55daf9641@bidouilliste.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xfblujcxadv7knd2" Content-Disposition: inline In-Reply-To: <20180728203431.4cb39877c0e1a9c55daf9641@bidouilliste.com> X-Operating-System: FreeBSD mutt-hbsd 12.0-CURRENT FreeBSD 12.0-CURRENT X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20180622 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:37:11 -0000 --xfblujcxadv7knd2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 28, 2018 at 08:34:31PM +0200, Emmanuel Vadot wrote: > On Sat, 28 Jul 2018 20:28:30 +0200 > Emmanuel Vadot wrote: >=20 > > On Sat, 28 Jul 2018 13:17:45 -0400 > > Shawn Webb wrote: > >=20 > > > It appears with the latest 12-CURRENT/arm64, booting is broken. The > > > boot process gets stuck after the "Using DTB provided by..." message. > > >=20 > > > This is on my SoftIron OverDrive 1000: > > >=20 > > > >> FreeBSD EFI boot block = =20 > > > Loader path: /boot/loader.efi = =20 > > > = =20 > > > Initializing modules: ZFS UFS = =20 > > > Load Path: \EFI\BOOT\BOOTAA64.EFI = =20 > > > 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 = =20 > > > BootOrder: 0001 0005 0006 0000 0002[*] = =20 > > > Probing 7 block devices......+..* done = =20 > > > ZFS found the following pools: rpool = =20 > > > UFS found 1 partition = =20 > > > Consoles: EFI console = =20 > > > FreeBSD/arm64 EFI loader, Revision 1.1 = =20 > > > (Sat Jul 28 11:32:06 UTC 2018 root@nyi-01.build.hardenedbsd.org) = =20 > > > = =20 > > > Command line arguments: loader.efi = =20 > > > EFI version: 2.60 = =20 > > > EFI Firmware: SoftIron Overdrive 1000 (rev 1.00) = =20 > > > Console: efi (0) = =20 > > > Load Path: HD(2,GPT,73365FE7-9260-11E8-9F00-0026B93F5298,0x643,0x1= 07D00) =20 > > > 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 = =20 > > > BootOrder: 0001 0005 0006 0000 0002[*] = =20 > > > BootInfo Path: PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/USB(0x2,0x0= ) =20 > > > Ignoring Boot0002: Only one DP found = =20 > > > 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: = =20 > > > Loading /boot/defaults/loader.conf = =20 > > > /boot/kernel/kernel text=3D0x8a7169 data=3D0x1384d0+0x7d39fc syms=3D[= 0x8+0x11d108+0x8+0x10e646] > > > /boot/entropy size=3D0x1000 = =20 > > > efi-autoresizecons: Neither Graphics Output Protocol nor Universal Gr= aphics Adapter present > > > = =20 > > > Hit [Enter] to boot immediately, or any other key for command prompt.= =20 > > > Booting [/boot/kernel/kernel]... = =20 > > > Using DTB provided by EFI at 0x801fe00000. > > >=20 > > > Thanks, > > >=20 > > > --=20 > > > Shawn Webb > > > Cofounder and Security Engineer > > > HardenedBSD > > >=20 > > > 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 6E= EE > >=20 > > Latest kernel works for me : > >=20 > > 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 > >=20 > > I'll try with latest loader.efi > >=20 > > --=20 > > 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.o= rg" >=20 > Latest loader.efi fails for me the same way, Shawn did you start > bisecting ? Not yet. I don't have the time to right now. Probably won't for a while. Thanks, --=20 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 --xfblujcxadv7knd2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAltct6wACgkQaoRlj1JF bu7E7RAAingoE1tCaX3WddW9eljNvWJHYoI4ufChuRqAfFziVMiauW4GxzXbxt7A gogcl2NcvJKzkVBYdhf8Kvv2S3O5867Cf98uR3GwgG217i4El+NFApNpnAjJaqWb QDLT/ChTayZy7IrhFJfpYFwOk/Vxo0wqPP2r9QpvAUASDZwI6hMbunBSMFdawsp6 PeuYmPCkhCG0HeI+Vhkm5mXxaDDOvSvMb4L+YFh9c6JjW5ohrA8hUBVDlYuAZp1H jPcnT9pcuQhKIqxHzlaSkjrEQfurFxKiRSRJdljYYn77Jv5ueHNbtNmNbcCPVzCq apnWQRElao5gK5fbSmudqRsTm6sxYCgNZAJ3DnEFAad/n9DfYpXVuY7P6d+9rxKA kc7Ukcf3smFwSWKfydjU9PCqj9/mMZFIW9afMpDLrER+vY1irE+Hf5dABCcAvWBd BMLzqq/hn9ZXInokoOB1McnZDA4dr9KPTFaMtl/X97M0lUibtW52n1Yqqg4tMoUc yM3gVaYtgNbtEB+K/V4OnDPo4j7v0fP/VOD3ZF/3V3gZDq3lqNggG3lMkQMZLSCt OPHli1rV8Jgqf1+vasjeGsTOp+RxeMdRmFo3dUqfQ6FI97E/jcOEIYoFkXQJh8Ng VEui5swrBPPsxj6Eo3XzSV5mDbrJ67zZG92++nKlAlDizcl+z6c= =YNPl -----END PGP SIGNATURE----- --xfblujcxadv7knd2--