Jump to content
46 posts in this topic

Recommended Posts

dear all,

i had tried to develop a bcm57xx ethernet driver almost 18 months ago, then failed with another attractive task get my interests away.

now leopard is here, and i got almost everything working except this bcm57xx.

currently, i can even get this chip working very well, with just one exception: its mac address is 00:00:00:00:00:00. so some routers refuse to bring service to such freak NIC.

now my effort is put, during last 3 days, i finished what i had already done 1.5 year ago: initialize the chip and get the mac address of the NIC.

then there are still a lot of tasks awaiting. i am making this effort an open source project.

i wish if you have something want to share with us, glad to see your help.

by the way, i am a nokia s60 platform developer in china, and it sounds like a mental doctor is curing a pregnant woman...

actually, there is no one else. and my best ability is "guessing". from bsd's driver source and old bcm440x's kernel extension source code, i am guessing out a whole new bcm 57xx source from almost scratch.

 

then lets get on the way.

 

http://code.google.com/p/kmbge/

http://code.google.com/p/kmbge/

 

dear all,

the source code has been updated, with skeleton of enable/disable series functions, bge_reset() function, and also some chip identification codes.

next step we have to do the actually initializing for memory and other resource, then do some actual tx and rx works.

god bless us.

 

cheers,

harry

guys, thanks for your warm words!

and probably this thing won't be ready in two weeks, maybe even longer, so when its ready, i will give a clear call.

anyway, your love is my passion on doing this :( .

 

also i will continue calling for developers who could give me a hand, thats the true intension of my releasing the source, though of little usefulness at present.

  • 2 weeks later...

Hi Guys,

 

I have been reading all posts for last 3-4 months to get around my problem of getting on network. here are some details.

 

I have successfully installed Leopard 10.5.0 + later the 10.5.1 patch with original ToH image. My machine details are below:

 

Dell PowerEdge SC1430 with 2 Xeon 3.00 GHz CPUs, 4GB PC5300 FB-DIMM, ATI RN50 (ES1000) graphics, Broadcom 5750A1 ( BCM5750A1) Gigabit Ethernet Card, added Creative X-Fi Sound Card.

 

I just first want to get my machine on the network ....

 

I applied AppleBCM5701Ethernet.kext and patched string to my device id 1677 (correctly) .... My Network Adapter is not even detected on the PCI-X bus

 

The All Messages option in the Console Log shows below:

 

AppleBCM5701Ethernet:		  0			 0	getAdapterInfo - Broadcom 5701 ethernet card installed in a PCI-X bus: unsupported configuration
AppleBCM5701Ethernet:		  0			 0	start - getAdapterInfo failed, giving up
IOCommonGate::disable() called when not gated
Backtrace 0x41bed6 0x5da946aa 0x3e810c 0x3e81d9 0x4164af 0x4164e6 0x413c24
Kernel loadable modules in backtrace (with dependencies):
com.apple.iokit.AppleBCN5701Ethernet(2.2.3b1)@0c5da93000->0x5daa7fff
dependency: com.apple.iokit.IOPCIFamily(2.4)@0x54689000
dependency: com.apple.iokit.IONetworkingFamily(1.6.0)@0x5d62d000

 

I also created the link to com.apple.iokit.IONetworkingFamily and added device pci14e4,1677 into the Info.list

 

Anybody can help resolving this ????

 

Also, Is there a work around for ATI ES1000 (aka RN50) to get on higher resolutions ?

 

Thanks a lot in advance

  • 2 weeks later...

I have a Dell GX280 P4 2.8Ghz computer running the ToH install. I've overcome all hurdles except for the Broadcom NetXtreme Gigabit Ethernet (BCM5751). I'm running Leopard 10.5.1, ToH version x86_9A581_RC2. I'm new to OS X and don't know any of the inner-workings. I've read many,many forum posts and all have helped steer me to correcting small problems. I think I've followed all the correct steps in adding the AppleBCM5751Ethernet.kext and believe it's the correct file for my onboard nic. Under windows, the Hardware Ids is PCI\Ven_14E4&Dev_1677&Subsys_01791028&Rev_01. The chip is stamped on the top as a BCM5751. Below is a portion of my system.log. I hope it helps someone tell me which direction to proceed:

 

Dec 30 21:10:29 localhost kernel[0]: AppleBCM5751Ethernet: 1 1659 setPowerLevels - returning early, have a 5721. onoff=, fPciDeviceId=

Dec 30 21:10:29 localhost kernel[0]: AppleBCM5751Ethernet: 1d033441 669955aa CheckNVRam -- nvram does not start with magic constant

Dec 30 21:10:29 localhost kernel[0]: AppleBCM5751Ethernet: 0 0 getAdapterInfo - init/sanity check of nvram failed

Dec 30 21:10:29 localhost kernel[0]: AppleBCM5751Ethernet: 0 0 start - getAdapterInfo failed, giving up

Dec 30 21:10:29 localhost kernel[0]: IOCommandGate::disable() called when not gated

Dec 30 21:10:29 localhost kernel[0]: Backtrace 0x41bed6 0x1b02b64a 0x3e810c 0x3e81d9 0x4164af 0x4164e6 0x413c24

Dec 30 21:10:29 localhost kernel[0]: Kernel loadable modules in backtrace (with dependencies):

Dec 30 21:10:29 localhost kernel[0]: com.apple.iokit.AppleBCM5751Ethernet(2.1.0d21)@0x1b02a000->0x1b03efff

Dec 30 21:10:29 localhost kernel[0]: dependency: com.apple.iokit.IOPCIFamily(2.4)@0x1af05000

Dec 30 21:10:29 localhost kernel[0]: dependency: com.apple.iokit.IONetworkingFamily(1.6.0)@0x1b014000

Dec 30 21:10:29 localhost kernel[0]: IOCommandGate::disable() called when not gated

Dec 30 21:10:29 localhost kernel[0]: Backtrace 0x41bed6 0x1b02b64a 0x3e810c 0x3e81d9 0x4164af 0x4164e6 0x413c24

Dec 30 21:10:29 localhost kernel[0]: Kernel loadable modules in backtrace (with dependencies):

Dec 30 21:10:29 localhost kernel[0]: com.apple.iokit.AppleBCM5751Ethernet(2.1.0d21)@0x1b02a000->0x1b03efff

Dec 30 21:10:29 localhost kernel[0]: dependency: com.apple.iokit.IOPCIFamily(2.4)@0x1af05000

Dec 30 21:10:29 localhost kernel[0]: dependency: com.apple.iokit.IONetworkingFamily(1.6.0)@0x1b014000

Dec 30 21:10:29 localhost kernel[0]: Apple16X50ACPI1: Identified Serial Port on ACPI Device=COMA

Dec 30 21:10:29 localhost kernel[0]: Apple16X50UARTSync1: Detected 16550AF/C/CF FIFO=16 MaxBaud=115200

Dec 30 21:10:29 localhost kernel[0]: display: family specific matching fails

 

Another point to show how new I am to this... Where are the com.apple.iokit.AppleBCM5751Ethernet and related files located?

 

Any and all help is greatly appreciated.

Have you tried injecting the kext from 10.4.10 that works into leopard?

 

 

Hi Guys,

 

I have been reading all posts for last 3-4 months to get around my problem of getting on network. here are some details.

 

I have successfully installed Leopard 10.5.0 + later the 10.5.1 patch with original ToH image. My machine details are below:

 

Dell PowerEdge SC1430 with 2 Xeon 3.00 GHz CPUs, 4GB PC5300 FB-DIMM, ATI RN50 (ES1000) graphics, Broadcom 5750A1 ( BCM5750A1) Gigabit Ethernet Card, added Creative X-Fi Sound Card.

 

I just first want to get my machine on the network ....

 

I applied AppleBCM5701Ethernet.kext and patched string to my device id 1677 (correctly) .... My Network Adapter is not even detected on the PCI-X bus

 

The All Messages option in the Console Log shows below:

 

AppleBCM5701Ethernet:		  0			 0	getAdapterInfo - Broadcom 5701 ethernet card installed in a PCI-X bus: unsupported configuration
AppleBCM5701Ethernet:		  0			 0	start - getAdapterInfo failed, giving up
IOCommonGate::disable() called when not gated
Backtrace 0x41bed6 0x5da946aa 0x3e810c 0x3e81d9 0x4164af 0x4164e6 0x413c24
Kernel loadable modules in backtrace (with dependencies):
com.apple.iokit.AppleBCN5701Ethernet(2.2.3b1)@0c5da93000->0x5daa7fff
dependency: com.apple.iokit.IOPCIFamily(2.4)@0x54689000
dependency: com.apple.iokit.IONetworkingFamily(1.6.0)@0x5d62d000

 

I also created the link to com.apple.iokit.IONetworkingFamily and added device pci14e4,1677 into the Info.list

 

Anybody can help resolving this ????

 

Also, Is there a work around for ATI ES1000 (aka RN50) to get on higher resolutions ?

 

Thanks a lot in advance

Have you tried injecting the kext from 10.4.10 that works into leopard?

 

Guys, can we try not to hijack this thread with stuff regarding hacking the old driver?

 

This is to do with development of an entirely new one - possibly based on the linux or bsd drivers..

 

 

*volunteers for testing*

if you need i tester i'm here... send me a pm.. i have a dell xps 1330 with BCM5788

 

Count on me to help you testing.I have experience in debugging and developing under unix (specially Solaris).

 

I have a Dell d610 withn BCM5751 /id 1677

Count on me to help you testing.I have experience in debugging and developing under unix (specially Solaris).

 

I have a Dell d610 withn BCM5751 /id 1677

 

I suspect that help developing the driver would be even more appreciated :)

 

If I was able to, I would. Unfortunately that falls well outside my area of expertise..

May be I can help?

I have Broadcom 440X which is work with my compiled driver from opensource.apple.

All is good except

AppleBCM440XEthernet: Ethernet address 00:00:f0:78:c9:b7

bfe0: BUG! Timeout waiting for bit 00000002 of register 42c to clear.

I want to eliminate this bug.

  • 2 weeks later...
  • 2 weeks later...
×
×
  • Create New...