FreeBSD on Layerscape/QorIQ LX2160X

Dan Kotowski dan.kotowski at a9development.com
Wed Jun 17 11:45:02 UTC 2020


> > > AHCI is looking better and better!
> > > I'm going to do a little bit of poking at that
> > > SATA HDD just to see how stable it really is.
> >
> > Well, it's definitely stable enough for lab use, that's a bonus. I caused myself a few headaches by doing stupid things that caused a series of panics, but all are easily attributed to human errata...
> > Oddly the i2c bus is gone - any ideas what we changed that caused it to disappear?
> > https://gist.github.com/agrajag9/03d9f2f52084ef0ae1e64cbba190e062
> > If I'm reading the DSDT correctly, then it should be hanging right off acpi0. We can even see it in an older dmesg.boot:
> > i2c0: <Vybrid Family Inter-Integrated Circuit (I2C)> iomem 0x2000000-0x200ffff irq 7 on acpi0
> > But now, nothing...
>
> Probably because I deleted that i2c acpi attachment at some point, because it didn't seem to actually work.

Yes, that would make sense...

> > Aside - since the builtin netifs are basically useless for us, any suggestions on USB wifi dongles? I tried a few from my parts piles, but all of them were unstable Realtek trash. I know Atheros chips are usually a good bet in Linux land - does that hold true in FreeBSD as well?
>
> Not sure how common Atheros is on USB..

I guess we're going to find out!

https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb

> Ralink is fine I think? Actually Realtek wifi shouldn't be unusable too..

While the realtek device I have does move packets, it also likes to emit warnings every few minutes, and it was definitely caused problems during boot a few times as well.

> For USB Ethernet though, I recommend the "Nintendo Switch compatible" ASIX chips (axge).

Hah! I would not have expected that, but I may pick one up as well for the future - sadly no eth in my office at the moment.

> By the way, did you get any different firmware builds in the meantime? That don't have everything suspiciously routed to the SMMU in IORT..

No, not yet. I think he may be a one-man-army over there for a lot of SR's firmwares and progress has been slow - especially because they're focused so much on supporting Linux.

Also, is there some good intro documentation for SMMU and IORT? I'm still pretty new to both Arm and ACPI, and while the spec docs on uefi.org have been great reference material, they're a bit challenging to just sit down and read.


More information about the freebsd-arm mailing list