From owner-freebsd-arm@freebsd.org Sat Jul 28 19:27:21 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 1CC7A105B4B3 for ; Sat, 28 Jul 2018 19:27:21 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A7D057BF6B for ; Sat, 28 Jul 2018 19:27:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22c.google.com with SMTP id 72-v6so12186415itw.3 for ; Sat, 28 Jul 2018 12:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u8lEF3azVlg8efjkeqkMcIZL/47YrOXSgRF3rGv+QP8=; b=tI5bD/VLYsNBAnghR7AoNCy2enfhQwQcIHPJerm79l0bGheLItyi409s3ZvCPd1nOB fv+BYGTXw4D9ylK0yduC1TLUSbV6KCJ63IrszZIryI6lwAdFT0QzySd3qUXTy4vL3p8N TqcgPDYoRksD889NHe7S5YN8XOXmDVUeIjEZOCdByZne98zJCVjFHGWND6u3LZHEya/k vyIsUjGZFwFaBWSQG4ny1ST+u2RiUjTHeJNqIhqlgYTeW6MzJJs6+yh5HQpO5OpL4lxd 72bOZrL4bBJc7NhsaUMD3VSMibvn+f+b5MDg7O8rY04TKHa2Auh5MUwfv+kJoBkj5nRt erNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u8lEF3azVlg8efjkeqkMcIZL/47YrOXSgRF3rGv+QP8=; b=QdrIIllnZtCREuKhkii/QtzGXA3XvuYSZS1aQ7QjuVWJLDhDlh/F2ghKB8hCIgrVEk JYm96bnmHs5As9g+bZZ4VsIzD1CBi52yBiMqOeoED0JqiHmN5l0cNrIio45y3K0Uvxxd 6cCAqmK3SL/HHaN5jOGr1KhA8mIoiQT9FipRN/Aqi8XZPGGzjxQ3hQDeqsoBvq99HSur TWFoE9xrhWK4BezhB5MGHMvHu3w4yPZHKq3/AenO6S3GJ/OOhne2utObVcyZ8KxAQ/XA SGFEsedoCDe2c1kyH+TOWOZdrYl68/MSvvKY8NzGFvpyhsWgiyi8jFQtBNJJfBJHz4en DVaQ== X-Gm-Message-State: AOUpUlF32IpROL+dR4fxKiN1ZzhI6e+hLdzQSH1a/PfxbuyGHtCbtNNu QbtWjQzBhqcvL284seF7KdYdWtQwcNJB0Iv+c6negg== X-Google-Smtp-Source: AAOMgpfOBVwOxl1SJokX/+Vw1ejjmKF3v2B3pMWaP2+QePcQnVtb/MmHNHbiQDVDKTh96frA7iZm6Qjafs9TuRDeKvA= X-Received: by 2002:a24:4f52:: with SMTP id c79-v6mr9529838itb.36.1532806039962; Sat, 28 Jul 2018 12:27:19 -0700 (PDT) MIME-Version: 1.0 References: <20180728171745.e5g6dfrcjdn2mtg4@mutt-hbsd> <20180728202830.5ff22ce7b88c6cbf2cf25e18@bidouilliste.com> <20180728203431.4cb39877c0e1a9c55daf9641@bidouilliste.com> <20180728205218.ef2661f72f27709c5d829708@bidouilliste.com> In-Reply-To: <20180728205218.ef2661f72f27709c5d829708@bidouilliste.com> From: Warner Losh Date: Sat, 28 Jul 2018 13:27:08 -0600 Message-ID: Subject: Re: Booting arm64 uefi broken To: Emmanuel Vadot Cc: Shawn Webb , FreeBSD Current , imp@freebsd.org, freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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:27:21 -0000 Let me know the rev... all my fixes are in the tree... Warner 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 >