Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2020 16:11:59 +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
Subject:   Re: FreeBSD on Layerscape/QorIQ LX2160X
Message-ID:  <LqTdXCGMiTFwSobCq9LtV5QVLOZ42AiBDUTC9UrdM67cUlD_I8Y7no-8F7d_vs3VDJwIFJLgHTSZVrbkIXXeZ_-hcU0FxfWj0dr-GvhKXHA=@a9development.com>
In-Reply-To: <d709b1aae3d33f49fadcce9817cb102a@unrelenting.technology>
References:  <TLwmTbuqZXh21TMiFjCu96O2fOIoWgPXE-0amhQa7y66As1E39i0v-nC7j1saPpCy8KrT63uE_W92527rywGhtxTKVATtYBSLfrLRdZ3faA=@a9development.com> <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> <c88780825e96fe583b32adf86416706e@unrelenting.technology> <d709b1aae3d33f49fadcce9817cb102a@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > Let's try this kernel:
> > > https://send.firefox.com/download/37e834fd4c903d80/#UpK-DrJoy-k3OgdA7=
eZyJg
> > >
> > > -   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/99d26385be0f49a8a4f046f15a=
2c0f08
>
> "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 0=
e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 2=
7 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 4=
0 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54 55 56 57 58 5=
9 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 7=
2 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 w=
aiting 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 stuf=
f anyway lol).
> (interesting dev note: NetBSD gets away with just some quirks in the sdhc=
i acpi driver:
> SDHC_FLAG_HAVE_DVS|SDHC_FLAG_NO_PWR0|SDHC_FLAG_32BIT_ACCESS|SDHC_FLAG_ENH=
ANCED)

No worries - once I can get a reliable install, I hope to never need to tou=
ch those again anyways. I mostly am hoping to get eMMC so I can flash updat=
ed firmware, assuming the errata list is correct and my silicon rev CAN boo=
t 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_YEHUFQ2=
g

Latest dmesg.boot: https://gist.github.com/agrajag9/f4e8186e4cea7da1e5d8887=
a8d74dd7a

I can't find the PCIe cables for my PSU right now, so the RX480 is out unti=
l I have time to dig through The Cable Box Of Doom. But I do have a spare L=
SI SAS HBA that I'll try after lunch!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LqTdXCGMiTFwSobCq9LtV5QVLOZ42AiBDUTC9UrdM67cUlD_I8Y7no-8F7d_vs3VDJwIFJLgHTSZVrbkIXXeZ_-hcU0FxfWj0dr-GvhKXHA=>