Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Broadcom Ethernet #65

Open
unitedastronomer opened this issue Nov 19, 2024 · 2 comments
Open

Add support for Broadcom Ethernet #65

unitedastronomer opened this issue Nov 19, 2024 · 2 comments

Comments

@unitedastronomer
Copy link

unitedastronomer commented Nov 19, 2024

edit: I have rewritten it on the next comment.

List is based on supported by FakePCIIID kext on Catalina. **Supported device-id(s)**:

Broadcom NetXtreme BCM5700 Gigabit Ethernet [14e4:1644]
Broadcom NetXtreme BCM5701 Gigabit Ethernet PCIe [14e4:1645]
Broadcom NetXtreme BCM5702 Gigabit Ethernet PCIe [14e4:1646]
Broadcom NetXtreme BCM5703 Gigabit Ethernet PCIe [14e4:1647]
Broadcom NetXtreme BCM5717 Gigabit Ethernet PCIe [14e4:1655]
Broadcom NetXtreme BCM5717 Gigabit Ethernet PCIe [14e4:1665]
Broadcom NetXtreme BCM5718 Gigabit Ethernet PCIe [14e4:1656]
Broadcom NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657]
Broadcom NetXtreme BCM5725 Gigabit Ethernet PCIe [14e4:1643]
Broadcom NetXtreme BCM5727 Gigabit Ethernet PCIe [14e4:16f3]
Broadcom NetXtreme BCM5761 10/100/1000BASE-T Ethernet [14e4:1688]
Broadcom NetXtreme BCM5762 Gigabit Ethernet PCIe [14e4:1687]
Broadcom NetXtreme BCM57760 Gigabit Ethernet PCIe [14e4:1690]
Broadcom NetXtreme BCM57764 Gigabit Ethernet PCIe [14e4:1642]
Broadcom NetXtreme BCM57767 Gigabit Ethernet PCIe [14e4:1683]
Broadcom NetLink BCM57781 Gigabit Ethernet PCIe [14e4:16b1]
Broadcom NetXtreme BCM57782 Gigabit Ethernet PCIe [14e4:16b7]
Broadcom NetLink BCM57785 Gigabit Ethernet PCIe [14e4:16b5]
Broadcom NetXtreme BCM57786 Gigabit Ethernet PCIe [14e4:16b3]
Broadcom NetXtreme BCM57787 Gigabit Ethernet PCIe [14e4:1641]
Broadcom NetLink BCM57788 Gigabit Ethernet PCIe [14e4:1691]
Broadcom NetLink BCM57790 Gigabit Ethernet PCIe [14e4:1694]
Broadcom NetLink BCM57791 Gigabit Ethernet PCIe [14e4:16b2]
Broadcom NetLink BCM57795 Gigabit Ethernet PCIe [14e4:16b6]
Broadcom NetLink BCM5785 Gigabit Ethernet [14e4:1699]
Broadcom NetLink BCM5785 Fast Ethernet [14e4:16a0]
Broadcom NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693]
Broadcom Network Adapter [14e4:1689]

@lzhoang2801
Copy link
Owner

Help me check it d81ff30

@unitedastronomer
Copy link
Author

unitedastronomer commented Nov 20, 2024

Hi, I don't recommend getting the kext in AppleLife because the website will delete attachments as they get older. Grab from this mirror, or use the CatalinaBCM5701 in OCLP's repo instead.

Big Sur to Sequoia

minKernel: 20.0.0

Option 1: Grab the mirror of the AppleLife kext in this repo. No need spoofs, I already expanded the supported device-id the Info.plist.

The more technical one: Take the kext from OCLP, as they are most likely maintained.
  • CatalinaBCM5701Ethernet.kext

Device Properties:

Key* Value Type
IOName pci14e4,16b4 String
compatible pci14e4,16b4 String

Use IOName instead of device-id,so it would show the correct model in Hackintool, spoofing one of the IOName match from it's plist just works fine.

Kernel
Add:

minKernel
CatalinaBCM5701Ethernet 20.0.0

Patch:

Identifier* Find Replace minKernel Count Comment
com.apple.iokit.CatalinaBCM5701Ethernet E8CA9EFF FF668983 00050000 B8B41600 00668983 00050000 20.0.0 1 Broadcom BCM577XX Patch

Cosmetic (SysReport):

Identifier* Find Replace minKernel Count Comment
com.apple.iokit.CatalinaBCM5701Ethernet 35373736 35 35373738 35 20.0.0 0 SysReport 57765 -> 57785 (Cosmetic)

3 5 3 7 3 7 3 6 3 5 -> 3 5 3 7 3 7 3 8 3 5

Catalina and older

Option 1: Add FakePCIID.kext maxKernel: 19.99.99 , that's all.

Option 2:

Device Properties: Same as above
Patch: Enable "BCM57785" patch in the sample.plist
Cosmetic: Same as above but the identifier is com.apple.iokit.AppleBCM5701Ethernet, maxKernel: 19.99.9

I cannot use the same "BCM57785" patch present on sample.plist on injected ethernet.kext (on macOS >=11) because masking for Kernel -> Patch don't work using OC's config.plist. I had to replace the whole series of hex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants