FreeBSD on Layerscape/QorIQ LX2160X

Dan Kotowski dan.kotowski at a9development.com
Tue May 19 03:08:27 UTC 2020


> > > You still should do kern.cfg.order=acpi, is it on?
> >
> > Weirdly when I set that it hangs and drops into the mountroot> shell again, while leaving it unset
> > lets me boot into the installer.
> > https://gist.github.com/agrajag9/171b2665c24baece898ec5ba22439a54
>
> Okay, so now you have PCIe but not USB.
>
> (You're reading the log, right? Not weird to see mountroot if you haven't seen USB in the log.)

Sure am.

> Actually SATA is supposed to work too, it's odd that you're not seeing AHCI.
> (I was being stupid when I said they have custom SATA, lol)
> Also, there's generic PNP0D40 for SDHCI, but we don't recognize that. we should.
>
> Make sure your firmware is up to date, is your edk2-platforms
> exactly the same as master-lx2160a branch on github currently?
>
> Specifically make sure these changes are in:
>
> https://github.com/SolidRun/edk2-platforms/commit/97e6b0a36a925f57568d8e411666cfb5034aa38b
> https://github.com/SolidRun/edk2-platforms/commit/24698f90b79facfbbfc4067b39a4ddf8c7fdfa88

Okay, moved edk2-platforms forward to commit d33742f303bdf335c3bb0203d7c273f10af6923f

> Test on that linked build if the log was from your build, and vice versa.
>
> Here's a kernel that should also recognize SDHCI (eMMC?),
> with the amdgpu driver as a bonus :)
> https://send.firefox.com/download/4dd9b553bfe88cb3/#URS-DESsR8WTsiGutrJlRg

Booted with the updated UEFI and kernel+modules, new dmesg.boot here: https://gist.github.com/agrajag9/a9702c04a659784c829a77d969f6315c

It looks like there's a handful of new things there, but unfortunately I still only see da0, which is the installer-imaged sdcard. Any ideas why the eMMC block device isn't showing up?

And I'll pull some drives off my shelves tomorrow to verify the SATA ports.


More information about the freebsd-arm mailing list