Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[3c90xutil] Update bromutil.c and cromutil.c.
bromutil.c has been updated with a command to "fix" 3c905B NICs
so that EEPROMs larger than 8K may be used.

cromutil.c has been replaced with an updated version that has been
included in etherboot-5.4 for some time now.

See README for usage.

Signed-off-by: Marty Connor <mdc@etherboot.org>
  • Loading branch information
thomil authored and Marty Connor committed Jan 14, 2010
1 parent dacc647 commit 90bffed
Show file tree
Hide file tree
Showing 5 changed files with 582 additions and 188 deletions.
2 changes: 1 addition & 1 deletion contrib/3c90xutil/Makefile
@@ -1,4 +1,4 @@
FILES = cromutil bromutil
FILES = cromutil ocromutil bromutil

INCLUDEDIR = /usr/include
CFLAGS = -O2 -fomit-frame-pointer -Wall -I$(INCLUDEDIR)
Expand Down
49 changes: 49 additions & 0 deletions contrib/3c90xutil/README
Expand Up @@ -8,6 +8,55 @@ with AT49BV512 Flash memory, and created cromutil and bromutil to
differentiate the versions. cromutil is for 3C905C and bromutil is
for 3C905B.

8.28.2005 I am adding a new version from Jorge L. deLyra that will
replace cromutil.c. I will rename cromutil.c to ocromutil.c

From: delyra@fma.if.usp.br
Subject: Improved version of cromutil.c.
Date: June 22, 2004 12:19:00 AM EDT
To: mdc@thinguin.org

Dear Marty,

Below you will find a new version of the cronutil.c program. Since
the changes were quite large I am sending the program rather than a patch.
I added support for 3C905CX cards with a page-mode super-flash EEPROM, and
included several informative messages, a programming progress report and a
detailed help message. I did all the tests I could with it and it seems to
work correctly for the 3C905CX with either type of EEPROM chip.

A question: is there a similar program for Intel eepro100 cards or for the
Intel or 3COM Gbit cards?
Cheers,

----------------------------------------------------------------
Jorge L. deLyra, Associate Professor of Physics
The University of Sao Paulo, IFUSP-DFMA
For more information: finger delyra@latt.if.usp.br
----------------------------------------------------------------

12/4/2009 The new cromutil version from Jorge L. deLyra can be found in
cromutil.c, whereas the old version can be found in ocromutil.c.

bromutil.c now supports enabling a bootrom workaround that was previously
implemented in the old 3c90x driver. Some 3c90xB cards refuse to load gPXE
after the ROM is burned. The gPXE banner is likely to appear, but gPXE will
crash soon after.
If this is the case try the following commands. It is assumed that you replace
0x6600 with the I/O address of your card which can be acquired with:
(look for a line like 'I/O ports at e400')
$ lspci -v

$ make
$ ./bromutil 0x6600 bootrom

This command will write into the settings EEPROM of the network card. In case
the network card shows any unexpected behavior it is possible to restore the
EEPROM settings with a 3COm provided tool called '3c90xcfg.exe'(google it for
mirrors).

-- Thomas Miletich

Be careful. You can easily erase your Flash memory using these
utilities. Make *sure* to back them up first using the "read"
command. You must "erase" before using "prog" to program the chip with
Expand Down

0 comments on commit 90bffed

Please sign in to comment.