2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-04 18:44:36 +00:00
xNBA/contrib/3c90xutil
2005-05-17 16:44:57 +00:00
..
bromutil.c Initial revision 2005-05-17 16:44:57 +00:00
cromutil.c Initial revision 2005-05-17 16:44:57 +00:00
Makefile Initial revision 2005-05-17 16:44:57 +00:00
README Initial revision 2005-05-17 16:44:57 +00:00
romutil.txt Initial revision 2005-05-17 16:44:57 +00:00

This utility was apparently writen by John Finlay and came to me
via Richard Schroeder who got it from Greg Beeley. John, if you want
to be credited with your full address or whatever in the Etherboot
documentation, please contact me (Etherboot maintainer).

1/18/2000 Marty Connor (mdc@thinguin.org) added code for the 3C905C
with AT49BV512 Flash memory, and created cromutil and bromutil to
differentiate the versions.  cromutil is for 3C905C and bromutil is
for 3C905B.

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
Etherboot code.  This code comes with NO WARRANTY, and you take sole
responsibility and liability for whatever it does.  Read the
"romutil.txt" file for more information on commands.

That being said, if you are programming a 3C905C-TXM (for example)
you would do something like this:

    $ cd etherboot-x.x.x/contrib
    $ tar -zxvf n3c905xutil.tar.gz
    $ cd n3c905xutil
    $ make
    # replace 0x6600 with whatever the IO Addr for your card is!!!!
    $ ./cromutil 0x6600 read > 905cbackup.bin
    $ ./cromutil 0x6600 erase
    $ ./cromutil 0x6600 prog < 3c90x.lzrom

You should now have an Etherboot-enabled 3c905C-TXM.