[ipxe-devel] BMC 57765 on an iMac12,2
Sergio Ballestrero
Sergio.Ballestrero at cern.ch
Mon Jan 16 21:00:37 UTC 2012
Hello,
I have been trying to get an iMac(12,2) to boot with iPXE (because we install all of our Linux desktops with PXE+Kickstart and Macs are a painful exception).
Its on-board BMC57765 is happily working under Linux (SL5.7) with the tg3 drivers so I was hoping to have a chance with iPXE.
I have added the PCI ids to the tg3 sources :
diff --git a/src/drivers/net/tg3.c b/src/drivers/net/tg3.c
index e1562d4..90177b2 100644
--- a/src/drivers/net/tg3.c
+++ b/src/drivers/net/tg3.c
@@ -3408,6 +3408,7 @@ PCI_ROM(0x14e4, 0x169d, "tg3-5789", "Broadcom Tigon 3 5789", 0),
PCI_ROM(0x14e4, 0x16a6, "tg3-5702X", "Broadcom Tigon 3 5702X", 0),
PCI_ROM(0x14e4, 0x16a7, "tg3-5703X", "Broadcom Tigon 3 5703X", 0),
PCI_ROM(0x14e4, 0x16a8, "tg3-5704S", "Broadcom Tigon 3 5704S", 0),
+PCI_ROM(0x14e4, 0x16b4, "tg3-57765", "Broadcom Tigon 3 57765", 0),
PCI_ROM(0x14e4, 0x16c6, "tg3-5702A3", "Broadcom Tigon 3 5702A3", 0),
PCI_ROM(0x14e4, 0x16c7, "tg3-5703A3", "Broadcom Tigon 3 5703A3", 0),
PCI_ROM(0x14e4, 0x170d, "tg3-5901", "Broadcom Tigon 3 5901", 0),
But it seems like this is not sufficient, since the driver probe fails :
has mem a8400000 io 0 irq 11
device not enabled by BIOS! Updating PCI command 0006->0007
latency timer is unreasonably low at 0. Setting to 32.
phy probe failed, err -741097531
Problem fetching invariants of chip, aborting.
probe failed: No such device (http://ipxe.org/2c25403b)
[copied by hand]
so the question is, how big an effort do you think it could be to add support for the BCM57765?
Is it something that someone with a little experience of kernel drivers could do in a day, given some suggestions?
Thanks, and cheers,
Sergio
--
Sergio Ballestrero - http://physics.uj.ac.za/psiwiki/Ballestrero
University of Johannesburg, Physics Department
ATLAS TDAQ sysadmin group - Office:75282 OnCall:164851
More information about the ipxe-devel
mailing list