【macOS】Comfast Aquantia AQC107 驱动配置 - Big Sur

Posted by 西维蜀黍 on 2021-05-01, Last Modified on 2022-03-06

Spec

Firmware

Firmware update: https://www.marvell.com/support/downloads.html

其他平台 Driver

[2020-04-01] 最新驱动 2.2.2.0 更新时间 30-Apr-2020

Linux

Window

FreeBSD (TrueNAS)

Note

按我的理解(虽然我没有在其他集成了Aquantia AQC107 的网卡上实际测试过),以下方法适用于所有集成了Aquantia AQC107 的网卡,即不仅限于 Comfast的Aquantia AQC107,也适用于其他Aquantia AQC107,比如华硕的集成了Aquantia AQC107的网卡 (ASUS XG-C100C)

[2022-7-1] Update

在更新到 Monterey 12.3 之后,AQC107 就无法被系统识别出来:

Network里面也没有:

在Open Core 0.8.0中,增加了 ForceAquantiaEthernets

  • In order for Aquantia cards to properly function, DisableIoMapper must be disabled, DMAR ACPI table must not be dropped, and VT-d must be enabled in BIOS.
  • While this patch should enable ethernet support for all Aquantia AQtion series, it has only been tested on AQC-107s based 10GbE network cards.
  • To address AppleVTD incompatibilities after applying this quirk, the Reserved Memory Region section of the corresponding device in the DMAR ACPI table might be removed. This table should be disassembled and edited, then recompiled to AML with tool iASL. For the patched DMAR table to be added, the original one should be deleted. More details can be found at comment on commit 2441455.
  • 但是在AMD的黑苹果下apply,网卡仍然不工作

Discussion for AMD

Solution

For Aquantia AQC107, it is natively supported in macOS.

For Big Sur, we need a patch under Kernel-Patch in OpenCore Config:

           <dict>
               <key>Comment</key>
               <string>AQC 107 10 GbE v2</string>
               <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>
                D4TAAgAA
                </data>
                <key>Identifier</key>
                <string>com.apple.driver.AppleEthernetAquantiaAqtion</string>
                <key>InfoPlistPatch</key>
                <false/>
                <key>Name</key>
                <string>AppleEthernetAquantiaAqtion</string>
                <key>Replace</key>
                <data>
                Zg8fRAAA
                </data>
                <key>Skip</key>
                <integer>0</integer>
           </dict>

Reference