[CFT/Review] DPAA2 SFP+, LX2160A eSDHC, Thunderbolt bridge, FreeBSD on Apple Silicon (vz), arm64 16K pages
孔祥波 <[email protected]> Tue, 7 Jul 2026 07:38:53 +0800
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <CALyD6=WdfxUvfc=TA-EKswt3QJuE5-GKs40vXhep-LxdwE_11Q@mail.gmail.com> |
--000000000000b123660655f9c753 Content-Type: text/plain; charset="UTF-8" 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:freebsd-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:freebsd-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-intree https://github.com/freebsd/freebsd-src/compare/main...networkextension:freebsd-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:freebsd-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 --000000000000b123660655f9c753 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br>Hi hackers,<br><br>I'd like to share a few things = I've been working on recently around<br>FreeBSD/arm64, and I'm look= ing for testers and code review before<br>attempting to upstream the releva= nt 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">http= s://github.com/freebsd/freebsd-src/compare/main...networkextension:freebsd-= src:dpaa2-runtime-config</a><br><br>=C2=A0 =C2=A0In addition, an eSDHC (sdh= ci) driver attached via ACPI for the<br>=C2=A0 =C2=A0on-board TF/microSD ca= rd reader has started working:<br><br>=C2=A0 =C2=A0<a href=3D"https://githu= b.com/freebsd/freebsd-src/compare/main...networkextension:freebsd-src:sdhci= -fsl-acpi">https://github.com/freebsd/freebsd-src/compare/main...networkext= ension:freebsd-src:sdhci-fsl-acpi</a><br><br>=C2=A0 =C2=A0Testing on LX2160= A-based boards (e.g. SolidRun HoneyComb) would be<br>=C2=A0 =C2=A0very welc= ome, especially with different SFP+ modules.<br><br>2) Thunderbolt: the Thu= nderbolt bridge (networking over TB) has<br>=C2=A0 =C2=A0started working. W= ork-in-progress trees:<br><br>=C2=A0 =C2=A0<a href=3D"https://github.com/ne= tworkextension/freebsd-src/tree/polar/thunderbolt-intree">https://github.co= m/networkextension/freebsd-src/tree/polar/thunderbolt-intree</a><br>=C2=A0 = =C2=A0<a href=3D"https://github.com/freebsd/freebsd-src/compare/main...netw= orkextension:freebsd-src:polar/thunderbolt-nhi-icm">https://github.com/free= bsd/freebsd-src/compare/main...networkextension:freebsd-src:polar/thunderbo= lt-nhi-icm</a><br><br>=C2=A0 =C2=A0The second branch covers the NHI driver = and ICM-based connection<br>=C2=A0 =C2=A0management. If you have Thunderbol= t 3/4 hardware and are willing to<br>=C2=A0 =C2=A0test, please get in touch= .<br><br>3) Swift toolchain on FreeBSD: three patches submitted upstream, o= ne<br>=C2=A0 =C2=A0already merged:<br><br>=C2=A0 =C2=A0<a href=3D"https://g= ithub.com/swiftlang/swift/pull/90143">https://github.com/swiftlang/swift/pu= ll/90143</a><br>=C2=A0 =C2=A0<a href=3D"https://github.com/swiftlang/swiftl= y/pull/565">https://github.com/swiftlang/swiftly/pull/565</a><br>=C2=A0 =C2= =A0<a href=3D"https://github.com/apple/swift-nio-ssl/pull/587">https://gith= ub.com/apple/swift-nio-ssl/pull/587</a> (merged)<br><br>=C2=A0 =C2=A0Snapsh= ot builds for FreeBSD are available here:<br><br>=C2=A0 =C2=A0<a href=3D"ht= tps://github.com/networkextension/swift-freebsd">https://github.com/network= extension/swift-freebsd</a><br><br>4) FreeBSD as a guest on Apple M-series = SoCs using the macOS<br>=C2=A0 =C2=A0Virtualization.framework (vz):<br><br>= =C2=A0 =C2=A0<a href=3D"https://github.com/networkextension/FreeBSD-vz">htt= ps://github.com/networkextension/FreeBSD-vz</a><br>=C2=A0 =C2=A0<a href=3D"= https://gist.github.com/networkextension/bfa6ee87d37c39300d9b72333e54d829">= https://gist.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">https://github.com/free= bsd/freebsd-src/compare/main...networkextension:freebsd-src:arm64-16k-neove= rse-n1</a><br>=C2=A0 =C2=A0<a href=3D"https://gist.github.com/networkextens= ion/b34041ea32383530a0e08e60d293240d">https://gist.github.com/networkextens= ion/b34041ea32383530a0e08e60d293240d</a><br><br>Any testing, review comment= s, or guidance on how best to split these<br>up for Phabricator reviews wou= ld be much appreciated. I'm happy to<br>rebase, restructure, or provide= more details on any of the above.<br><br>Thanks,<br>yarshure</div> --000000000000b123660655f9c753--