Re: Booting arm64 uefi broken

From: Emmanuel Vadot <manu_at_bidouilliste.com>
Date: Sat, 28 Jul 2018 21:50:25 +0200
On Sat, 28 Jul 2018 13:27:08 -0600
Warner Losh <imp_at_bsdimp.com> 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 <manu_at_bidouilliste.com> wrote:
> 
> > On Sat, 28 Jul 2018 20:34:31 +0200
> > Emmanuel Vadot <manu_at_bidouilliste.com> wrote:
> >
> > > On Sat, 28 Jul 2018 20:28:30 +0200
> > > Emmanuel Vadot <manu_at_bidouilliste.com> wrote:
> > >
> > > > On Sat, 28 Jul 2018 13:17:45 -0400
> > > > Shawn Webb <shawn.webb_at_hardenedbsd.org> 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_at_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_at_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_at_od1000.home.blih.net:/usr/o bj/usr/src/arm64.aarch64/sys/GENERIC
> > > > arm64
> > > >
> > > >  I'll try with latest loader.efi
> > > >
> > > > --
> > > > Emmanuel Vadot <manu_at_bidouilliste.com> <manu_at_freebsd.org>
> > > > _______________________________________________
> > > > freebsd-current_at_freebsd.org mailing list
> > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > > To unsubscribe, send any mail to "
> > freebsd-current-unsubscribe_at_freebsd.org"
> > >
> > >  Latest loader.efi fails for me the same way, Shawn did you start
> > > bisecting ?
> > >
> >
> >  Problem is between 20180709 and 20180719
> >
> > --
> > Emmanuel Vadot <manu_at_bidouilliste.com> <manu_at_freebsd.org>
> >
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


-- 
Emmanuel Vadot <manu_at_bidouilliste.com> <manu_at_freebsd.org>
Received on Sat Jul 28 2018 - 17:50:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:17 UTC