FreeBSD on Layerscape/QorIQ LX2160X
Dan Kotowski
dan.kotowski at a9development.com
Mon May 18 17:31:00 UTC 2020
> Hi Dan,
>
> pon., 18 maj 2020 o 18:12 Dan Kotowski
> dan.kotowski at a9development.com napisał(a):
>
> > > > > > > > The 12.1 aarch64 memstick installer iamge fails out trying to mount the UFS partition and drops into the mountroot> shell with error 19. Listing GEOM managed disk devices returned an empty list.
> > > > > > >
> > > > > > > What devices does the boot log show? No xhci I guess, how about pci, sdhci?
> > > > > >
> > > > > > Does this answer your question? https://gist.github.com/agrajag9/ce1107a1962283b64205bc8f35123a5c
> > > > > > If not, I'll happily run what's needed to get you something better.
> > > > >
> > > > > No, the interesting part is the kernel boot log (dmesg) – the one where you saw the mountroot prompt!
> > > >
> > > > Better? https://gist.github.com/agrajag9/9a69b5baff70c8c1040fabeebd037214
> > >
> > > Oh, well that explains the lack of devices:
> > >
> > > > Using DTB provided by EFI
> > >
> > > Try choosing ACPI in the UEFI setup menu if that's available.
> > > And/or setting kern.cfg.order=acpi in the FreeBSD loader menu / /boot/loader.conf
> >
> > I couldn't find any options regarding ACPI in the UEFI menus, so I tried using `set kern.cfg.order=acpi` but that still failed in the same way.
> > https://gist.github.com/agrajag9/2fa73fc21bff10c9bee9eba810ea283d
> > I also included the output from running some of the diagnostic UEFI shell commands in case that helps. And I have the compiled DTB on hand if that helps as well.
>
> Did you try to change the relevant variable (responsible for switching
> between ACPI and DT) via BootManager menu?
> Device Manager -> O/S Hardware Description Selection -> <Device Tree/ACPI>
> (F10 to save and then reset, so that it's taken into account when
> loading the ACPI modules modules)?
> It should work this way if it's done in a generic way, I haven't
> studied SolidRun's edk2-platforms code much yet.
> Please let me know if it helped.
>
> Best regards,
> Marcin
Unfortunately there aren't many option in the menu system and I didn't see anything obvious like that. The Device Manager shows an empty Devices List, and the Boot Manager only lets me select FS and BLK devices. The Boot Maintenance Manager menu has sub-menus for Boot Options, Driver Options, Console Options, and Boot From File - but again no mentions of ACPI or DTBs.
More information about the freebsd-arm
mailing list