FreeBSD on Layerscape/QorIQ LX2160X
greg at unrelenting.technology
greg at unrelenting.technology
Tue May 19 15:24:08 UTC 2020
May 19, 2020 4:43 PM, "Dan Kotowski" <dan.kotowski at a9development.com> wrote:
>> Let's try this kernel:
>>
>> https://send.firefox.com/download/37e834fd4c903d80/#UpK-DrJoy-k3OgdA7eZyJg
>>
>> - SDHCI included lol
>> - not including the GIC interrupt improvement from https://reviews.freebsd.org/D24876 - might help
>> with ahci interrupts? maybe?
>> - I2C support (https://reviews.freebsd.org/D24361 + ACPI attachment) not that it's urgently needed,
>> but why not, that was easy enough, I wonder if it would attach or, knowing my luck, crash :D
>
> Getting closer...
>
> dmesg.boot: https://gist.github.com/agrajag9/99d26385be0f49a8a4f046f15a2c0f08
"iicbus0: <unknown card> at addr 0x77" nice!
Would be great if you could run `i2c -s` also.
Posted the i2c patch: https://reviews.freebsd.org/D24917
> And still seeing the AHCI interrupt issue
Oh well, at least we know the GIC patch is innocent.
And at least it's just SATA, no complaints from USB or PCIe.
Speaking of, looking forward to your testing of PCIe cards ;)
> sdhci_acpi0-slot0 seems to have hung the boot process for almost 5min waiting for various timeouts.
oops, so they didn't really make generic sdhci work :D
Well turns out we do have a Freescale ESDHC driver already.
It doesn't have DMA so performance won't be great (but SD/MMC is bad stuff anyway lol).
(interesting dev note: NetBSD gets away with just some quirks in the sdhci acpi driver:
SDHC_FLAG_HAVE_DVS|SDHC_FLAG_NO_PWR0|SDHC_FLAG_32BIT_ACCESS|SDHC_FLAG_ENHANCED)
Trying to add ACPI support to it:
https://send.firefox.com/download/926c72b043182c40/#49y3TaeL7_hif_YEHUFQ2g
More information about the freebsd-arm
mailing list