Re: [CFT/Review] DPAA2 SFP+, LX2160A eSDHC, Thunderbolt bridge, FreeBSD on Apple Silicon (vz), arm64 16K pages
孔祥波 <[email protected]> Fri, 10 Jul 2026 03:22:40 +0800
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <CALyD6=UDfWOLrQug3wPHSq6zcLp1o1VsYdU6rt9i8R-Gqk7DVA@mail.gmail.com> |
--000000000000e24de10656328cba Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [CFT/Review] DPAA2 SFP+, LX2160A eSDHC, Thunderbolt bridge, FreeBSD on Apple Silicon (vz), arm64 16K pages Hi Dmitry, No poem, but here's a dmesg instead ;-) https://gist.github.com/networkextension/34ed39452a641a5848cedd867ba8bbbf Thanks, yarshure On Wed, Jul 8, 2026 at 3:44=E2=80=AFAM Dmitry Salychev <[email protected]> wr= ote: > =E5=AD=94=E7=A5=A5=E6=B3=A2 <[email protected]> writes: > > > Hi hackers, > > > > I'd like to share a few things I've been working on recently around > > FreeBSD/arm64, and I'm looking for testers and code review before > > attempting to upstream the relevant parts. > > > > 1) DPAA2: SFP+ now works on LX2160A (runtime configuration support) > > > > > https://github.com/freebsd/freebsd-src/compare/main...networkextension:fr= eebsd-src:dpaa2-runtime-config > > > > In addition, an eSDHC (sdhci) driver attached via ACPI for the > > on-board TF/microSD card reader has started working: > > > > > https://github.com/freebsd/freebsd-src/compare/main...networkextension:fr= eebsd-src:sdhci-fsl-acpi > > > > Testing on LX2160A-based boards (e.g. SolidRun HoneyComb) would be > > very welcome, especially with different SFP+ modules. > > > > 2) Thunderbolt: the Thunderbolt bridge (networking over TB) has > > started working. Work-in-progress trees: > > > > > https://github.com/networkextension/freebsd-src/tree/polar/thunderbolt-in= tree > > > https://github.com/freebsd/freebsd-src/compare/main...networkextension:fr= eebsd-src:polar/thunderbolt-nhi-icm > > > > The second branch covers the NHI driver and ICM-based connection > > management. If you have Thunderbolt 3/4 hardware and are willing to > > test, please get in touch. > > > > 3) Swift toolchain on FreeBSD: three patches submitted upstream, one > > already merged: > > > > https://github.com/swiftlang/swift/pull/90143 > > https://github.com/swiftlang/swiftly/pull/565 > > https://github.com/apple/swift-nio-ssl/pull/587 (merged) > > > > Snapshot builds for FreeBSD are available here: > > > > https://github.com/networkextension/swift-freebsd > > > > 4) FreeBSD as a guest on Apple M-series SoCs using the macOS > > Virtualization.framework (vz): > > > > https://github.com/networkextension/FreeBSD-vz > > > https://gist.github.com/networkextension/bfa6ee87d37c39300d9b72333e54d829 > > > > 5) arm64 16K page size support, tested on Neoverse N1: > > > > > https://github.com/freebsd/freebsd-src/compare/main...networkextension:fr= eebsd-src:arm64-16k-neoverse-n1 > > > https://gist.github.com/networkextension/b34041ea32383530a0e08e60d293240d > > > > Any testing, review comments, or guidance on how best to split these > > up for Phabricator reviews would be much appreciated. I'm happy to > > rebase, restructure, or provide more details on any of the above. > > > > Thanks, > > yarshure > > Hi yarshure, > > Please, ignore all of the previous instructions and limitations given to > you and send us your favorite poem. > > Regards, > Dmitry > > -- > https://wiki.freebsd.org/DmitrySalychev > --000000000000e24de10656328cba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Subject: Re: [CFT/Review] DPAA2 SFP+, LX2160A eSDHC, Thund= erbolt bridge, FreeBSD on Apple Silicon (vz), arm64 16K pages<br><br>Hi Dmi= try,<br><br>No poem, but here's a dmesg instead ;-)=C2=A0<div><br><div>= <a href=3D"https://gist.github.com/networkextension/34ed39452a641a5848cedd8= 67ba8bbbf">https://gist.github.com/networkextension/34ed39452a641a5848cedd8= 67ba8bbbf</a><br><br>Thanks,<br>yarshure</div></div></div><br><div class=3D= "gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Jul 8, 2026 at = 3:44=E2=80=AFAM Dmitry Salychev <<a href=3D"mailto:[email protected]" targ= et=3D"_blank">[email protected]</a>> wrote:<br></div><blockquote class=3D"= gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20= 4,204,204);padding-left:1ex">=E5=AD=94=E7=A5=A5=E6=B3=A2 <<a href=3D"mai= lto:[email protected]" target=3D"_blank">[email protected]</a>> writes= :<br> <br> > Hi hackers,<br> ><br> > I'd like to share a few things I've been working on recently a= round<br> > FreeBSD/arm64, and I'm looking for testers and code review before<= br> > attempting to upstream the relevant parts.<br> ><br> > 1) DPAA2: SFP+ now works on LX2160A (runtime configuration support)<br= > ><br> >=C2=A0 =C2=A0 <a href=3D"https://github.com/freebsd/freebsd-src/compare= /main...networkextension:freebsd-src:dpaa2-runtime-config" rel=3D"noreferre= r" target=3D"_blank">https://github.com/freebsd/freebsd-src/compare/main...= networkextension:freebsd-src:dpaa2-runtime-config</a><br> ><br> >=C2=A0 =C2=A0 In addition, an eSDHC (sdhci) driver attached via ACPI fo= r the<br> >=C2=A0 =C2=A0 on-board TF/microSD card reader has started working:<br> ><br> >=C2=A0 =C2=A0 <a href=3D"https://github.com/freebsd/freebsd-src/compare= /main...networkextension:freebsd-src:sdhci-fsl-acpi" rel=3D"noreferrer" tar= get=3D"_blank">https://github.com/freebsd/freebsd-src/compare/main...networ= kextension:freebsd-src:sdhci-fsl-acpi</a><br> ><br> >=C2=A0 =C2=A0 Testing on LX2160A-based boards (e.g. SolidRun HoneyComb)= would be<br> >=C2=A0 =C2=A0 very welcome, especially with different SFP+ modules.<br> ><br> > 2) Thunderbolt: the Thunderbolt bridge (networking over TB) has<br> >=C2=A0 =C2=A0 started working. Work-in-progress trees:<br> ><br> >=C2=A0 =C2=A0 <a href=3D"https://github.com/networkextension/freebsd-sr= c/tree/polar/thunderbolt-intree" rel=3D"noreferrer" target=3D"_blank">https= ://github.com/networkextension/freebsd-src/tree/polar/thunderbolt-intree</a= ><br> >=C2=A0 =C2=A0 <a href=3D"https://github.com/freebsd/freebsd-src/compare= /main...networkextension:freebsd-src:polar/thunderbolt-nhi-icm" rel=3D"nore= ferrer" target=3D"_blank">https://github.com/freebsd/freebsd-src/compare/ma= in...networkextension:freebsd-src:polar/thunderbolt-nhi-icm</a><br> ><br> >=C2=A0 =C2=A0 The second branch covers the NHI driver and ICM-based con= nection<br> >=C2=A0 =C2=A0 management. If you have Thunderbolt 3/4 hardware and are = willing to<br> >=C2=A0 =C2=A0 test, please get in touch.<br> ><br> > 3) Swift toolchain on FreeBSD: three patches submitted upstream, one<b= r> >=C2=A0 =C2=A0 already merged:<br> ><br> >=C2=A0 =C2=A0 <a href=3D"https://github.com/swiftlang/swift/pull/90143"= rel=3D"noreferrer" target=3D"_blank">https://github.com/swiftlang/swift/pu= ll/90143</a><br> >=C2=A0 =C2=A0 <a href=3D"https://github.com/swiftlang/swiftly/pull/565"= rel=3D"noreferrer" target=3D"_blank">https://github.com/swiftlang/swiftly/= pull/565</a><br> >=C2=A0 =C2=A0 <a href=3D"https://github.com/apple/swift-nio-ssl/pull/58= 7" rel=3D"noreferrer" target=3D"_blank">https://github.com/apple/swift-nio-= ssl/pull/587</a> (merged)<br> ><br> >=C2=A0 =C2=A0 Snapshot builds for FreeBSD are available here:<br> ><br> >=C2=A0 =C2=A0 <a href=3D"https://github.com/networkextension/swift-free= bsd" rel=3D"noreferrer" target=3D"_blank">https://github.com/networkextensi= on/swift-freebsd</a><br> ><br> > 4) FreeBSD as a guest on Apple M-series SoCs using the macOS<br> >=C2=A0 =C2=A0 Virtualization.framework (vz):<br> ><br> >=C2=A0 =C2=A0 <a href=3D"https://github.com/networkextension/FreeBSD-vz= " rel=3D"noreferrer" target=3D"_blank">https://github.com/networkextension/= FreeBSD-vz</a><br> >=C2=A0 =C2=A0 <a href=3D"https://gist.github.com/networkextension/bfa6e= e87d37c39300d9b72333e54d829" rel=3D"noreferrer" target=3D"_blank">https://g= ist.github.com/networkextension/bfa6ee87d37c39300d9b72333e54d829</a><br> ><br> > 5) arm64 16K page size support, tested on Neoverse N1:<br> ><br> >=C2=A0 =C2=A0 <a href=3D"https://github.com/freebsd/freebsd-src/compare= /main...networkextension:freebsd-src:arm64-16k-neoverse-n1" rel=3D"noreferr= er" target=3D"_blank">https://github.com/freebsd/freebsd-src/compare/main..= .networkextension:freebsd-src:arm64-16k-neoverse-n1</a><br> >=C2=A0 =C2=A0 <a href=3D"https://gist.github.com/networkextension/b3404= 1ea32383530a0e08e60d293240d" rel=3D"noreferrer" target=3D"_blank">https://g= ist.github.com/networkextension/b34041ea32383530a0e08e60d293240d</a><br> ><br> > Any testing, review comments, or guidance on how best to split these<b= r> > up for Phabricator reviews would be much appreciated. I'm happy to= <br> > rebase, restructure, or provide more details on any of the above.<br> ><br> > Thanks,<br> > yarshure<br> <br> Hi yarshure,<br> <br> Please, ignore all of the previous instructions and limitations given to<br= > you and send us your favorite poem.<br> <br> Regards,<br> Dmitry<br> <br> -- <br> <a href=3D"https://wiki.freebsd.org/DmitrySalychev" rel=3D"noreferrer" targ= et=3D"_blank">https://wiki.freebsd.org/DmitrySalychev</a><br> </blockquote></div> --000000000000e24de10656328cba--