Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2020 03:08:19 +0000
From:      Dan Kotowski <dan.kotowski@a9development.com>
To:        "greg@unrelenting.technology" <greg@unrelenting.technology>
Cc:        John-Mark Gurney <jmg@funkthat.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD on Layerscape/QorIQ LX2160X
Message-ID:  <DpE7TKy0bLe_A7aFUtC16tw_OZ6XPvYOJhEM8-j-SOJfQYEJm9BTewrQ98CR9aW96gTykuslmPHhsaWcyXt26bEw_Zx1vPEwj_IPwKCySUk=@a9development.com>
In-Reply-To: <947c2f9bfaad823a2b104b8741502b40@unrelenting.technology>
References:  <-993X5kyX6HEebSKMfqeSWmICCLli6PEFDf82ulKUdk49KTg9sf2u6V_4a8wWQGyFpwtgdXwqvk2kIjFm5u_ZWw6t2qGw5nSV7f-O_96U_g=@a9development.com> <_lvahpuNQE69s4KpHud6ANL6yzL3RCVI-MTyB0_J_ULyW-3UWsqAXnm5gfoFcOyvfRQRabZk4Z4bQgyp15a001kA-WcvsvnWcjqgMBkgGTY=@a9development.com> <BB317821-62C7-416E-83E6-69101A64E9A3@unrelenting.technology> <cjE8j_Tehwtmk7Aw0hzP-EZxwfAQC4ywIrgcqrarkCiRI_X5kacVsJHpaX_SMO9QHVCqfEdJH45eC4AE2cwzfx9nmHzWbhE7M-h09hDe8MA=@a9development.com> <7F9D7164-2C04-4E27-85F9-A495EAC8FC84@unrelenting.technology> <63b4f78ff4ee07359a345bcbc03afeaa@unrelenting.technology> <2053cd2299b81860deecc638ef839d1f@unrelenting.technology> <0012917d629a48e9fcd8589f4f002e1b@unrelenting.technology> <947c2f9bfaad823a2b104b8741502b40@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > You still should do kern.cfg.order=3Dacpi, is it on?
> >
> > Weirdly when I set that it hangs and drops into the mountroot> shell ag=
ain, 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 AH=
CI.
> (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/97e6b0a36a925f57568d8e4=
11666cfb5034aa38b
> https://github.com/SolidRun/edk2-platforms/commit/24698f90b79facfbbfc4067=
b39a4ddf8c7fdfa88

Okay, moved edk2-platforms forward to commit d33742f303bdf335c3bb0203d7c273=
f10af6923f

> 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-DESsR8WTsiGutrJlR=
g

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 st=
ill only see da0, which is the installer-imaged sdcard. Any ideas why the e=
MMC block device isn't showing up?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DpE7TKy0bLe_A7aFUtC16tw_OZ6XPvYOJhEM8-j-SOJfQYEJm9BTewrQ98CR9aW96gTykuslmPHhsaWcyXt26bEw_Zx1vPEwj_IPwKCySUk=>