====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
romburning:tg3 [2008/03/06 05:32] mcb30 Added device ID to the code; no point having this sort of thing in the wiki. |
romburning:tg3 [2008/03/06 07:28] (current) mcb30 |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== Preparing the ROM image ===== | ===== Preparing the ROM image ===== | ||
- | Copy the gPXE ROM image (e.g. //bin/pci_0e11_00ca.rom//) to a FAT-formatted floppy disk or USB drive. | + | Copy the gPXE ROM image (e.g. //bin/0e1100ca.rom//) to a FAT-formatted floppy disk or USB drive. |
===== Preparing the tools ===== | ===== Preparing the tools ===== | ||
- | Download the Broadcom Diagnostics Utility from [[http://www.broadcom.com/support/ethernet_nic/driver-sla.php?driver=570x-diag]]. Burn this image to CD using your favourite CD burning method. | + | Download the Broadcom Diagnostics Utility from [[http://www.broadcom.com/docs/driver_download/570x/B57udiag-10.53.iso]]. Burn this image to CD using your favourite CD burning method. |
===== Burning the gPXE ROM ===== | ===== Burning the gPXE ROM ===== | ||
- | Boot from the CD selecting option 1. | + | Boot from the CD and select the following sequence of options: |
- | At the next prompt choose the "Install to HD using FD setup" option, please note this won't actually install to your HDD without more confirmation | + | * "Continue to boot FreeDOS from CD-ROM" |
+ | * "Install to harddisk using FreeDOS setup" (which won't actually install anything to your hard disk) | ||
+ | * The language of your choice | ||
+ | * "Run FreeDOS from CD-ROM (return to command prompt)" | ||
- | At the next screen, choose your language, and then select "Run FreeDOS from CD ROM (return to command prompt)" | + | You should now see an //X:\>// prompt. Type: |
- | You should now have an X:\ prompt | + | cd \b57udiag |
+ | b57udiag -ver | ||
- | From here change your current working directory to X:\B57UDIAG\ | + | You should see something like: |
- | From here you will want to execute the following command | + | X:\>cd \b57udiag |
- | B67UDIAG.exe -ver | + | X:\B57UDIAG>b57udiag -ver |
+ | **************************************************** | ||
+ | Copyright(c) 2000-2007 Broadcom Corporation | ||
+ | Broadcom NetXtreme User Diagnostics 10.53 (07/27/07) | ||
+ | **************************************************** | ||
+ | C Brd:Rv Bus PCI Spd Base Irq EEP MAC Fmw Configuration | ||
+ | - ------- ------- --- --- ---- -- ---- ------------ ---------- ------------- | ||
+ | 0 5703:B0 05:04:0 32 33 FC50 11 128k 00110AE99C0B 5703-v.235 WMp,auto | ||
+ | 1 AC1K:B5 05:00:0 32 33 FF7F 9 4k 00095B1C29D9 2.5 auto | ||
- | You should see something like | + | This shows the list of Broadcom cards in the machine. Select the card that you wish to burn gPXE into, and identify its card number (from the left-hand "C" column in the listing). |
- | X:\B57UDIAG\>b57diag.exe -ver | + | To burn gPXE into the card, type: |
- | **************** | + | |
- | Copyright notice | + | |
- | *************** | + | |
- | C Brd:Rv Bus PCI Spd Base Irq EEP MAC Fmw Configuration | + | |
- | ---------------------------------------------------------------------------------------------------------------------- | + | |
- | 0 5703:B0 05:04:0 32 33 FC50 11 128K 012345567810 5703-v.235 WMp,auto | + | |
- | + | ||
- | This shows the list of broadcom cards in the machine. We in this case have only the one card. | + | |
- | We want to check the current payload in the card, so we need to run the following | + | |
+ | b57diag -c 0 -pxe c:\0e1100ca.rom | ||
- | X:\B57UDIAG\>b57diag.exe -c 0 -dir | + | where //-c 0// specifies the card number of the card that you wish to burn gPXE into, and //c:\0e1100ca.rom// is the path to the gPXE ROM image on your FAT-formatted floppy disk or USB drive. You should see something like: |
- | **************** | + | |
- | Copyright notice | + | |
- | *************** | + | |
- | C Brd:Rv Bus PCI Spd Base Irq EEP MAC Fmw Configuration | + | |
- | ---------------------------------------------------------------------------------------------------------------------- | + | |
- | 0 5703:B0 05:04:0 32 33 FC50 11 128K 012345567810 5703-v.235 WMp,auto | + | |
- | + | ||
- | 0 5703:B0 05:04:0 32 33 FC50 11 128K 012345567810 5703-v.235 WMp,auto | + | |
- | Entry Type SRAM Addr EEP Offset Length Execute Version | + | |
- | Bootcode 08003000 00000200 00001860 CPUE(2) 5703-v2.35 | + | |
- | 0 PXE 00010000 00001A60 0000EA04 no v73.67.80 | + | |
- | + | ||
- | This lists the current NRAM filesystem on the card. Please note the PXE rom on this card is already a gPXE rom, however the same process holds true for replacing the rom | + | |
- | In order to burn the rom we need to run the following | + | X:\B57UDIAG>b57udiag -c 0 -pxe c:\0e1100ca.rom |
- | A:\>b57diag.exe -c 0 -pxe c:\tg3-hp.rom | + | **************************************************** |
- | **************** | + | Copyright(c) 2000-2007 Broadcom Corporation |
- | Copyright notice | + | Broadcom NetXtreme User Diagnostics 10.53 (07/27/07) |
- | *************** | + | **************************************************** |
- | C Brd:Rv Bus PCI Spd Base Irq EEP MAC Fmw Configuration | + | C Brd:Rv Bus PCI Spd Base Irq EEP MAC Fmw Configuration |
- | ---------------------------------------------------------------------------------------------------------------------- | + | - ------- ------- --- --- ---- -- ---- ------------ ---------- ------------- |
- | 0 5703:B0 05:04:0 32 33 FC50 11 128K 012345567810 5703-v.235 WMp,auto | + | 0 5703:B0 05:04:0 32 33 FC50 11 128k 00110AE99C0B 5703-v.235 WMp,auto |
| | ||
- | 0 5703:B0 05:04:0 32 33 FC50 11 128K 012345567810 5703-v.235 WMp,auto | + | 0 5703:B0 05:04:0 32 33 FC50 11 128k 00110AE99C0B 5703-v.235 WMp,auto |
- | Updating PCI Rom Header with Vendor ID = 0x14e4 Device ID = 0x16c7 | + | |
Updating PXE-UNDI16 code (length = 59908 bytes ) ... | Updating PXE-UNDI16 code (length = 59908 bytes ) ... | ||
Programing 59908 bytes to NVRAM offset 00001A60 | Programing 59908 bytes to NVRAM offset 00001A60 | ||
- | <counter that ends at 59908 for my rom> | + | Updating Directory... |
- | Updating Directory | + | |
code len = 0000ea04 | code len = 0000ea04 | ||
sram_start_address = 00010000 | sram_start_address = 00010000 | ||
code_start_address = 00001a60 | code_start_address = 00001a60 | ||
Reading current NVRAM ... OK | Reading current NVRAM ... OK | ||
- | Programing... 512 | + | Programing : 512 |
- | | + | Totally 1 card(s) has been programmed. |
- | Totally 1 card(s) has been programmed | + | |
Reboot the machine and enter the BIOS setup. You should see gPXE show up as an option in your BIOS's boot selection menu. | Reboot the machine and enter the BIOS setup. You should see gPXE show up as an option in your BIOS's boot selection menu. | ||
Congratulations on successfully burning gPXE into your network card! | Congratulations on successfully burning gPXE into your network card! | ||
+ |