FreeBSD on Layerscape/QorIQ LX2160X
Dan Kotowski
dan.kotowski at a9development.com
Tue May 19 16:12:17 UTC 2020
> > > 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.
Scanning I2C devices on /dev/iic0: 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e
Hey look at that! A bunch of numbers! Hopefully they mean more to you than they do to me...
> > 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)
No worries - once I can get a reliable install, I hope to never need to touch those again anyways. I mostly am hoping to get eMMC so I can flash updated firmware, assuming the errata list is correct and my silicon rev CAN boot from firmware on eMMC and it was a layer 8 failure.
> Trying to add ACPI support to it:
>
> https://send.firefox.com/download/926c72b043182c40/#49y3TaeL7_hif_YEHUFQ2g
Latest dmesg.boot: https://gist.github.com/agrajag9/f4e8186e4cea7da1e5d8887a8d74dd7a
I can't find the PCIe cables for my PSU right now, so the RX480 is out until I have time to dig through The Cable Box Of Doom. But I do have a spare LSI SAS HBA that I'll try after lunch!
More information about the freebsd-arm
mailing list