Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: via-rhine driver available




On 1/13/2000 3:22 AM asbund@gmx.de Stefan Bund wrote:
>mdc@thinguin.org (Marty Connor) writes:
>> It seems to work fine with my D-Link DFE530TX board.
>Ahhhmm... do you say, you can boot form EPROM or only from Disk with
>this driver. I failed to aktivate the EPROM on my DFE530TX.
>... Do you have a suggestion?   Stefan.

I just made a 27C256 EPROM, put it on my DFE530TX and booted with it.

You will need to edit "Makefile" in etherboot-4.4.4/src-32 to set the PCI 
signature of your card in two places:

First (near line 296):

# special case because we need to set the VENDOR and DEVICE IDs
# vendor id and device id are correct for Rhine-II only
via-rhine.rom:  config-via-rhine.o $(PRLOADER) $(STDDEPS)
        $(LD) $(LDFLAGS) -o $*.tmp $(START) config-$*.o $(BLIB) $(DLIB) 
$(LIBS)
        $(OBJCOPY) $*.tmp $*.bin
        cat $(PRLOADER) $*.bin > $@
#       ./makerom -p 0x1106,0x6100 -i$(IDENT) $@
        ./makerom -p 0x1106,0x3043 -i$(IDENT) $@

Second (Near Line 440):

# special case because we need to set the VENDOR and DEVICE IDs
# vendor id and device id are correct for Rhine-II only
via-rhine.lzrom:        config-via-rhine.o $(PRZLOADER) $(STDDEPS)
        $(LD) $(LDFLAGS) -o $*.tmp $(START) config-$*.o $(BLIB) $(DLIB) 
$(LIBS)
        $(OBJCOPY) $*.tmp $*.bin
        ./lzhuf e $*.bin $*.huf
        cat $(PRZLOADER) $*.huf > $@
#       ./makerom -p 0x1106,0x6100 -i$(IDENT) $@
        ./makerom -p 0x1106,0x3043 -i$(IDENT) $@

Then

   $ rm via-rhine.rom
   $ rm via-rhine.lzrom
   $ make via-rhine.lzrom

The Makefile comes with "0x1106,0x6100" as the PCI signature to burn into 
the .rom/.lzrom file.  You need to change it to "0x1106,0x3043" or your 
ROM will not be mapped and executed. (The reason the floppy works is that 
the BIOS doesn't check the lzrom file's signature, but just loads and 
executes the code.)

On my list of "things to do" is to figure out some easier mechanism to 
specify PCI signatures for clone cards.  

It would also be very useful to have a PCI Utility Program that listed 
PCI Signatures in the Etherboot distribution.  There is one available at:

   http://www.freshmeat.net/appindex/1998/04/20/893094449.html 

I suspect it would not take much space, and the PCI signature is (as you 
have found out) a crucial piece of information at ROM burning time.

Anyway, I hope this helps you out.

Regards,

Marty

---
   Name: Martin D. Connor
US Mail: Entity Cyber, Inc.; P.O. Box 391827; Cambridge, MA 02139; USA
  Voice: (617) 491-6935, Fax: (617) 491-7046 
  Email: mdc@thinguin.org
    Web: http://www.thinguin.org/


===========================================================================
This Mail was sent to netboot mailing list by:
Marty Connor <mdc@thinguin.org>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.